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 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
646 #ifndef GL_MAX_DRAW_BUFFERS_EXT | 646 #ifndef GL_MAX_DRAW_BUFFERS_EXT |
647 #define GL_MAX_DRAW_BUFFERS_EXT 0x8824 | 647 #define GL_MAX_DRAW_BUFFERS_EXT 0x8824 |
648 #endif | 648 #endif |
649 | 649 |
650 #endif /* GL_EXT_draw_buffers */ | 650 #endif /* GL_EXT_draw_buffers */ |
651 | 651 |
652 /* GL_CHROMIUM_resize */ | 652 /* GL_CHROMIUM_resize */ |
653 #ifndef GL_CHROMIUM_resize | 653 #ifndef GL_CHROMIUM_resize |
654 #define GL_CHROMIUM_resize 1 | 654 #define GL_CHROMIUM_resize 1 |
655 #ifdef GL_GLEXT_PROTOTYPES | 655 #ifdef GL_GLEXT_PROTOTYPES |
656 GL_APICALL void GL_APIENTRY glResizeCHROMIUM( | 656 GL_APICALL void GL_APIENTRY glResizeCHROMIUM(GLuint width, |
657 GLuint width, GLuint height, GLfloat scale_factor); | 657 GLuint height, |
| 658 GLfloat scale_factor, |
| 659 GLboolean alpha); |
658 #endif | 660 #endif |
659 typedef void (GL_APIENTRYP PFNGLRESIZECHROMIUMPROC) ( | 661 typedef void (GL_APIENTRYP PFNGLRESIZECHROMIUMPROC) ( |
660 GLuint width, GLuint height); | 662 GLuint width, GLuint height); |
661 #endif /* GL_CHROMIUM_resize */ | 663 #endif /* GL_CHROMIUM_resize */ |
662 | 664 |
663 /* GL_CHROMIUM_get_multiple */ | 665 /* GL_CHROMIUM_get_multiple */ |
664 #ifndef GL_CHROMIUM_get_multiple | 666 #ifndef GL_CHROMIUM_get_multiple |
665 #define GL_CHROMIUM_get_multiple 1 | 667 #define GL_CHROMIUM_get_multiple 1 |
666 #ifdef GL_GLEXT_PROTOTYPES | 668 #ifdef GL_GLEXT_PROTOTYPES |
667 GL_APICALL void GL_APIENTRY glGetProgramInfoCHROMIUM( | 669 GL_APICALL void GL_APIENTRY glGetProgramInfoCHROMIUM( |
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1161 #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_CHROMIUM 0x909C | 1163 #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_CHROMIUM 0x909C |
1162 #endif | 1164 #endif |
1163 | 1165 |
1164 #endif /* GL_CHROMIUM_path_rendering */ | 1166 #endif /* GL_CHROMIUM_path_rendering */ |
1165 | 1167 |
1166 #ifdef __cplusplus | 1168 #ifdef __cplusplus |
1167 } | 1169 } |
1168 #endif | 1170 #endif |
1169 | 1171 |
1170 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ | 1172 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ |
OLD | NEW |