diff options
Diffstat (limited to 'include/gpu/gl/GrGLConfig.h')
-rw-r--r-- | include/gpu/gl/GrGLConfig.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/gpu/gl/GrGLConfig.h b/include/gpu/gl/GrGLConfig.h index 444be00f15..842c303f38 100644 --- a/include/gpu/gl/GrGLConfig.h +++ b/include/gpu/gl/GrGLConfig.h @@ -93,6 +93,10 @@ * stencil formats as attachments. If the FBO is complete we will assume * subsequent attachments with the same formats are complete as well. * + * GR_GL_USE_NV_PATH_RENDERING: Enable experimental support for + * GL_NV_path_rendering. There are known issues with clipping, non-AA paths, and + * perspective. + * * GR_GL_MUST_USE_VBO: Indicates that all vertices and indices must be rendered * from VBOs. Chromium's command buffer doesn't allow glVertexAttribArray with * ARARY_BUFFER 0 bound or glDrawElements with ELEMENT_ARRAY_BUFFER 0 bound. @@ -154,6 +158,10 @@ #define GR_GL_CHECK_FBO_STATUS_ONCE_PER_FORMAT 0 #endif +#if !defined(GR_GL_USE_NV_PATH_RENDERING) + #define GR_GL_USE_NV_PATH_RENDERING 0 +#endif + #if !defined(GR_GL_MUST_USE_VBO) #define GR_GL_MUST_USE_VBO 0 #endif |