Skip to content
  • 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: default avatarEric Anholt <eric@anholt.net>
    Signed-off-by: default avatarAdam Jackson <ajax@redhat.com>
    3f569435