• Adam Jackson's avatar
    glx: Stop tracking hasUnflushedCommands · 3f569435
    Adam Jackson authored
    This is only meaningful for indirect contexts, and all it does is
    (maybe) prevent a flush when switching away from an indirect context.
    Indirect contexts aren't worth optimizing for, and Mesa tracks whether
    a flush is needed anyway.
    
    Careful readers will note that ReadPixels would reset the flag even
    though it doesn't imply a flush!
    Reviewed-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
    Signed-off-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
    3f569435
glxcmds.c 75.1 KB