Mesa (master): svga: move svga_mark_surfaces_dirty() prototype to svga_surface.h
Brian Paul
brianp at kemper.freedesktop.org
Thu Nov 3 20:31:02 UTC 2016
Module: Mesa
Branch: master
Commit: 260d951486d3e1c4ced57b6692bcc0e1fd66d304
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=260d951486d3e1c4ced57b6692bcc0e1fd66d304
Author: Brian Paul <brianp at vmware.com>
Date: Tue Nov 1 08:19:42 2016 -0600
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(-)
diff --git a/src/gallium/drivers/svga/svga_context.h b/src/gallium/drivers/svga/svga_context.h
index 5eb7fc8..6c86ba5 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 d0ceab3..c51c0b2 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 18cb9c1..4315b1a 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);
More information about the mesa-commit
mailing list