Compatible GLX swap event fixes

Jesse Barnes jbarnes at virtuousgeek.org
Thu May 5 12:52:05 PDT 2011


On Thu, 5 May 2011 12:38:24 -0700
Jesse Barnes <jbarnes at virtuousgeek.org> wrote:

> This set is compatible with existing code bases since it adds a new
> struct to the glx and dri2 proto files instead of renaming existing
> fields.
> 
> New clients with old servers will see larger, but still broken, SBC
> values.  Old clients with new servers will see the same bad values they
> see today.  And new clients with new servers will see correct SBC
> values (yay).

Correction, new clients with old servers will generally see a 0 SBC
count; they're no longer reading a value beyond the 32 byte XEvent, and
old servers send the high 32 bits of the SBC count at the end.  So
they'll get 0 until the SBC exceeds 32 bits on the server side (which
will take a long time).

-- 
Jesse Barnes, Intel Open Source Technology Center


More information about the xorg-devel mailing list