meta: Add flag MESA_META_SELECT_FEEDBACK
authorChad Versace <chad@chad-versace.us>
Fri, 7 Oct 2011 22:07:00 +0000 (15:07 -0700)
committerChad Versace <chad@chad-versace.us>
Tue, 18 Oct 2011 18:42:53 +0000 (11:42 -0700)
commitc5f4024a793f1209b1693aed9a46be9374ba4741
treefa2a519116cbefbd524789c9a960e257361ca039
parentc56d0a61b97b29cec851df4cd385f095e3876848
meta: Add flag MESA_META_SELECT_FEEDBACK

If this flag is set, then _mesa_meta_begin/end will save/restore the state of
GL_SELECT and GL_FEEDBACK render modes.

Intel's future buffer resolve meta-ops will require this, since buffer resolves
may occur when the GL_RENDER_MODE is GL_SELECT.

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Chad Versace <chad@chad-versace.us>
src/mesa/drivers/common/meta.c
src/mesa/drivers/common/meta.h