Page Flipping and BackBuffering

Page flipping is key in multimedia,animation, and game software. Software page flipping is analogous to the way animation can be done with a pad of paper. On each page the artist changes the figure slightly, so that when you flip between sheets rapidly the drawingappears animated.

翻页是多媒体,动画和游戏软件的关键。软件翻页动画的实现与一叠纸快速翻页实现动画方式是类似的-------艺术家们让每一页纸与上一页纸的内容稍稍改变,所以,当你迅速翻转这一叠纸的时候,就会出现动画。

Page flipping in software is very similarto this process.

软件实现图像的翻页,与艺术家的方法非常类似。

The first surface is referred to as theprimary surface, and the surfaces behind it are called back buffers. Yourapplication writes to a back buffer, then flips the primary surface so that theback buffer appears on screen.

第一面被称为主表面,和它背后的表面被称为缓冲区。你的应用程序写入到后台缓冲区,然后翻转主表面,使后台缓冲区出现在​​屏幕上

While the system is displaying the image,your software is again writing to a back buffer. The process continues as longas you are animating, allowing you to animate images quickly and efficiently.

当系统显示的图像,app又可以将下一帧图像写入到后缓冲区了。这个处理过程一直持续,就可以再显示器上显示快速,高效的动画图像。

你可能感兴趣的:(Page Flipping and BackBuffering)