[Mesa-dev] [PATCH 0/9] Implement GLX_ARB_context_flush_control

Adam Jackson ajax at redhat.com
Tue May 12 08:54:41 PDT 2015


This is a rebase of Neil's work through patch 5.  6 through 8 wire the
extension through gallium and drisw.  Adding it to the gallium hardware
drivers would be similarly trivial.

The last patch hides some grossness with the protocol, where xserver
has to be taught about the new context attribute before it'll work.  In
this particular case I think it's harmless, glFlush typically doesn't
generate protocol for direct contexts so there's not really server-side
state that could be affected - except for front buffer rendering, but
if you're doing that _and_ relying on context switch to trigger flush
_and_ asking for a null-release context, you've already decided to set
yourself up to fail, so I have trouble caring.

However the server-side support is approximately trivial, so I'm fine
with just requiring that and not trying to hack around it in the client.

- ajax



More information about the mesa-dev mailing list