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 1225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1236 const GLchar* name); | 1236 const GLchar* name); |
1237 | 1237 |
1238 #define GL_SRC_ALPHA_SATURATE_EXT 0x0308 | 1238 #define GL_SRC_ALPHA_SATURATE_EXT 0x0308 |
1239 #define GL_SRC1_ALPHA_EXT 0x8589 // OpenGL 1.5 token value | 1239 #define GL_SRC1_ALPHA_EXT 0x8589 // OpenGL 1.5 token value |
1240 #define GL_SRC1_COLOR_EXT 0x88F9 | 1240 #define GL_SRC1_COLOR_EXT 0x88F9 |
1241 #define GL_ONE_MINUS_SRC1_COLOR_EXT 0x88FA | 1241 #define GL_ONE_MINUS_SRC1_COLOR_EXT 0x88FA |
1242 #define GL_ONE_MINUS_SRC1_ALPHA_EXT 0x88FB | 1242 #define GL_ONE_MINUS_SRC1_ALPHA_EXT 0x88FB |
1243 #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT 0x88FC | 1243 #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT 0x88FC |
1244 #endif /* GL_EXT_blend_func_extended */ | 1244 #endif /* GL_EXT_blend_func_extended */ |
1245 | 1245 |
| 1246 #ifndef GL_CHROMIUM_framebuffer_mixed_samples |
| 1247 #define GL_CHROMIUM_framebuffer_mixed_samples 1 |
| 1248 typedef void(GL_APIENTRYP PFNGLCOVERAGEMODULATIONCHROMIUMPROC)( |
| 1249 GLenum components); |
| 1250 #ifdef GL_GLEXT_PROTOTYPES |
| 1251 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components); |
| 1252 #endif |
| 1253 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332 |
| 1254 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */ |
| 1255 |
1246 #ifdef __cplusplus | 1256 #ifdef __cplusplus |
1247 } | 1257 } |
1248 #endif | 1258 #endif |
1249 | 1259 |
1250 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ | 1260 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ |
OLD | NEW |