| 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 793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 804 GL_APICALL void GL_APIENTRY | 804 GL_APICALL void GL_APIENTRY |
| 805 glScheduleCALayerCHROMIUM(GLuint contents_texture_id, | 805 glScheduleCALayerCHROMIUM(GLuint contents_texture_id, |
| 806 const GLfloat* contents_rect, | 806 const GLfloat* contents_rect, |
| 807 GLfloat opacity, | 807 GLfloat opacity, |
| 808 GLuint background_color, | 808 GLuint background_color, |
| 809 GLuint edge_aa_mask, | 809 GLuint edge_aa_mask, |
| 810 const GLfloat* bounds_rect, | 810 const GLfloat* bounds_rect, |
| 811 GLboolean is_clipped, | 811 GLboolean is_clipped, |
| 812 const GLfloat* clip_rect, | 812 const GLfloat* clip_rect, |
| 813 GLint sorting_context_id, | 813 GLint sorting_context_id, |
| 814 const GLfloat* transform); | 814 const GLfloat* transform, |
| 815 GLuint filter); |
| 815 #endif | 816 #endif |
| 816 typedef void(GL_APIENTRYP PFNGLSCHEDULECALAYERCHROMIUMPROC)( | 817 typedef void(GL_APIENTRYP PFNGLSCHEDULECALAYERCHROMIUMPROC)( |
| 817 GLuint contents_texture_id, | 818 GLuint contents_texture_id, |
| 818 const GLfloat* contents_rect, | 819 const GLfloat* contents_rect, |
| 819 GLfloat opacity, | 820 GLfloat opacity, |
| 820 GLuint background_color, | 821 GLuint background_color, |
| 821 GLuint edge_aa_mask, | 822 GLuint edge_aa_mask, |
| 822 const GLfloat* bounds_rect, | 823 const GLfloat* bounds_rect, |
| 823 GLboolean is_clipped, | 824 GLboolean is_clipped, |
| 824 const GLfloat* clip_rect, | 825 const GLfloat* clip_rect, |
| 825 GLint sorting_context_id, | 826 GLint sorting_context_id, |
| 826 const GLfloat* transform); | 827 const GLfloat* transform, |
| 828 GLuint filter); |
| 827 #endif /* GL_CHROMIUM_schedule_ca_layer */ | 829 #endif /* GL_CHROMIUM_schedule_ca_layer */ |
| 828 | 830 |
| 829 /* GL_CHROMIUM_sync_query */ | 831 /* GL_CHROMIUM_sync_query */ |
| 830 #ifndef GL_CHROMIUM_sync_query | 832 #ifndef GL_CHROMIUM_sync_query |
| 831 #define GL_CHROMIUM_sync_query 1 | 833 #define GL_CHROMIUM_sync_query 1 |
| 832 | 834 |
| 833 #ifndef GL_COMMANDS_COMPLETED_CHROMIUM | 835 #ifndef GL_COMMANDS_COMPLETED_CHROMIUM |
| 834 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7 | 836 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7 |
| 835 #endif | 837 #endif |
| 836 #endif /* GL_CHROMIUM_sync_query */ | 838 #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); | 1227 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components); |
| 1226 #endif | 1228 #endif |
| 1227 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332 | 1229 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332 |
| 1228 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */ | 1230 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */ |
| 1229 | 1231 |
| 1230 #ifdef __cplusplus | 1232 #ifdef __cplusplus |
| 1231 } | 1233 } |
| 1232 #endif | 1234 #endif |
| 1233 | 1235 |
| 1234 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ | 1236 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ |
| OLD | NEW |