| 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 GLenum target, GLint imageId); | 220 GLenum target, GLint imageId); |
| 221 GL_APICALL void GL_APIENTRY glReleaseTexImage2DCHROMIUM( | 221 GL_APICALL void GL_APIENTRY glReleaseTexImage2DCHROMIUM( |
| 222 GLenum target, GLint imageId); | 222 GLenum target, GLint imageId); |
| 223 #endif | 223 #endif |
| 224 typedef void (GL_APIENTRYP PFNGLBINDTEXIMAGE2DCHROMIUMPROC) ( | 224 typedef void (GL_APIENTRYP PFNGLBINDTEXIMAGE2DCHROMIUMPROC) ( |
| 225 GLenum target, GLint imageId); | 225 GLenum target, GLint imageId); |
| 226 typedef void (GL_APIENTRYP PFNGLRELEASETEXIMAGE2DCHROMIUMPROC) ( | 226 typedef void (GL_APIENTRYP PFNGLRELEASETEXIMAGE2DCHROMIUMPROC) ( |
| 227 GLenum target, GLint imageId); | 227 GLenum target, GLint imageId); |
| 228 #endif /* GL_CHROMIUM_texture_from_image */ | 228 #endif /* GL_CHROMIUM_texture_from_image */ |
| 229 | 229 |
| 230 /* GL_CHROMIUM_rate_limit_offscreen_context */ | |
| 231 #ifndef GL_CHROMIUM_rate_limit_offscreen_context | |
| 232 #define GL_CHROMIUM_rate_limit_offscreen_context 1 | |
| 233 #ifdef GL_GLEXT_PROTOTYPES | |
| 234 GL_APICALL void GL_APIENTRY glRateLimitOffscreenContextCHROMIUM(); | |
| 235 #endif | |
| 236 typedef void (GL_APIENTRYP PFNGLRATELIMITOFFSCREENCONTEXTCHROMIUMPROC) (); | |
| 237 #endif /* GL_CHROMIUM_rate_limit_offscreen_context */ | |
| 238 | |
| 239 /* GL_CHROMIUM_post_sub_buffer */ | 230 /* GL_CHROMIUM_post_sub_buffer */ |
| 240 #ifndef GL_CHROMIUM_post_sub_buffer | 231 #ifndef GL_CHROMIUM_post_sub_buffer |
| 241 #define GL_CHROMIUM_post_sub_buffer 1 | 232 #define GL_CHROMIUM_post_sub_buffer 1 |
| 242 #ifdef GL_GLEXT_PROTOTYPES | 233 #ifdef GL_GLEXT_PROTOTYPES |
| 243 GL_APICALL void GL_APIENTRY glPostSubBufferCHROMIUM( | 234 GL_APICALL void GL_APIENTRY glPostSubBufferCHROMIUM( |
| 244 GLint x, GLint y, GLint width, GLint height); | 235 GLint x, GLint y, GLint width, GLint height); |
| 245 #endif | 236 #endif |
| 246 typedef void (GL_APIENTRYP PFNGLPOSTSUBBUFFERCHROMIUMPROC) ( | 237 typedef void (GL_APIENTRYP PFNGLPOSTSUBBUFFERCHROMIUMPROC) ( |
| 247 GLint x, GLint y, GLint width, GLint height); | 238 GLint x, GLint y, GLint width, GLint height); |
| 248 #endif /* GL_CHROMIUM_post_sub_buffer */ | 239 #endif /* GL_CHROMIUM_post_sub_buffer */ |
| (...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 994 #define GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 0x90B9 | 985 #define GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 0x90B9 |
| 995 #endif | 986 #endif |
| 996 | 987 |
| 997 #endif /* GL_CHROMIUM_path_rendering */ | 988 #endif /* GL_CHROMIUM_path_rendering */ |
| 998 | 989 |
| 999 #ifdef __cplusplus | 990 #ifdef __cplusplus |
| 1000 } | 991 } |
| 1001 #endif | 992 #endif |
| 1002 | 993 |
| 1003 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ | 994 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ |
| OLD | NEW |