summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri-vdpau.dyn
diff options
context:
space:
mode:
authorCharmaine Lee <[email protected]>2016-04-14 17:33:32 -0700
committerBrian Paul <[email protected]>2016-04-25 12:59:29 -0600
commitd7a6c1a4769774a0a86cc75090d5d3089f248a7d (patch)
tree293f352d62a79f46c27c5f1bfa29e25e0fd88320 /src/gallium/targets/dri-vdpau.dyn
parent23949cdf2c85637448d9df0b0b4be647ac722b3a (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/targets/dri-vdpau.dyn')
0 files changed, 0 insertions, 0 deletions