intel: Add a INTEL_DEBUG=color option.

This will be used for color output in debug messages.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
Kenneth Graunke
2017-03-20 01:58:48 -07:00
parent 1fa432741c
commit 2b074bb7e5
3 changed files with 3 additions and 0 deletions

View File

@@ -79,6 +79,7 @@ extern uint64_t INTEL_DEBUG;
#define DEBUG_DO32 (1ull << 37)
#define DEBUG_NO_RBC (1ull << 38)
#define DEBUG_NO_HIZ (1ull << 39)
#define DEBUG_COLOR (1ull << 40)
#ifdef HAVE_ANDROID_PLATFORM
#define LOG_TAG "INTEL-MESA"