diff options
author | Brian Paul <brianp@vmware.com> | 2009-12-10 14:56:30 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-12-10 14:56:30 -0700 |
commit | 9509f73c2147a9e225b5ef69a646e5dd711573f5 (patch) | |
tree | f181e60199add67a95ad30f26482ca10b08f1e3a /src/gallium/drivers/llvmpipe/lp_rast_priv.h | |
parent | 9a6567f1ed88727545f747e8670b713f17627c94 (diff) |
llvmpipe: checkpoint: use empty/full bin queues
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast_priv.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_rast_priv.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast_priv.h b/src/gallium/drivers/llvmpipe/lp_rast_priv.h index 4e4f8b36a7..f174aa1505 100644 --- a/src/gallium/drivers/llvmpipe/lp_rast_priv.h +++ b/src/gallium/drivers/llvmpipe/lp_rast_priv.h @@ -95,10 +95,18 @@ struct lp_rasterizer boolean clipped_tile; boolean check_for_clipped_tiles; + /** The incoming queue of filled bins to rasterize */ struct lp_bins_queue *full_bins; + /** The outgoing queue of emptied bins to return to setup modulee */ struct lp_bins_queue *empty_bins; + pipe_mutex get_bin_mutex; + /** The bins currently being rasterized by the threads */ + struct lp_bins *curr_bins; + /** Counter to determine when all threads are done with current bin */ + unsigned release_count; + /* Framebuffer stuff */ struct pipe_screen *screen; |