glx: Implement GLX_ARB_context_flush_control
This extension allows clients to opt out of the implicit glFlush on context release, which is quite nice for performance for clients using multiple contexts. The server doesn't really need to be aware of the client's decision, at least for direct contexts, but it does need to not reject the context attribute out of hand. This patch won't do anything unless built against a Mesa that defines the __DRI2_FLUSH_CONTROL extension (and a new enough glxext.h, but that's been there since 10.3 at least). Reviewed-by:James Jones <jajones@nvidia.com> Signed-off-by:
Adam Jackson <ajax@redhat.com>
Showing
Please register or sign in to comment