From: Eric Anholt Date: Thu, 20 Jun 2013 22:58:25 +0000 (-0700) Subject: i915: Remove dead debug flags. X-Git-Tag: mesa-9.2.1~508 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=934974fba60b10f519ef26b943e350faca0abdf5;p=platform%2Fupstream%2Fmesa.git i915: Remove dead debug flags. Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/drivers/dri/i915/intel_context.c b/src/mesa/drivers/dri/i915/intel_context.c index c34c601..3c052f8 100644 --- a/src/mesa/drivers/dri/i915/intel_context.c +++ b/src/mesa/drivers/dri/i915/intel_context.c @@ -268,7 +268,6 @@ intel_viewport(struct gl_context *ctx, GLint x, GLint y, GLsizei w, GLsizei h) static const struct dri_debug_control debug_control[] = { { "tex", DEBUG_TEXTURE}, { "state", DEBUG_STATE}, - { "ioctl", DEBUG_IOCTL}, { "blit", DEBUG_BLIT}, { "mip", DEBUG_MIPTREE}, { "fall", DEBUG_PERF}, @@ -279,20 +278,11 @@ static const struct dri_debug_control debug_control[] = { { "reg", DEBUG_REGION}, { "fbo", DEBUG_FBO}, { "fs", DEBUG_WM }, - { "gs", DEBUG_GS}, { "sync", DEBUG_SYNC}, - { "prim", DEBUG_PRIMS }, - { "vert", DEBUG_VERTS }, { "dri", DEBUG_DRI }, - { "sf", DEBUG_SF }, { "stats", DEBUG_STATS }, { "wm", DEBUG_WM }, - { "urb", DEBUG_URB }, - { "vs", DEBUG_VS }, - { "clip", DEBUG_CLIP }, { "aub", DEBUG_AUB }, - { "no16", DEBUG_NO16 }, - { "blorp", DEBUG_BLORP }, { NULL, 0 } }; diff --git a/src/mesa/drivers/dri/i915/intel_context.h b/src/mesa/drivers/dri/i915/intel_context.h index 1b4798f..b44e7f6 100644 --- a/src/mesa/drivers/dri/i915/intel_context.h +++ b/src/mesa/drivers/dri/i915/intel_context.h @@ -366,7 +366,6 @@ extern int INTEL_DEBUG; #define DEBUG_TEXTURE 0x1 #define DEBUG_STATE 0x2 -#define DEBUG_IOCTL 0x4 #define DEBUG_BLIT 0x8 #define DEBUG_MIPTREE 0x10 #define DEBUG_PERF 0x20 @@ -375,20 +374,11 @@ extern int INTEL_DEBUG; #define DEBUG_BUFMGR 0x200 #define DEBUG_REGION 0x400 #define DEBUG_FBO 0x800 -#define DEBUG_GS 0x1000 #define DEBUG_SYNC 0x2000 -#define DEBUG_PRIMS 0x4000 -#define DEBUG_VERTS 0x8000 #define DEBUG_DRI 0x10000 -#define DEBUG_SF 0x20000 #define DEBUG_STATS 0x100000 #define DEBUG_WM 0x400000 -#define DEBUG_URB 0x800000 -#define DEBUG_VS 0x1000000 -#define DEBUG_CLIP 0x2000000 #define DEBUG_AUB 0x4000000 -#define DEBUG_BLORP 0x10000000 -#define DEBUG_NO16 0x20000000 #ifdef HAVE_ANDROID_PLATFORM #define LOG_TAG "INTEL-MESA"