diff options
author | Charmaine Lee <[email protected]> | 2017-04-25 14:31:04 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-04-26 11:37:59 -0600 |
commit | 7f2f695d4d6447bdaf70acda3cdae8aa43b6df3a (patch) | |
tree | 1e037f8581795cb39f844657880e2d1edbd1ab1a /src/gallium/drivers/svga/svga_resource_texture.h | |
parent | c6576461f5920971d7df74dcd821ac0e257fc352 (diff) |
svga: Update the backing resource only if needed
This patch adds a timestamp in svga_surface structure to keep track
of when the backing surface is last sync with the original resource.
This helps to avoid unnecessary surface copy from the original
resource to the backing surface if the original resource has not
since been modified.
This reduces the amount of surface copy with CinebenchR15.
Tested with CinebenchR15, mtt glretrace.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_resource_texture.h')
0 files changed, 0 insertions, 0 deletions