Re: [Mesa-dev] [PATCH] intel: Remove some unused debug flags.

2013-03-07 Thread Kenneth Graunke

On 03/06/2013 06:53 PM, Eric Anholt wrote:

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(-)


Hooray, more available bits!

Reviewed-by: Kenneth Graunke kenn...@whitecape.org
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [PATCH] intel: Remove some unused debug flags.

2013-03-06 Thread Eric Anholt
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_BUFMGR0x200
@@ -432,10 +431,7 @@ extern int INTEL_DEBUG;
 #define DEBUG_VERTS0x8000
 #define DEBUG_DRI   0x1
 #define DEBUG_SF0x2
-#define DEBUG_SANITY0x4
-#define DEBUG_SLEEP 0x8
 #define DEBUG_STATS 0x10
-#define DEBUG_TILE  0x20
 #define DEBUG_WM0x40
 #define DEBUG_URB   0x80
 #define DEBUG_VS0x100
-- 
1.7.10.4

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev