diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-09-11 16:01:17 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-09-11 16:01:17 -0600 |
commit | 09fbb3837b6aa5dfc6c94f41ab5443820177c569 (patch) | |
tree | 760ff57ac6a5fc503c41e9eb783fb82cb5a428e6 /src/mesa/pipe/softpipe/sp_context.h | |
parent | 5620d66e362acff99dbc748feec1da1e0f997288 (diff) |
Implement query object interface.
This replaces the temporary occlusion counter functions we had before.
Added new ctx->Driver.WaitQuery() function which should block until the result is ready.
Sketch out some code for vertex transformation feedback counters.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_context.h')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_context.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/pipe/softpipe/sp_context.h b/src/mesa/pipe/softpipe/sp_context.h index 2a6b932523..13d1143c89 100644 --- a/src/mesa/pipe/softpipe/sp_context.h +++ b/src/mesa/pipe/softpipe/sp_context.h @@ -94,6 +94,11 @@ struct softpipe_context { unsigned dirty; /* + * Active queries + */ + struct pipe_query_object *queries[PIPE_QUERY_TYPES]; + + /* * Mapped vertex buffers */ ubyte *mapped_vbuffer[PIPE_ATTRIB_MAX]; @@ -120,8 +125,6 @@ struct softpipe_context { /** Derived from scissor and surface bounds: */ struct pipe_scissor_state cliprect; - unsigned occlusion_counter; - unsigned line_stipple_counter; /** Software quad rendering pipeline */ |