Mesa (master): intel: Remove some unused debug flags.

Eric Anholt anholt at kemper.freedesktop.org
Mon Mar 11 19:28:31 UTC 2013


Module: Mesa
Branch: master
Commit: f09a8e17e5a2d78c14d588db405e098b9b910a8a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f09a8e17e5a2d78c14d588db405e098b9b910a8a

Author: Eric Anholt <eric at anholt.net>
Date:   Tue Mar  5 16:24:07 2013 -0800

intel: Remove some unused debug flags.

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.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/mesa/drivers/dri/intel/intel_context.c |    4 ----
 src/mesa/drivers/dri/intel/intel_context.h |    4 ----
 2 files changed, 0 insertions(+), 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




More information about the mesa-commit mailing list