diff options
author | Brian Paul <[email protected]> | 2016-11-01 08:19:42 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-11-03 14:29:23 -0600 |
commit | 260d951486d3e1c4ced57b6692bcc0e1fd66d304 (patch) | |
tree | 388069520aa2a1151149c46c81808d9198db2031 /src/gallium | |
parent | c96f63cac2a6b7e60b515fccf2f7410615b94337 (diff) |
svga: move svga_mark_surfaces_dirty() prototype to svga_surface.h
Trivial.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/svga/svga_context.h | 10 | ||||
-rw-r--r-- | src/gallium/drivers/svga/svga_pipe_draw.c | 1 | ||||
-rw-r--r-- | src/gallium/drivers/svga/svga_surface.h | 3 |
3 files changed, 4 insertions, 10 deletions
diff --git a/src/gallium/drivers/svga/svga_context.h b/src/gallium/drivers/svga/svga_context.h index 5eb7fc87187..6c86ba53cdb 100644 --- a/src/gallium/drivers/svga/svga_context.h +++ b/src/gallium/drivers/svga/svga_context.h @@ -628,16 +628,6 @@ struct svga_context #define SVGA_NEW_TEXTURE_CONSTS 0x80000000 - - -/*********************************************************************** - * svga_screen_texture.c: - */ -void svga_mark_surfaces_dirty(struct svga_context *svga); - - - - void svga_init_state_functions( struct svga_context *svga ); void svga_init_flush_functions( struct svga_context *svga ); void svga_init_string_functions( struct svga_context *svga ); diff --git a/src/gallium/drivers/svga/svga_pipe_draw.c b/src/gallium/drivers/svga/svga_pipe_draw.c index d0ceab3e843..c51c0b27915 100644 --- a/src/gallium/drivers/svga/svga_pipe_draw.c +++ b/src/gallium/drivers/svga/svga_pipe_draw.c @@ -39,6 +39,7 @@ #include "svga_draw.h" #include "svga_shader.h" #include "svga_state.h" +#include "svga_surface.h" #include "svga_swtnl.h" #include "svga_debug.h" #include "svga_resource_buffer.h" diff --git a/src/gallium/drivers/svga/svga_surface.h b/src/gallium/drivers/svga/svga_surface.h index 18cb9c1869d..4315b1a1886 100644 --- a/src/gallium/drivers/svga/svga_surface.h +++ b/src/gallium/drivers/svga/svga_surface.h @@ -75,6 +75,9 @@ struct svga_surface }; +void +svga_mark_surfaces_dirty(struct svga_context *svga); + extern void svga_propagate_surface(struct svga_context *svga, struct pipe_surface *surf); |