summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/common/meta.h
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2011-12-19 14:28:32 -0800
committerPaul Berry <[email protected]>2011-12-20 15:22:28 -0800
commit163611d7b21670de6074c09d37bdf93bad494036 (patch)
treeb167151b0c469986f872ff3f0e63e800b680c531 /src/mesa/drivers/common/meta.h
parentdc7b6d7d6defdfe4f79fb682d3378a3bed8b5db9 (diff)
mesa: Add a function to query whether a meta-op is in progress.
This is needed by i965 to ensure that transform feedback counters are not incremented during meta-ops. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common/meta.h')
-rw-r--r--src/mesa/drivers/common/meta.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/common/meta.h b/src/mesa/drivers/common/meta.h
index 71981398492..d13796ebed0 100644
--- a/src/mesa/drivers/common/meta.h
+++ b/src/mesa/drivers/common/meta.h
@@ -69,6 +69,9 @@ _mesa_meta_begin(struct gl_context *ctx, GLbitfield state);
extern void
_mesa_meta_end(struct gl_context *ctx);
+extern GLboolean
+_mesa_meta_in_progress(struct gl_context *ctx);
+
extern void
_mesa_meta_BlitFramebuffer(struct gl_context *ctx,
GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,