Top-most windows

Deron Johnson Deron.Johnson at Sun.COM
Thu Jan 19 14:06:58 PST 2006



Soeren Sandmann wrote On 01/19/06 07:23,:

> I realized that you actually only need the grab during 
> RaiseWindow/SwapBuffers:
> 
> - Draw stuff
> - glFinish()
> - grab server
> - raise window
> - swap buffers
> - ungrab server
> 
> Which will only hold the grab for a very short amount of time.

This may be the case for a device which performs SwapBuffers using a
copy operation, but it doesn't deal with devices that do SwapBuffers by
changing a bit in the DID table (these are called "video flip" devices).
These types of devices use the window's clip shape even while drawing to
the back buffer.



More information about the xorg-arch mailing list