What does it mean by Page Flipping in computer graphics programming?

余生颓废 提交于 2019-12-23 16:27:35

问题


What does it mean by Page-Flipping?

Why do we need it in graphics programming?


回答1:


Page flipping refers to a technique for flicker-free graphics which has been with us for decades. Two different areas (pages) of computer RAM were mappable to the screen hardware, and one of them could be chosen to be visible at any given time with a very simple and instantaneous instruction to the hardware. So, frames would be rendered in the page which was at any time invisible, and then the hardware instruction would be issued to switch the visible page, making the newly rendered frame visible, and making the previously visible page invisible and available for rendering the next frame.




回答2:


often its too slow to draw directly on the screen, visually, you see the drawing. So you draw on one page while showing another. then when its ready to be shown you 'page flip' to the fully drawn page, then you can start drawing on another page.

Makes for smooth animation.



来源:https://stackoverflow.com/questions/8639408/what-does-it-mean-by-page-flipping-in-computer-graphics-programming

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!