diff options
author | Charmaine Lee <[email protected]> | 2017-03-22 12:45:11 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-04-07 13:46:43 -0600 |
commit | a08e3b88ab71b147145f60e56ce02392437c6866 (patch) | |
tree | 3ebed47432fa2a65d174e522e8ea084574c2a847 /src/gallium/drivers/svga/svga_surface.h | |
parent | 02c9bf2d54cc166882a10a5b54b14dda832b4ecd (diff) |
svga: add a reset flag to svga_propagate_surface()
The reset flag specifies if the dirty bit needs to be reset
after the surface is propagated to the texture. This is used
to make sure that the dirty bit is not reset and stay unset
before the surface is unbound.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_surface.h')
-rw-r--r-- | src/gallium/drivers/svga/svga_surface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_surface.h b/src/gallium/drivers/svga/svga_surface.h index 4315b1a1886..7cbb7671de4 100644 --- a/src/gallium/drivers/svga/svga_surface.h +++ b/src/gallium/drivers/svga/svga_surface.h @@ -79,7 +79,8 @@ void svga_mark_surfaces_dirty(struct svga_context *svga); extern void -svga_propagate_surface(struct svga_context *svga, struct pipe_surface *surf); +svga_propagate_surface(struct svga_context *svga, struct pipe_surface *surf, + boolean reset); void svga_propagate_rendertargets(struct svga_context *svga); |