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 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
760 #endif | 760 #endif |
761 | 761 |
762 #ifndef GL_CA_LAYER_EDGE_BOTTOM_CHROMIUM | 762 #ifndef GL_CA_LAYER_EDGE_BOTTOM_CHROMIUM |
763 #define GL_CA_LAYER_EDGE_BOTTOM_CHROMIUM 0x4 | 763 #define GL_CA_LAYER_EDGE_BOTTOM_CHROMIUM 0x4 |
764 #endif | 764 #endif |
765 | 765 |
766 #ifndef GL_CA_LAYER_EDGE_TOP_CHROMIUM | 766 #ifndef GL_CA_LAYER_EDGE_TOP_CHROMIUM |
767 #define GL_CA_LAYER_EDGE_TOP_CHROMIUM 0x8 | 767 #define GL_CA_LAYER_EDGE_TOP_CHROMIUM 0x8 |
768 #endif | 768 #endif |
769 | 769 |
| 770 extern "C" struct GLCALayerFilterEffect; |
770 #ifdef GL_GLEXT_PROTOTYPES | 771 #ifdef GL_GLEXT_PROTOTYPES |
771 GL_APICALL void GL_APIENTRY | 772 GL_APICALL void GL_APIENTRY |
772 glScheduleCALayerSharedStateCHROMIUM(GLfloat opacity, | 773 glScheduleCALayerSharedStateCHROMIUM(GLfloat opacity, |
773 GLboolean is_clipped, | 774 GLboolean is_clipped, |
774 const GLfloat* clip_rect, | 775 const GLfloat* clip_rect, |
775 GLint sorting_context_id, | 776 GLint sorting_context_id, |
776 const GLfloat* transform); | 777 const GLfloat* transform); |
777 GL_APICALL void GL_APIENTRY | 778 GL_APICALL void GL_APIENTRY |
| 779 glScheduleCALayerFilterEffectsCHROMIUM(GLsizei count, |
| 780 const GLCALayerFilterEffect* effects); |
| 781 GL_APICALL void GL_APIENTRY |
778 glScheduleCALayerCHROMIUM(GLuint contents_texture_id, | 782 glScheduleCALayerCHROMIUM(GLuint contents_texture_id, |
779 const GLfloat* contents_rect, | 783 const GLfloat* contents_rect, |
780 GLuint background_color, | 784 GLuint background_color, |
781 GLuint edge_aa_mask, | 785 GLuint edge_aa_mask, |
782 const GLfloat* bounds_rect, | 786 const GLfloat* bounds_rect, |
783 GLuint filter); | 787 GLuint filter); |
784 GL_APICALL void GL_APIENTRY | 788 GL_APICALL void GL_APIENTRY |
785 glScheduleCALayerInUseQueryCHROMIUM(GLsizei count, const GLuint* textures); | 789 glScheduleCALayerInUseQueryCHROMIUM(GLsizei count, const GLuint* textures); |
786 #endif | 790 #endif |
787 typedef void(GL_APIENTRYP PFNGLSCHEDULECALAYERSHAREDSTATECHROMIUMPROC)( | 791 typedef void(GL_APIENTRYP PFNGLSCHEDULECALAYERSHAREDSTATECHROMIUMPROC)( |
788 GLfloat opacity, | 792 GLfloat opacity, |
789 GLboolean is_clipped, | 793 GLboolean is_clipped, |
790 const GLfloat* clip_rect, | 794 const GLfloat* clip_rect, |
791 GLint sorting_context_id, | 795 GLint sorting_context_id, |
792 const GLfloat* transform); | 796 const GLfloat* transform); |
| 797 typedef void(GL_APIENTRYP PFNGLSCHEDULECALAYERFILTEREFFECTSCHROMIUM)( |
| 798 GLsizei count, |
| 799 const GLCALayerFilterEffect* effects); |
793 typedef void(GL_APIENTRYP PFNGLSCHEDULECALAYERCHROMIUMPROC)( | 800 typedef void(GL_APIENTRYP PFNGLSCHEDULECALAYERCHROMIUMPROC)( |
794 GLuint contents_texture_id, | 801 GLuint contents_texture_id, |
795 const GLfloat* contents_rect, | 802 const GLfloat* contents_rect, |
796 GLuint background_color, | 803 GLuint background_color, |
797 GLuint edge_aa_mask, | 804 GLuint edge_aa_mask, |
798 const GLfloat* bounds_rect, | 805 const GLfloat* bounds_rect, |
799 GLuint filter); | 806 GLuint filter); |
800 typedef void(GL_APIENTRYP PFNGLSCHEDULECALAYERINUSEQUERYCHROMIUMPROC)( | 807 typedef void(GL_APIENTRYP PFNGLSCHEDULECALAYERINUSEQUERYCHROMIUMPROC)( |
801 GLsizei count, | 808 GLsizei count, |
802 const GLuint* textures); | 809 const GLuint* textures); |
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1201 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components); | 1208 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components); |
1202 #endif | 1209 #endif |
1203 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332 | 1210 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332 |
1204 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */ | 1211 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */ |
1205 | 1212 |
1206 #ifdef __cplusplus | 1213 #ifdef __cplusplus |
1207 } | 1214 } |
1208 #endif | 1215 #endif |
1209 | 1216 |
1210 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ | 1217 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ |
OLD | NEW |