summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_screen.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-05-02 23:54:42 +0100
committerJosé Fonseca <[email protected]>2010-05-03 00:13:36 +0100
commitb84590994c4261d85485357263146d5e3d8827eb (patch)
treeca379bcc851305ced4904dec4fac5993cc3e1f8a /src/gallium/drivers/svga/svga_screen.h
parent49e37469bdafe663fa08a5a446e44f3ede168a13 (diff)
svga: Remove the screen private context.
All affected operations have already been moved to context. More cleanup work can be done, in particular with the buffer transfers.
Diffstat (limited to 'src/gallium/drivers/svga/svga_screen.h')
-rw-r--r--src/gallium/drivers/svga/svga_screen.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/gallium/drivers/svga/svga_screen.h b/src/gallium/drivers/svga/svga_screen.h
index 9dc229b0a87..86ec89d88c1 100644
--- a/src/gallium/drivers/svga/svga_screen.h
+++ b/src/gallium/drivers/svga/svga_screen.h
@@ -60,14 +60,11 @@ struct svga_screen
boolean no_sampler_view;
} debug;
- /* The screen needs its own context */
- struct svga_winsys_context *swc;
- struct SVGACmdMemory *fifo;
-
unsigned texture_timestamp;
pipe_mutex tex_mutex;
- pipe_mutex swc_mutex; /* Protects the use of swc and dirty_buffers */
-
+
+ pipe_mutex swc_mutex; /* Used for buffer uploads */
+
struct svga_host_surface_cache cache;
};
@@ -83,7 +80,4 @@ struct svga_screen *
svga_screen(struct pipe_screen *screen);
#endif
-void svga_screen_flush( struct svga_screen *svga_screen,
- struct pipe_fence_handle **pfence );
-
#endif /* SVGA_SCREEN_H */