summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_context.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-07-13 09:25:57 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-07-13 09:25:57 -0600
commit563479552e2f491fb94e7fac5772f3c72cee962a (patch)
treecc9d7617d45b14d3ff9e2b1517f64fd2b4079eeb /src/mesa/pipe/softpipe/sp_context.h
parent676fcf0de270651311a6b812e98f2e71d7dae925 (diff)
Added basic occlusion counting
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_context.h')
-rw-r--r--src/mesa/pipe/softpipe/sp_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_context.h b/src/mesa/pipe/softpipe/sp_context.h
index 81d2b58cf9..38f2977bd8 100644
--- a/src/mesa/pipe/softpipe/sp_context.h
+++ b/src/mesa/pipe/softpipe/sp_context.h
@@ -115,6 +115,8 @@ struct softpipe_context {
*/
GLubyte stipple_masks[16][16];
+ GLuint occlusion_counter;
+
/** Software quad rendering pipeline */
struct {
struct quad_stage *polygon_stipple;
@@ -122,6 +124,7 @@ struct softpipe_context {
struct quad_stage *alpha_test;
struct quad_stage *stencil_test;
struct quad_stage *depth_test;
+ struct quad_stage *occlusion;
struct quad_stage *bufloop;
struct quad_stage *blend;
struct quad_stage *colormask;