| Home
| Previous
| Next
| Up

## Double buffering support

The following functions provide support for hardware double buffering on display devices that have two display buffers. Hardware double buffering is used to achieve flicker free animation, but drawing to a hidden portion of display memory and then instantly updating the screen by changing the visible display page to the previously hidden display page. You can also use the MGL_setDisplayStart function to scroll around within a hardware scrolling or panning device context. For combining hardware scrolling and double buffering, you can use MGL_setDisplayStart and MGL_setVisualPage together.

MGL_doubleBuffer | MGL_getActivePage
MGL_getCurrentScanLine | MGL_getDisplayStart
MGL_getVisualPage | MGL_isVSync
MGL_lockToFrameRate | MGL_setActivePage
MGL_setDisplayStart | MGL_setVisualPage
MGL_singleBuffer | MGL_swapBuffers
MGL_vSync |

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com