summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_debug.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2016-06-08 13:24:14 +0200
committerNicolai Hähnle <[email protected]>2016-06-21 11:02:41 +0200
commit3735a925ef5692c836c4d26d6adee370dae1c2b0 (patch)
treeaa3f6c16245f34bab987305a454896ac566bf07c /src/mesa/state_tracker/st_debug.h
parenta571859fc446a9ba106ba4586603b5a01e7cc52a (diff)
st/mesa: cache staging texture for glReadPixels
v2: add ST_DEBUG flag for disabling (suggested by Ilia) Reviewed-by: Marek Olšák <[email protected]> (v1)
Diffstat (limited to 'src/mesa/state_tracker/st_debug.h')
-rw-r--r--src/mesa/state_tracker/st_debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_debug.h b/src/mesa/state_tracker/st_debug.h
index a094fdc2bfa..e14360937a9 100644
--- a/src/mesa/state_tracker/st_debug.h
+++ b/src/mesa/state_tracker/st_debug.h
@@ -51,6 +51,7 @@ st_print_current(void);
#define DEBUG_WIREFRAME 0x400
#define DEBUG_PRECOMPILE 0x800
#define DEBUG_GREMEDY 0x1000
+#define DEBUG_NOREADPIXCACHE 0x2000
#ifdef DEBUG
extern int ST_DEBUG;