summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_rast.h
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-10-08 19:58:28 +0100
committerKeith Whitwell <keithw@vmware.com>2009-10-08 19:58:54 +0100
commit0718c7700533a965d7cd06b4f67b82bbae6e66a1 (patch)
treed8488e4608b36eb65e170e0e83e8a46c39281381 /src/gallium/drivers/llvmpipe/lp_rast.h
parent21489d2275ff556f6e44008d3f5493ca64619696 (diff)
llvmpipe: work on clears and coefficients
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast.h27
1 files changed, 8 insertions, 19 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.h b/src/gallium/drivers/llvmpipe/lp_rast.h
index 492e4b06ad..28bb0a60eb 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.h
+++ b/src/gallium/drivers/llvmpipe/lp_rast.h
@@ -101,27 +101,17 @@ struct lp_rast_triangle {
struct lp_rast_shader_inputs *inputs;
};
-struct clear_tile {
- boolean do_color;
- boolean do_depth_stencil;
- unsigned rgba;
- unsigned depth_stencil;
-};
-
-struct load_tile {
- boolean do_color;
- boolean do_depth_stencil;
-};
struct lp_rasterizer *lp_rast_create( void );
-void lp_rast_bind_surfaces( struct lp_rasterizer *,
- struct pipe_surface *cbuf,
- struct pipe_surface *zsbuf,
- const float *clear_color,
- double clear_depth,
- unsigned clear_stencil);
+void lp_rast_bind_color( struct lp_rasterizer *,
+ struct pipe_surface *cbuf,
+ boolean write_when_done );
+
+void lp_rast_bind_depth( struct lp_rasterizer *,
+ struct pipe_surface *zsbuf,
+ boolean write_when_done );
/* Begining of each tile:
*/
@@ -174,8 +164,7 @@ void lp_rast_store_zstencil( struct lp_rasterizer *,
/* End of tile:
*/
-void lp_rast_end_tile( struct lp_rasterizer *rast,
- boolean write_depth );
+void lp_rast_end_tile( struct lp_rasterizer *rast );
/* Shutdown:
*/