[Mesa-dev] [PATCH] intel: Remove some unused debug flags.
Eric Anholt
eric at anholt.net
Wed Mar 6 18:53:54 PST 2013
I was looking at the list to see what might be interesting to document for
application developers, and it turns out some are completely dead.
---
src/mesa/drivers/dri/intel/intel_context.c | 4 ----
src/mesa/drivers/dri/intel/intel_context.h | 4 ----
2 files changed, 8 deletions(-)
diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c
index 9e508f7..7651b46 100644
--- a/src/mesa/drivers/dri/intel/intel_context.c
+++ b/src/mesa/drivers/dri/intel/intel_context.c
@@ -470,7 +470,6 @@ static const struct dri_debug_control debug_control[] = {
{ "mip", DEBUG_MIPTREE},
{ "fall", DEBUG_PERF},
{ "perf", DEBUG_PERF},
- { "verb", DEBUG_VERBOSE},
{ "bat", DEBUG_BATCH},
{ "pix", DEBUG_PIXEL},
{ "buf", DEBUG_BUFMGR},
@@ -483,10 +482,7 @@ static const struct dri_debug_control debug_control[] = {
{ "vert", DEBUG_VERTS },
{ "dri", DEBUG_DRI },
{ "sf", DEBUG_SF },
- { "san", DEBUG_SANITY },
- { "sleep", DEBUG_SLEEP },
{ "stats", DEBUG_STATS },
- { "tile", DEBUG_TILE },
{ "wm", DEBUG_WM },
{ "urb", DEBUG_URB },
{ "vs", DEBUG_VS },
diff --git a/src/mesa/drivers/dri/intel/intel_context.h b/src/mesa/drivers/dri/intel/intel_context.h
index 3d2d3ef..5a49603 100644
--- a/src/mesa/drivers/dri/intel/intel_context.h
+++ b/src/mesa/drivers/dri/intel/intel_context.h
@@ -420,7 +420,6 @@ extern int INTEL_DEBUG;
#define DEBUG_BLIT 0x8
#define DEBUG_MIPTREE 0x10
#define DEBUG_PERF 0x20
-#define DEBUG_VERBOSE 0x40
#define DEBUG_BATCH 0x80
#define DEBUG_PIXEL 0x100
#define DEBUG_BUFMGR 0x200
@@ -432,10 +431,7 @@ extern int INTEL_DEBUG;
#define DEBUG_VERTS 0x8000
#define DEBUG_DRI 0x10000
#define DEBUG_SF 0x20000
-#define DEBUG_SANITY 0x40000
-#define DEBUG_SLEEP 0x80000
#define DEBUG_STATS 0x100000
-#define DEBUG_TILE 0x200000
#define DEBUG_WM 0x400000
#define DEBUG_URB 0x800000
#define DEBUG_VS 0x1000000
--
1.7.10.4
More information about the mesa-dev
mailing list