Chromium Code Reviews| Index: src/gpu/gl/GrGLDefines.h |
| diff --git a/src/gpu/gl/GrGLDefines.h b/src/gpu/gl/GrGLDefines.h |
| index 68d8da803061ba0782a578461d6791ff0f790c04..dc9468fd1ec102638e014f90d37d66fa0e9d4ca8 100644 |
| --- a/src/gpu/gl/GrGLDefines.h |
| +++ b/src/gpu/gl/GrGLDefines.h |
| @@ -302,7 +302,9 @@ |
| #define GR_GL_INT 0x1404 |
| #define GR_GL_UNSIGNED_INT 0x1405 |
| #define GR_GL_FLOAT 0x1406 |
| +#define GR_GL_HALF_FLOAT 0x140B |
| #define GR_GL_FIXED 0x140C |
| +#define GR_GL_HALF_FLOAT_OES 0x8D61 |
|
bsalomon
2014/12/05 20:21:27
ARGGHHHHH!
jvanverth1
2014/12/05 20:31:41
Yeah.
This is why my initial tests didn't work --
|
| /* Lighting */ |
| #define GR_GL_LIGHTING 0x0B50 |
| @@ -379,6 +381,8 @@ |
| #define GR_GL_ALPHA8 0x803C |
| #define GR_GL_R8 0x8229 |
| +#define GR_GL_R16F 0x822D |
| +#define GR_GL_ALPHA16F 0x881C |
| /* PixelType */ |
| /* GL_UNSIGNED_BYTE */ |