4be283f3a8
Also promotes the ATTRIBUTE_MATRIX flag that was local to cpp files to the public config file. Review URL: http://codereview.appspot.com/4434057/ git-svn-id: http://skia.googlecode.com/svn/trunk@1155 2bbb7eff-a529-9590-31e7-b0007b416f81
14 lines
389 B
C
14 lines
389 B
C
#ifndef GrGLConfig_chrome_DEFINED
|
|
#define GrGLConfig_chrome_DEFINED
|
|
|
|
// chrome always assumes BGRA
|
|
#define GR_GL_32BPP_COLOR_FORMAT GR_GL_BGRA
|
|
|
|
// glGetError() forces a sync with gpu process on chrome
|
|
#define GR_GL_CHECK_ERROR_START 0
|
|
|
|
// ANGLE creates a temp VB for vertex attributes not specified per-vertex.
|
|
#define GR_GL_NO_CONSTANT_ATTRIBUTES GR_WIN32_BUILD
|
|
|
|
#endif
|