diff options
author | Charmaine Lee <[email protected]> | 2016-04-14 17:33:32 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-04-25 12:59:29 -0600 |
commit | d7a6c1a4769774a0a86cc75090d5d3089f248a7d (patch) | |
tree | 293f352d62a79f46c27c5f1bfa29e25e0fd88320 /src/gallium/auxiliary/pipebuffer | |
parent | 23949cdf2c85637448d9df0b0b4be647ac722b3a (diff) |
svga: minimize surface flush
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: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/pipebuffer')
0 files changed, 0 insertions, 0 deletions