Signed-off-by: Oliver McFadden <[email protected]>
CC: Chad Versace <[email protected]>
---
v3: split the unconditional DEBUG_PERF printing for Android into a separate
patch. The second patch doesn't necessarily need to be upstreamed; I'm open to
feedback here...
src/mesa/drivers/dri/intel/intel_context.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/mesa/drivers/dri/intel/intel_context.c
b/src/mesa/drivers/dri/intel/intel_context.c
index 204609e..e9c9839 100644
--- a/src/mesa/drivers/dri/intel/intel_context.c
+++ b/src/mesa/drivers/dri/intel/intel_context.c
@@ -744,6 +744,11 @@ intelInitContext(struct intel_context *intel,
intelInitExtensions(ctx);
INTEL_DEBUG = driParseDebugString(getenv("INTEL_DEBUG"), debug_control);
+
+#ifdef HAVE_ANDROID_PLATFORM
+ INTEL_DEBUG |= DEBUG_PERF;
+#endif
+
if (INTEL_DEBUG & DEBUG_BUFMGR)
dri_bufmgr_set_debug(intel->bufmgr, true);
--
1.7.8.6
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev