summaryrefslogtreecommitdiff
path: root/lib/mesa/src/broadcom/common/v3d_debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/broadcom/common/v3d_debug.h')
-rw-r--r--lib/mesa/src/broadcom/common/v3d_debug.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/mesa/src/broadcom/common/v3d_debug.h b/lib/mesa/src/broadcom/common/v3d_debug.h
index bdb951854..d9f5255e2 100644
--- a/lib/mesa/src/broadcom/common/v3d_debug.h
+++ b/lib/mesa/src/broadcom/common/v3d_debug.h
@@ -54,10 +54,15 @@ extern uint32_t V3D_DEBUG;
#define V3D_DEBUG_PERF (1 << 10)
#define V3D_DEBUG_NORAST (1 << 11)
#define V3D_DEBUG_ALWAYS_FLUSH (1 << 12)
+#define V3D_DEBUG_CLIF (1 << 13)
#ifdef HAVE_ANDROID_PLATFORM
#define LOG_TAG "BROADCOM-MESA"
+#if ANDROID_API_LEVEL >= 26
+#include <log/log.h>
+#else
#include <cutils/log.h>
+#endif /* use log/log.h start from android 8 major version */
#ifndef ALOGW
#define ALOGW LOGW
#endif