| 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 751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 #ifdef GL_GLEXT_PROTOTYPES | 770 #ifdef GL_GLEXT_PROTOTYPES |
| 771 GL_APICALL void GL_APIENTRY | 771 GL_APICALL void GL_APIENTRY |
| 772 glScheduleCALayerSharedStateCHROMIUM(GLfloat opacity, |
| 773 GLboolean is_clipped, |
| 774 const GLfloat* clip_rect, |
| 775 GLint sorting_context_id, |
| 776 const GLfloat* transform); |
| 777 GL_APICALL void GL_APIENTRY |
| 772 glScheduleCALayerCHROMIUM(GLuint contents_texture_id, | 778 glScheduleCALayerCHROMIUM(GLuint contents_texture_id, |
| 773 const GLfloat* contents_rect, | 779 const GLfloat* contents_rect, |
| 774 GLfloat opacity, | |
| 775 GLuint background_color, | 780 GLuint background_color, |
| 776 GLuint edge_aa_mask, | 781 GLuint edge_aa_mask, |
| 777 const GLfloat* bounds_rect, | 782 const GLfloat* bounds_rect, |
| 778 GLboolean is_clipped, | |
| 779 const GLfloat* clip_rect, | |
| 780 GLint sorting_context_id, | |
| 781 const GLfloat* transform, | |
| 782 GLuint filter); | 783 GLuint filter); |
| 783 GL_APICALL void GL_APIENTRY | 784 GL_APICALL void GL_APIENTRY |
| 784 glScheduleCALayerInUseQueryCHROMIUM(GLsizei count, const GLuint* textures); | 785 glScheduleCALayerInUseQueryCHROMIUM(GLsizei count, const GLuint* textures); |
| 785 #endif | 786 #endif |
| 787 typedef void(GL_APIENTRYP PFNGLSCHEDULECALAYERSHAREDSTATECHROMIUMPROC)( |
| 788 GLfloat opacity, |
| 789 GLboolean is_clipped, |
| 790 const GLfloat* clip_rect, |
| 791 GLint sorting_context_id, |
| 792 const GLfloat* transform); |
| 786 typedef void(GL_APIENTRYP PFNGLSCHEDULECALAYERCHROMIUMPROC)( | 793 typedef void(GL_APIENTRYP PFNGLSCHEDULECALAYERCHROMIUMPROC)( |
| 787 GLuint contents_texture_id, | 794 GLuint contents_texture_id, |
| 788 const GLfloat* contents_rect, | 795 const GLfloat* contents_rect, |
| 789 GLfloat opacity, | |
| 790 GLuint background_color, | 796 GLuint background_color, |
| 791 GLuint edge_aa_mask, | 797 GLuint edge_aa_mask, |
| 792 const GLfloat* bounds_rect, | 798 const GLfloat* bounds_rect, |
| 793 GLboolean is_clipped, | |
| 794 const GLfloat* clip_rect, | |
| 795 GLint sorting_context_id, | |
| 796 const GLfloat* transform, | |
| 797 GLuint filter); | 799 GLuint filter); |
| 798 typedef void(GL_APIENTRYP PFNGLSCHEDULECALAYERINUSEQUERYCHROMIUMPROC)( | 800 typedef void(GL_APIENTRYP PFNGLSCHEDULECALAYERINUSEQUERYCHROMIUMPROC)( |
| 799 GLsizei count, | 801 GLsizei count, |
| 800 const GLuint* textures); | 802 const GLuint* textures); |
| 801 #endif /* GL_CHROMIUM_schedule_ca_layer */ | 803 #endif /* GL_CHROMIUM_schedule_ca_layer */ |
| 802 | 804 |
| 803 /* GL_CHROMIUM_sync_query */ | 805 /* GL_CHROMIUM_sync_query */ |
| 804 #ifndef GL_CHROMIUM_sync_query | 806 #ifndef GL_CHROMIUM_sync_query |
| 805 #define GL_CHROMIUM_sync_query 1 | 807 #define GL_CHROMIUM_sync_query 1 |
| 806 | 808 |
| (...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1199 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components); | 1201 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components); |
| 1200 #endif | 1202 #endif |
| 1201 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332 | 1203 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332 |
| 1202 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */ | 1204 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */ |
| 1203 | 1205 |
| 1204 #ifdef __cplusplus | 1206 #ifdef __cplusplus |
| 1205 } | 1207 } |
| 1206 #endif | 1208 #endif |
| 1207 | 1209 |
| 1208 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ | 1210 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ |
| OLD | NEW |