Index: include/gpu/gl/GrGLConfig.h |
diff --git a/include/gpu/gl/GrGLConfig.h b/include/gpu/gl/GrGLConfig.h |
index 444be00f158d26a912f0ae4b256e7a40a07d6b4e..842c303f3834a0b5d5a0326c9a43dc75ff3c963a 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 |