reed@google.com | bf858b7 | 2011-01-19 19:04:04 +0000 | [diff] [blame] | 1 | #ifndef GrGLConfig_chrome_DEFINED |
| 2 | #define GrGLConfig_chrome_DEFINED |
| 3 | |
reed@google.com | 664a843 | 2011-01-25 15:24:55 +0000 | [diff] [blame] | 4 | // chrome always assumes BGRA |
bsalomon@google.com | 4be283f | 2011-04-19 21:15:09 +0000 | [diff] [blame] | 5 | #define GR_GL_32BPP_COLOR_FORMAT GR_GL_BGRA |
reed@google.com | bf858b7 | 2011-01-19 19:04:04 +0000 | [diff] [blame] | 6 | |
bsalomon@google.com | 3723a48 | 2011-02-17 21:47:25 +0000 | [diff] [blame] | 7 | // glGetError() forces a sync with gpu process on chrome |
bsalomon@google.com | 4be283f | 2011-04-19 21:15:09 +0000 | [diff] [blame] | 8 | #define GR_GL_CHECK_ERROR_START 0 |
| 9 | |
| 10 | // ANGLE creates a temp VB for vertex attributes not specified per-vertex. |
| 11 | #define GR_GL_NO_CONSTANT_ATTRIBUTES GR_WIN32_BUILD |
bsalomon@google.com | 3723a48 | 2011-02-17 21:47:25 +0000 | [diff] [blame] | 12 | |
reed@google.com | bf858b7 | 2011-01-19 19:04:04 +0000 | [diff] [blame] | 13 | #endif |