Chromium Code Reviews| 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 782 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 793 #endif | 793 #endif |
| 794 | 794 |
| 795 #ifndef GL_CA_LAYER_EDGE_BOTTOM_CHROMIUM | 795 #ifndef GL_CA_LAYER_EDGE_BOTTOM_CHROMIUM |
| 796 #define GL_CA_LAYER_EDGE_BOTTOM_CHROMIUM 0x4 | 796 #define GL_CA_LAYER_EDGE_BOTTOM_CHROMIUM 0x4 |
| 797 #endif | 797 #endif |
| 798 | 798 |
| 799 #ifndef GL_CA_LAYER_EDGE_TOP_CHROMIUM | 799 #ifndef GL_CA_LAYER_EDGE_TOP_CHROMIUM |
| 800 #define GL_CA_LAYER_EDGE_TOP_CHROMIUM 0x8 | 800 #define GL_CA_LAYER_EDGE_TOP_CHROMIUM 0x8 |
| 801 #endif | 801 #endif |
| 802 | 802 |
| 803 | |
|
ccameron
2016/04/13 19:32:27
extra line?
erikchen
2016/04/13 19:43:12
Done.
| |
| 803 #ifdef GL_GLEXT_PROTOTYPES | 804 #ifdef GL_GLEXT_PROTOTYPES |
| 804 GL_APICALL void GL_APIENTRY | 805 GL_APICALL void GL_APIENTRY |
| 805 glScheduleCALayerCHROMIUM(GLuint contents_texture_id, | 806 glScheduleCALayerCHROMIUM(GLuint contents_texture_id, |
| 806 const GLfloat* contents_rect, | 807 const GLfloat* contents_rect, |
| 807 GLfloat opacity, | 808 GLfloat opacity, |
| 808 GLuint background_color, | 809 GLuint background_color, |
| 809 GLuint edge_aa_mask, | 810 GLuint edge_aa_mask, |
| 810 const GLfloat* bounds_rect, | 811 const GLfloat* bounds_rect, |
| 811 GLboolean is_clipped, | 812 GLboolean is_clipped, |
| 812 const GLfloat* clip_rect, | 813 const GLfloat* clip_rect, |
| 813 GLint sorting_context_id, | 814 GLint sorting_context_id, |
| 814 const GLfloat* transform); | 815 const GLfloat* transform, |
| 816 GLuint filter); | |
| 815 #endif | 817 #endif |
| 816 typedef void(GL_APIENTRYP PFNGLSCHEDULECALAYERCHROMIUMPROC)( | 818 typedef void(GL_APIENTRYP PFNGLSCHEDULECALAYERCHROMIUMPROC)( |
| 817 GLuint contents_texture_id, | 819 GLuint contents_texture_id, |
| 818 const GLfloat* contents_rect, | 820 const GLfloat* contents_rect, |
| 819 GLfloat opacity, | 821 GLfloat opacity, |
| 820 GLuint background_color, | 822 GLuint background_color, |
| 821 GLuint edge_aa_mask, | 823 GLuint edge_aa_mask, |
| 822 const GLfloat* bounds_rect, | 824 const GLfloat* bounds_rect, |
| 823 GLboolean is_clipped, | 825 GLboolean is_clipped, |
| 824 const GLfloat* clip_rect, | 826 const GLfloat* clip_rect, |
| 825 GLint sorting_context_id, | 827 GLint sorting_context_id, |
| 826 const GLfloat* transform); | 828 const GLfloat* transform, |
| 829 GLuint filter); | |
| 827 #endif /* GL_CHROMIUM_schedule_ca_layer */ | 830 #endif /* GL_CHROMIUM_schedule_ca_layer */ |
| 828 | 831 |
| 829 /* GL_CHROMIUM_sync_query */ | 832 /* GL_CHROMIUM_sync_query */ |
| 830 #ifndef GL_CHROMIUM_sync_query | 833 #ifndef GL_CHROMIUM_sync_query |
| 831 #define GL_CHROMIUM_sync_query 1 | 834 #define GL_CHROMIUM_sync_query 1 |
| 832 | 835 |
| 833 #ifndef GL_COMMANDS_COMPLETED_CHROMIUM | 836 #ifndef GL_COMMANDS_COMPLETED_CHROMIUM |
| 834 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7 | 837 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7 |
| 835 #endif | 838 #endif |
| 836 #endif /* GL_CHROMIUM_sync_query */ | 839 #endif /* GL_CHROMIUM_sync_query */ |
| (...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1225 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components); | 1228 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components); |
| 1226 #endif | 1229 #endif |
| 1227 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332 | 1230 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332 |
| 1228 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */ | 1231 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */ |
| 1229 | 1232 |
| 1230 #ifdef __cplusplus | 1233 #ifdef __cplusplus |
| 1231 } | 1234 } |
| 1232 #endif | 1235 #endif |
| 1233 | 1236 |
| 1234 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ | 1237 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ |
| OLD | NEW |