Skip to content
  • Charmaine Lee's avatar
    svga: minimize surface flush · d7a6c1a4
    Charmaine Lee authored and Brian Paul's avatar Brian Paul committed
    
    
    Currently, we always do a surface flush when we try to establish
    a synchronized write transfer map. But if the subresource has not
    been modified, we can skip the surface flush. In other words,
    we only need to do a surface flush if the to-be-mapped subresource
    has been modified in this command buffer.
    
    With this patch, lightsmark2008 shows about 15% performance improvement.
    
    Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
    d7a6c1a4