diff options
author | Charmaine Lee <[email protected]> | 2017-04-04 13:02:45 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-04-07 13:46:43 -0600 |
commit | ab96d1baf40d67b4ea9e685e4f5ea5c90f77d269 (patch) | |
tree | 0305661984c2dc861479856a5eb9b22fbc96e783 /include | |
parent | a08e3b88ab71b147145f60e56ce02392437c6866 (diff) |
svga: Fix out-of-sync backing surface
When a backing surface is reused, it is possible that
the original surface has been changed. So before the backing surface
is bound again, we need to sync up the surface.
This patch creates a new helper function svga_texture_copy_handle_resource()
to sync up the backing surface resource.
This patch, together with the backing surface dirty bit fix, fixes
the rendering corruption in NobelClinicianViewer when rotating the model.
Also tested with MTT glretrace, piglit, Cinebench, Turbine.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions