diff options
author | Romain Guy <romainguy@google.com> | 2012-07-16 17:04:24 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2012-07-16 17:04:24 -0700 |
commit | 4121063313ac0d6f69f6253cac821d0c1c122086 (patch) | |
tree | b076706786610f6c87c275355b8853289cbfd0f7 /libs/hwui/Debug.h | |
parent | 157bd5749f40b0330fccf3ef159d922742103ef2 (diff) |
Add shader-based text gamma correction
To enable it, the system property ro.hwui.text_gamma_shader must be
set to true. For testing, DEBUG_FONT_RENDERER_FORCE_SHADER_GAMMA
can be set to 1 in libhwui/Debug.h.
Change-Id: If345c6b71b67ecf1ef2e8847b71f30f3ef251a27
Diffstat (limited to 'libs/hwui/Debug.h')
-rw-r--r-- | libs/hwui/Debug.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/hwui/Debug.h b/libs/hwui/Debug.h index 55a860ebc69b..13780c316669 100644 --- a/libs/hwui/Debug.h +++ b/libs/hwui/Debug.h @@ -65,6 +65,9 @@ // Turn on to enable additional debugging in the font renderers #define DEBUG_FONT_RENDERER 0 +// Force gamma correction in shaders +#define DEBUG_FONT_RENDERER_FORCE_SHADER_GAMMA 0 + // Turn on to dump display list state #define DEBUG_DISPLAY_LIST 0 |