diff options
author | Brian Paul <brianp@vmware.com> | 2009-12-09 12:22:12 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-12-09 12:22:12 -0700 |
commit | 88e62b33dc5ed4a4ab0c668e627c7e85991c74a1 (patch) | |
tree | 4ecd6b73e844784fccc19eaed707a9cebcd77918 /src/gallium/drivers/llvmpipe/lp_bin.h | |
parent | 7f457acabcbeea6a27b4f375f55e318fff52445f (diff) |
llvmpipe: more bin functions for create/destroy/queries
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bin.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_bin.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bin.h b/src/gallium/drivers/llvmpipe/lp_bin.h index b07ff64e62..c49b0264d6 100644 --- a/src/gallium/drivers/llvmpipe/lp_bin.h +++ b/src/gallium/drivers/llvmpipe/lp_bin.h @@ -120,6 +120,11 @@ struct lp_bins { +struct lp_bins *lp_bins_create(void); + +void lp_bins_destroy(struct lp_bins *bins); + + void lp_init_bins(struct lp_bins *bins); void lp_reset_bins(struct lp_bins *bins ); @@ -134,6 +139,10 @@ void lp_bin_new_data_block( struct data_block_list *list ); void lp_bin_new_cmd_block( struct cmd_block_list *list ); +unsigned lp_bin_data_size( const struct lp_bins *bins ); + +unsigned lp_bin_cmd_size( const struct lp_bins *bins, unsigned x, unsigned y ); + /** * Allocate space for a command/data in the bin's data buffer. |