summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_rast.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-12-04 15:31:09 -0700
committerBrian Paul <brianp@vmware.com>2009-12-04 15:31:09 -0700
commit01b1900084152dbacd4025a31ced25f75666ce59 (patch)
treee12b2923e76cfdaee179f0713689063409a53645 /src/gallium/drivers/llvmpipe/lp_rast.h
parentb533b56750aca8c7e8cb22af93a0fc2a0cfc0d97 (diff)
llvmpipe: reorganization of binning data structions and funtions
New lp_bins struct contains all bin information. More move bin-related code into lp_bin.[ch] Use new/updated bin-access functions to hide implementation details. The result is more/cleaner separation between the setup and rast components. This will make double-buffering of the bins easier, etc.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast.h21
1 files changed, 6 insertions, 15 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.h b/src/gallium/drivers/llvmpipe/lp_rast.h
index 3d2388b894..e623eafc9a 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.h
+++ b/src/gallium/drivers/llvmpipe/lp_rast.h
@@ -47,6 +47,7 @@
* individual function calls like this.
*/
struct lp_rasterizer;
+struct lp_bins;
struct cmd_bin;
struct pipe_screen;
@@ -133,22 +134,12 @@ struct lp_rasterizer *lp_rast_create( struct pipe_screen *screen );
void lp_rast_destroy( struct lp_rasterizer * );
+void lp_rasterize_bins( struct lp_rasterizer *rast,
+ struct lp_bins *bins,
+ unsigned tiles_x, unsigned tiles_y,
+ const struct pipe_framebuffer_state *fb,
+ bool write_depth );
-boolean lp_rast_begin( struct lp_rasterizer *rast,
- struct pipe_surface *cbuf,
- struct pipe_surface *zsbuf,
- boolean write_color,
- boolean write_zstencil,
- unsigned width,
- unsigned height );
-
-void
-lp_rasterize_bin( struct lp_rasterizer *rast,
- const struct cmd_bin *bin,
- int x, int y);
-
-
-void lp_rast_end( struct lp_rasterizer * );
union lp_rast_cmd_arg {