OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file contains Chromium-specific GLES2 extensions declarations. | 5 // This file contains Chromium-specific GLES2 extensions declarations. |
6 | 6 |
7 #ifndef GPU_GLES2_GL2EXTCHROMIUM_H_ | 7 #ifndef GPU_GLES2_GL2EXTCHROMIUM_H_ |
8 #define GPU_GLES2_GL2EXTCHROMIUM_H_ | 8 #define GPU_GLES2_GL2EXTCHROMIUM_H_ |
9 | 9 |
10 #include <GLES2/gl2.h> | 10 #include <GLES2/gl2.h> |
(...skipping 1134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1145 #endif | 1145 #endif |
1146 #ifndef GL_PATH_STENCIL_VALUE_MASK_CHROMIUM | 1146 #ifndef GL_PATH_STENCIL_VALUE_MASK_CHROMIUM |
1147 #define GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 0x90B9 | 1147 #define GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 0x90B9 |
1148 #endif | 1148 #endif |
1149 #ifndef GL_BOUNDING_BOX_OF_BOUNDING_BOXES_CHROMIUM | 1149 #ifndef GL_BOUNDING_BOX_OF_BOUNDING_BOXES_CHROMIUM |
1150 #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_CHROMIUM 0x909C | 1150 #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_CHROMIUM 0x909C |
1151 #endif | 1151 #endif |
1152 | 1152 |
1153 #endif /* GL_CHROMIUM_path_rendering */ | 1153 #endif /* GL_CHROMIUM_path_rendering */ |
1154 | 1154 |
| 1155 /* GL_EXT_blend_func_extended */ |
| 1156 #ifndef GL_EXT_blend_func_extended |
| 1157 #define GL_EXT_blend_func_extended 1 |
| 1158 |
| 1159 #ifdef GL_GLEXT_PROTOTYPES |
| 1160 GL_APICALL void GL_APIENTRY glBindFragDataLocationIndexedEXT(GLuint program, |
| 1161 GLuint colorNumber, |
| 1162 GLuint index, |
| 1163 const char* name); |
| 1164 GL_APICALL void GL_APIENTRY glBindFragDataLocationEXT(GLuint program, |
| 1165 GLuint colorNumber, |
| 1166 const char* name); |
| 1167 GL_APICALL GLint GL_APIENTRY glGetFragDataIndexEXT(GLuint program, |
| 1168 const char* name); |
| 1169 #endif |
| 1170 |
| 1171 typedef void(GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDEXT)( |
| 1172 GLuint program, |
| 1173 GLuint colorNumber, |
| 1174 GLuint index, |
| 1175 const char* name); |
| 1176 typedef void(GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONEXT)(GLuint program, |
| 1177 GLuint colorNumber, |
| 1178 const char* name); |
| 1179 typedef GLint(GL_APIENTRYP PFNGLGETFRAGDATAINDEXEXT)(GLuint program, |
| 1180 const GLchar* name); |
| 1181 |
| 1182 #define GL_SRC_ALPHA_SATURATE_EXT 0x0308 |
| 1183 #define GL_SRC1_ALPHA_EXT 0x8589 // OpenGL 1.5 token value |
| 1184 #define GL_SRC1_COLOR_EXT 0x88F9 |
| 1185 #define GL_ONE_MINUS_SRC1_COLOR_EXT 0x88FA |
| 1186 #define GL_ONE_MINUS_SRC1_ALPHA_EXT 0x88FB |
| 1187 #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT 0x88FC |
| 1188 #endif /* GL_EXT_blend_func_extended */ |
| 1189 |
1155 #ifdef __cplusplus | 1190 #ifdef __cplusplus |
1156 } | 1191 } |
1157 #endif | 1192 #endif |
1158 | 1193 |
1159 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ | 1194 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ |
OLD | NEW |