Page flipping, wait for vsync

Brian Paul brian.paul at tungstengraphics.com
Mon Jun 20 18:22:53 PDT 2005


Jon Smirl wrote:
> Should page flipping and wait for vsync be covered?
> 
> To page flip you would set a different surface to the screen. There
> should be a note that if the mode is the identical it should not be
> reset.
> 
> To coordinate you need a call that will wait for vsync without spinning.
> 
> Or should page flipping be hidden inside the double buffered config?

I would think that page flipping would be handled in eglSwapBuffers() 
when using double-buffering.

As for vsync, see the EGL spec's discussion of eglSwapInterval() in 
section 3.9.3.

-Brian


More information about the dri-egl mailing list