mesa: Add a function to query whether a meta-op is in progress.
authorPaul Berry <stereotype441@gmail.com>
Mon, 19 Dec 2011 22:28:32 +0000 (14:28 -0800)
committerPaul Berry <stereotype441@gmail.com>
Tue, 20 Dec 2011 23:22:28 +0000 (15:22 -0800)
commit163611d7b21670de6074c09d37bdf93bad494036
treeb167151b0c469986f872ff3f0e63e800b680c531
parentdc7b6d7d6defdfe4f79fb682d3378a3bed8b5db9
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 <kenneth@whitecape.org>
src/mesa/drivers/common/meta.c
src/mesa/drivers/common/meta.h