i965: Delete the intel_regions.c code.
[mesa.git] / src / mesa / drivers / dri / i965 / intel_debug.h
index 718d95b1da5fbe67803e2958565514a13d03d886..6402cec80d8f0d56d24f8884e24e70a4a4b2ff66 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2003 Tungsten Graphics, Inc., Cedar Park, Texas.
+ * Copyright 2003 VMware, Inc.
  * Copyright © 2007 Intel Corporation
  *
  * Permission is hereby granted, free of charge, to any person obtaining
  * list of debugging flags, as well as some macros for handling them.
  */
 
-extern int INTEL_DEBUG;
+extern uint64_t 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
+#define DEBUG_PERFMON     0x40
 #define DEBUG_BATCH       0x80
 #define DEBUG_PIXEL       0x100
 #define DEBUG_BUFMGR      0x200
-#define DEBUG_REGION      0x400
 #define DEBUG_FBO         0x800
 #define DEBUG_GS          0x1000
 #define DEBUG_SYNC       0x2000
@@ -70,7 +69,7 @@ extern int INTEL_DEBUG;
 #endif
 #define dbg_printf(...)        ALOGW(__VA_ARGS__)
 #else
-#define dbg_printf(...)        printf(__VA_ARGS__)
+#define dbg_printf(...)        fprintf(stderr, __VA_ARGS__)
 #endif /* HAVE_ANDROID_PLATFORM */
 
 #define DBG(...) do {                                          \