| reed@google.com | bf858b7 | 2011-01-19 19:04:04 +0000 | [diff] [blame^] | 1 | #ifndef GrGLConfig_chrome_DEFINED |
| 2 | #define GrGLConfig_chrome_DEFINED | ||||
| 3 | |||||
| 4 | #define GR_SUPPORT_GLES2 1 | ||||
| 5 | |||||
| 6 | // gl2ext.h will define these extensions macros but Chrome doesn't provide | ||||
| 7 | // prototypes. | ||||
| 8 | #define GL_OES_mapbuffer 0 | ||||
| 9 | #define GL_IMG_multisampled_render_to_texture 0 | ||||
| 10 | |||||
| 11 | #include <GLES2/gl2.h> | ||||
| 12 | #include <GLES2/gl2ext.h> | ||||
| 13 | |||||
| 14 | #define GR_GL_FUNC | ||||
| 15 | |||||
| 16 | #define GR_GL_PROC_ADDRESS(X) &X | ||||
| 17 | //#define GR_GL_PROC_ADDRESS_HEADER | ||||
| 18 | |||||
| 19 | #endif | ||||