• Adam Jackson's avatar
    glx: Implement GLX_ARB_context_flush_control · 995ff114
    Adam Jackson authored
    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's avatarJames Jones <jajones@nvidia.com>
    Signed-off-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
    995ff114
glxcmds.c 75.7 KB