aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/gl
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-04-06 18:06:10 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-04-06 18:06:10 +0000
commit6995068c5ade6e179d2af82caddb0c1cd6f433b6 (patch)
tree661091dc664281379e0b3ad5bd7132cc81560bf5 /include/gpu/gl
parent022976554c32b9b1561774553d6c1868c62d9dcf (diff)
Initial version of R8 support
Diffstat (limited to 'include/gpu/gl')
-rw-r--r--include/gpu/gl/GrGLDefines.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gpu/gl/GrGLDefines.h b/include/gpu/gl/GrGLDefines.h
index 3697d604cb..22685105ba 100644
--- a/include/gpu/gl/GrGLDefines.h
+++ b/include/gpu/gl/GrGLDefines.h
@@ -296,6 +296,8 @@
#define GR_GL_PALETTE8_RGBA8 0x8B96
#define GR_GL_ALPHA8 0x803C
+#define GR_GL_R8 0x8229
+
/* PixelType */
/* GL_UNSIGNED_BYTE */
#define GR_GL_UNSIGNED_SHORT_4_4_4_4 0x8033