Re: [RFC] GLX_INTEL_swap_event

2009-11-16 Thread Jesse Barnes
On Mon, 16 Nov 2009 13:25:01 -0800 Ian Romanick wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jesse Barnes wrote: > > On Mon, 16 Nov 2009 11:51:31 -0800 > > Ian Romanick wrote: > > > >> All X events are 32 bytes, but GLX_BUFFER_SWAP_COMPLETE_INTEL is 34 > >> bytes. Perhaps the

Re: [RFC] GLX_INTEL_swap_event

2009-11-16 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jesse Barnes wrote: > On Mon, 16 Nov 2009 11:51:31 -0800 > Ian Romanick wrote: > >> All X events are 32 bytes, but GLX_BUFFER_SWAP_COMPLETE_INTEL is 34 >> bytes. Perhaps the SBC could be only 4-bytes? Having more than 2**32 >> buffers swaps seems u

Re: [RFC] GLX_INTEL_swap_event

2009-11-16 Thread Jesse Barnes
On Mon, 16 Nov 2009 11:51:31 -0800 Ian Romanick wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jesse Barnes wrote: > > Kristian, Chris and I met with some of the Clutter/Mutter developers > > last week and came up with a new GLX extension to help GLX integrate > > more naturally in

Re: [RFC] GLX_INTEL_swap_event

2009-11-16 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jesse Barnes wrote: > Kristian, Chris and I met with some of the Clutter/Mutter developers > last week and came up with a new GLX extension to help GLX integrate > more naturally into glib style event loops: > http://people.freedesktop.org/~jbarnes/swa

[RFC] GLX_INTEL_swap_event

2009-11-16 Thread Jesse Barnes
Kristian, Chris and I met with some of the Clutter/Mutter developers last week and came up with a new GLX extension to help GLX integrate more naturally into glib style event loops: http://people.freedesktop.org/~jbarnes/swapbufferevent.txt The basic idea is that glXSwapBuffers should be asynchron