Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(508)

Side by Side Diff: gpu/GLES2/gl2extchromium.h

Issue 1309743005: command_buffer: Implement EXT_blend_func_extended (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-05-path-fragment-input-gen
Patch Set: address review comments Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1143 matching lines...) Expand 10 before | Expand all | Expand 10 after
1154 #endif 1154 #endif
1155 #ifndef GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 1155 #ifndef GL_PATH_STENCIL_VALUE_MASK_CHROMIUM
1156 #define GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 0x90B9 1156 #define GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 0x90B9
1157 #endif 1157 #endif
1158 #ifndef GL_BOUNDING_BOX_OF_BOUNDING_BOXES_CHROMIUM 1158 #ifndef GL_BOUNDING_BOX_OF_BOUNDING_BOXES_CHROMIUM
1159 #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_CHROMIUM 0x909C 1159 #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_CHROMIUM 0x909C
1160 #endif 1160 #endif
1161 1161
1162 #endif /* GL_CHROMIUM_path_rendering */ 1162 #endif /* GL_CHROMIUM_path_rendering */
1163 1163
1164 /* GL_EXT_blend_func_extended */
1165 #ifndef GL_EXT_blend_func_extended
1166 #define GL_EXT_blend_func_extended 1
1167
1168 #ifdef GL_GLEXT_PROTOTYPES
1169 GL_APICALL void GL_APIENTRY glBindFragDataLocationIndexedEXT(GLuint program,
1170 GLuint colorNumber,
1171 GLuint index,
1172 const char* name);
1173 GL_APICALL void GL_APIENTRY glBindFragDataLocationEXT(GLuint program,
1174 GLuint colorNumber,
1175 const char* name);
1176 GL_APICALL GLint GL_APIENTRY glGetFragDataIndexEXT(GLuint program,
1177 const char* name);
1178 #endif
1179
1180 typedef void(GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDEXT)(
1181 GLuint program,
1182 GLuint colorNumber,
1183 GLuint index,
1184 const char* name);
1185 typedef void(GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONEXT)(GLuint program,
1186 GLuint colorNumber,
1187 const char* name);
1188 typedef GLint(GL_APIENTRYP PFNGLGETFRAGDATAINDEXEXT)(GLuint program,
1189 const GLchar* name);
1190
1191 #define GL_SRC_ALPHA_SATURATE_EXT 0x0308
1192 #define GL_SRC1_ALPHA_EXT 0x8589 // OpenGL 1.5 token value
1193 #define GL_SRC1_COLOR_EXT 0x88F9
1194 #define GL_ONE_MINUS_SRC1_COLOR_EXT 0x88FA
1195 #define GL_ONE_MINUS_SRC1_ALPHA_EXT 0x88FB
1196 #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT 0x88FC
1197 #endif /* GL_EXT_blend_func_extended */
1198
1164 #ifdef __cplusplus 1199 #ifdef __cplusplus
1165 } 1200 }
1166 #endif 1201 #endif
1167 1202
1168 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 1203 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698