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

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: rebase Created 5 years 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
« no previous file with comments | « gpu/GLES2/gl2chromium_autogen.h ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1151 matching lines...) Expand 10 before | Expand all | Expand 10 after
1162 #endif 1162 #endif
1163 #ifndef GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 1163 #ifndef GL_PATH_STENCIL_VALUE_MASK_CHROMIUM
1164 #define GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 0x90B9 1164 #define GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 0x90B9
1165 #endif 1165 #endif
1166 #ifndef GL_BOUNDING_BOX_OF_BOUNDING_BOXES_CHROMIUM 1166 #ifndef GL_BOUNDING_BOX_OF_BOUNDING_BOXES_CHROMIUM
1167 #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_CHROMIUM 0x909C 1167 #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_CHROMIUM 0x909C
1168 #endif 1168 #endif
1169 1169
1170 #endif /* GL_CHROMIUM_path_rendering */ 1170 #endif /* GL_CHROMIUM_path_rendering */
1171 1171
1172
1172 #ifndef GL_EXT_multisample_compatibility 1173 #ifndef GL_EXT_multisample_compatibility
1173 #define GL_EXT_multisample_compatibility 1 1174 #define GL_EXT_multisample_compatibility 1
1174 #define GL_MULTISAMPLE_EXT 0x809D 1175 #define GL_MULTISAMPLE_EXT 0x809D
1175 #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F 1176 #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
1176 #endif /* GL_EXT_multisample_compatiblity */ 1177 #endif /* GL_EXT_multisample_compatiblity */
1177 1178
1179 #ifndef GL_EXT_blend_func_extended
1180 #define GL_EXT_blend_func_extended 1
1181
1182 #ifdef GL_GLEXT_PROTOTYPES
1183 GL_APICALL void GL_APIENTRY glBindFragDataLocationIndexedEXT(GLuint program,
1184 GLuint colorNumber,
1185 GLuint index,
1186 const char* name);
1187 GL_APICALL void GL_APIENTRY glBindFragDataLocationEXT(GLuint program,
1188 GLuint colorNumber,
1189 const char* name);
1190 GL_APICALL GLint GL_APIENTRY glGetFragDataIndexEXT(GLuint program,
1191 const char* name);
1192 #endif
1193
1194 typedef void(GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDEXT)(
1195 GLuint program,
1196 GLuint colorNumber,
1197 GLuint index,
1198 const char* name);
1199 typedef void(GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONEXT)(GLuint program,
1200 GLuint colorNumber,
1201 const char* name);
1202 typedef GLint(GL_APIENTRYP PFNGLGETFRAGDATAINDEXEXT)(GLuint program,
1203 const GLchar* name);
1204
1205 #define GL_SRC_ALPHA_SATURATE_EXT 0x0308
1206 #define GL_SRC1_ALPHA_EXT 0x8589 // OpenGL 1.5 token value
1207 #define GL_SRC1_COLOR_EXT 0x88F9
1208 #define GL_ONE_MINUS_SRC1_COLOR_EXT 0x88FA
1209 #define GL_ONE_MINUS_SRC1_ALPHA_EXT 0x88FB
1210 #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT 0x88FC
1211 #endif /* GL_EXT_blend_func_extended */
1212
1178 #ifdef __cplusplus 1213 #ifdef __cplusplus
1179 } 1214 }
1180 #endif 1215 #endif
1181 1216
1182 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 1217 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2chromium_autogen.h ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698