aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_rast_priv.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-10-09 14:29:25 +0100
committerKeith Whitwell <[email protected]>2009-10-09 14:29:25 +0100
commite0e2008f1dcd73a59a184e0ef4c1dd77ac2a1cbf (patch)
tree5797aebf8466e77f78515f7a3cd1a8eefa1584d8 /src/gallium/drivers/llvmpipe/lp_rast_priv.h
parent295aea04895676aae5b67a7016c62bab8e40b996 (diff)
llvmpipe: trivial/clear works
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast_priv.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast_priv.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast_priv.h b/src/gallium/drivers/llvmpipe/lp_rast_priv.h
index f5a6699ed42..eae8138aaf1 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast_priv.h
+++ b/src/gallium/drivers/llvmpipe/lp_rast_priv.h
@@ -30,6 +30,8 @@
#include "lp_rast.h"
+struct pipe_transfer;
+struct pipe_screen;
/* We can choose whatever layout for the internal tile storage we
* prefer:
@@ -49,7 +51,6 @@ struct lp_rasterizer {
*/
struct lp_rast_tile tile;
-
unsigned x;
unsigned y;
boolean clipped_tile;
@@ -57,7 +58,13 @@ struct lp_rasterizer {
boolean check_for_clipped_tiles;
unsigned width;
unsigned height;
-
+
+ struct pipe_screen *screen;
+ struct pipe_transfer *cbuf_transfer;
+ struct pipe_transfer *zsbuf_transfer;
+ void *cbuf_map;
+ void *zsbuf_map;
+
struct {
struct pipe_surface *cbuf;
struct pipe_surface *zsbuf;