From 260d951486d3e1c4ced57b6692bcc0e1fd66d304 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 1 Nov 2016 08:19:42 -0600 Subject: svga: move svga_mark_surfaces_dirty() prototype to svga_surface.h Trivial. --- src/gallium/drivers/svga/svga_context.h | 10 ---------- src/gallium/drivers/svga/svga_pipe_draw.c | 1 + src/gallium/drivers/svga/svga_surface.h | 3 +++ 3 files changed, 4 insertions(+), 10 deletions(-) (limited to 'src/gallium/drivers') 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); -- cgit v1.2.3