double buffering
Brian Paul
brian.paul at tungstengraphics.com
Sun May 15 18:26:39 PDT 2005
Adam Jackson wrote:
> On Sunday 15 May 2005 18:21, Jon Smirl wrote:
>
>>We don't have a way to create a single vs double buffered surface
>
>
> You're right, EGL hides this in the native window system interface by saying
> that the Window you pass it has to have been created with the appropriate
> visual already. So either we need to expose this explicitly for screen
> surfaces by adding an enumerant to the EGL config list, or we need to just do
> the right thing behind the scenes and always create screen surfaces with both
> a front and a back buffer.
Perhaps we should define a new EGL extensions (or several) which
extends EGLContext with attributes such as single/double-buffering,
accum, aux buffers, etc?
That would be simple.
-Brian
More information about the dri-egl
mailing list