summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/common/meta.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-02-11 12:10:59 -0800
committerEric Anholt <[email protected]>2014-02-18 09:56:27 -0800
commit4e4a537ad55f61a25ec16de4a1812847ed2b39e2 (patch)
tree7773f9524c7a17285935d3c3ad6807313f705aac /src/mesa/drivers/common/meta.h
parentb3dcce65c9b400e8d658f672130c617d8ac84cc9 (diff)
meta: Push into desktop GL mode when doing meta operations.
This lets us simplify our shaders, and rely on GLES-prohibited functionality (like ARB_texture_multisample) when writing these driver-internal functions. 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 5470ca4433b..822bfa13d37 100644
--- a/src/mesa/drivers/common/meta.h
+++ b/src/mesa/drivers/common/meta.h
@@ -68,6 +68,9 @@ struct save_state
{
GLbitfield SavedState; /**< bitmask of MESA_META_* flags */
+ /* Always saved/restored with meta. */
+ gl_api API;
+
/** MESA_META_CLEAR (and others?) */
struct gl_query_object *CurrentOcclusionObject;