Index: gpu/include/GrGLConfig.h |
=================================================================== |
--- gpu/include/GrGLConfig.h (revision 969) |
+++ gpu/include/GrGLConfig.h (working copy) |
@@ -99,50 +99,12 @@ |
// Windows where we match GDI's order). |
#ifndef GR_GL_32BPP_COLOR_FORMAT |
#if GR_WIN32_BUILD |
- #define GR_GL_32BPP_COLOR_FORMAT GR_BGRA //use GR prefix because this |
- #else //may be an extension. |
+ #define GR_GL_32BPP_COLOR_FORMAT GR_GL_BGRA |
+ #else |
#define GR_GL_32BPP_COLOR_FORMAT GR_GL_RGBA |
#endif |
#endif |
- |
- |
-// BGRA format |
-#define GR_BGRA 0x80E1 |
- |
-// FBO / stencil formats |
-#define GR_FRAMEBUFFER 0x8D40 |
-#define GR_FRAMEBUFFER_COMPLETE 0x8CD5 |
-#define GR_COLOR_ATTACHMENT0 0x8CE0 |
-#define GR_FRAMEBUFFER_BINDING 0x8CA6 |
-#define GR_RENDERBUFFER 0x8D41 |
-#define GR_STENCIL_ATTACHMENT 0x8D20 |
-#define GR_STENCIL_INDEX4 0x8D47 |
-#define GR_STENCIL_INDEX8 0x8D48 |
-#define GR_STENCIL_INDEX16 0x8D49 |
-#define GR_DEPTH24_STENCIL8 0x88F0 |
-#define GR_MAX_RENDERBUFFER_SIZE 0x84E8 |
-#define GR_DEPTH_STENCIL_ATTACHMENT 0x821A |
-#define GR_DEPTH_STENCIL 0x84F9 |
-#define GR_RGBA8 0x8058 |
-#define GR_RGB565 0x8D62 |
- |
- |
-// Multisampling |
- |
-// IMG MAX_SAMPLES uses a different value than desktop, Apple ES extension. |
-#define GR_MAX_SAMPLES 0x8D57 |
-#define GR_MAX_SAMPLES_IMG 0x9135 |
-#define GR_READ_FRAMEBUFFER 0x8CA8 |
-#define GR_DRAW_FRAMEBUFFER 0x8CA9 |
- |
-// Buffer mapping |
-#define GR_WRITE_ONLY 0x88B9 |
-#define GR_BUFFER_MAPPED 0x88BC |
- |
-// Palette texture |
-#define GR_PALETTE8_RGBA8 0x8B91 |
- |
//////////////////////////////////////////////////////////////////////////////// |
extern void GrGLCheckErr(const char* location, const char* call); |