Index: gpu/GLES2/gl2extchromium.h |
diff --git a/gpu/GLES2/gl2extchromium.h b/gpu/GLES2/gl2extchromium.h |
index bb7371907376acd6df7d2326589dc8b810472162..bd04693404626509b5aca7b715a591e48d99bb94 100644 |
--- a/gpu/GLES2/gl2extchromium.h |
+++ b/gpu/GLES2/gl2extchromium.h |
@@ -1152,6 +1152,41 @@ typedef void(GL_APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENCHROMIUMPROC)( |
#endif /* GL_CHROMIUM_path_rendering */ |
+/* GL_EXT_blend_func_extended */ |
+#ifndef GL_EXT_blend_func_extended |
+#define GL_EXT_blend_func_extended 1 |
+ |
+#ifdef GL_GLEXT_PROTOTYPES |
+GL_APICALL void GL_APIENTRY glBindFragDataLocationIndexedEXT(GLuint program, |
+ GLuint colorNumber, |
+ GLuint index, |
+ const char* name); |
+GL_APICALL void GL_APIENTRY glBindFragDataLocationEXT(GLuint program, |
+ GLuint colorNumber, |
+ const char* name); |
+GL_APICALL GLint GL_APIENTRY glGetFragDataIndexEXT(GLuint program, |
+ const char* name); |
+#endif |
+ |
+typedef void(GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDEXT)( |
+ GLuint program, |
+ GLuint colorNumber, |
+ GLuint index, |
+ const char* name); |
+typedef void(GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONEXT)(GLuint program, |
+ GLuint colorNumber, |
+ const char* name); |
+typedef GLint(GL_APIENTRYP PFNGLGETFRAGDATAINDEXEXT)(GLuint program, |
+ const GLchar* name); |
+ |
+#define GL_SRC_ALPHA_SATURATE_EXT 0x0308 |
+#define GL_SRC1_ALPHA_EXT 0x8589 // OpenGL 1.5 token value |
+#define GL_SRC1_COLOR_EXT 0x88F9 |
+#define GL_ONE_MINUS_SRC1_COLOR_EXT 0x88FA |
+#define GL_ONE_MINUS_SRC1_ALPHA_EXT 0x88FB |
+#define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT 0x88FC |
+#endif /* GL_EXT_blend_func_extended */ |
+ |
#ifdef __cplusplus |
} |
#endif |