| 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 791 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 802     GLint bounds_width, | 802     GLint bounds_width, | 
| 803     GLint bounds_height, | 803     GLint bounds_height, | 
| 804     GLfloat uv_x, | 804     GLfloat uv_x, | 
| 805     GLfloat uv_y, | 805     GLfloat uv_y, | 
| 806     GLfloat uv_width, | 806     GLfloat uv_width, | 
| 807     GLfloat uv_height); | 807     GLfloat uv_height); | 
| 808 #endif /* GL_CHROMIUM_schedule_overlay_plane */ | 808 #endif /* GL_CHROMIUM_schedule_overlay_plane */ | 
| 809 | 809 | 
| 810 #ifndef GL_CHROMIUM_schedule_ca_layer | 810 #ifndef GL_CHROMIUM_schedule_ca_layer | 
| 811 #define GL_CHROMIUM_schedule_ca_layer 1 | 811 #define GL_CHROMIUM_schedule_ca_layer 1 | 
|  | 812 | 
|  | 813 #ifndef GL_CA_LAYER_EDGE_LEFT_CHROMIUM | 
|  | 814 #define GL_CA_LAYER_EDGE_LEFT_CHROMIUM 0x1 | 
|  | 815 #endif | 
|  | 816 | 
|  | 817 #ifndef GL_CA_LAYER_EDGE_RIGHT_CHROMIUM | 
|  | 818 #define GL_CA_LAYER_EDGE_RIGHT_CHROMIUM 0x2 | 
|  | 819 #endif | 
|  | 820 | 
|  | 821 #ifndef GL_CA_LAYER_EDGE_BOTTOM_CHROMIUM | 
|  | 822 #define GL_CA_LAYER_EDGE_BOTTOM_CHROMIUM 0x4 | 
|  | 823 #endif | 
|  | 824 | 
|  | 825 #ifndef GL_CA_LAYER_EDGE_TOP_CHROMIUM | 
|  | 826 #define GL_CA_LAYER_EDGE_TOP_CHROMIUM 0x8 | 
|  | 827 #endif | 
|  | 828 | 
| 812 #ifdef GL_GLEXT_PROTOTYPES | 829 #ifdef GL_GLEXT_PROTOTYPES | 
| 813 GL_APICALL void GL_APIENTRY | 830 GL_APICALL void GL_APIENTRY | 
| 814 glScheduleCALayerCHROMIUM(GLuint contents_texture_id, | 831 glScheduleCALayerCHROMIUM(GLuint contents_texture_id, | 
| 815                           const GLfloat* contents_rect, | 832                           const GLfloat* contents_rect, | 
| 816                           GLfloat opacity, | 833                           GLfloat opacity, | 
| 817                           GLuint background_color, | 834                           GLuint background_color, | 
| 818                           const GLfloat* bounds_size, | 835                           GLuint edge_aa_mask, | 
|  | 836                           const GLfloat* bounds_rect, | 
|  | 837                           GLboolean is_clipped, | 
|  | 838                           const GLfloat* clip_rect, | 
|  | 839                           GLint sorting_context_id, | 
| 819                           const GLfloat* transform); | 840                           const GLfloat* transform); | 
| 820 #endif | 841 #endif | 
| 821 typedef void(GL_APIENTRYP PFNGLSCHEDULECALAYERCHROMIUMPROC)( | 842 typedef void(GL_APIENTRYP PFNGLSCHEDULECALAYERCHROMIUMPROC)( | 
| 822     GLuint contents_texture_id, | 843     GLuint contents_texture_id, | 
| 823     const GLfloat* contents_rect, | 844     const GLfloat* contents_rect, | 
| 824     GLfloat opacity, | 845     GLfloat opacity, | 
| 825     GLuint background_color, | 846     GLuint background_color, | 
| 826     const GLfloat* bounds_size, | 847     GLuint edge_aa_mask, | 
|  | 848     const GLfloat* bounds_rect, | 
|  | 849     GLboolean is_clipped, | 
|  | 850     const GLfloat* clip_rect, | 
|  | 851     GLint sorting_context_id, | 
| 827     const GLfloat* transform); | 852     const GLfloat* transform); | 
| 828 #endif /* GL_CHROMIUM_schedule_ca_layer */ | 853 #endif /* GL_CHROMIUM_schedule_ca_layer */ | 
| 829 | 854 | 
| 830 /* GL_CHROMIUM_sync_query */ | 855 /* GL_CHROMIUM_sync_query */ | 
| 831 #ifndef GL_CHROMIUM_sync_query | 856 #ifndef GL_CHROMIUM_sync_query | 
| 832 #define GL_CHROMIUM_sync_query 1 | 857 #define GL_CHROMIUM_sync_query 1 | 
| 833 | 858 | 
| 834 #ifndef GL_COMMANDS_COMPLETED_CHROMIUM | 859 #ifndef GL_COMMANDS_COMPLETED_CHROMIUM | 
| 835 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7 | 860 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7 | 
| 836 #endif | 861 #endif | 
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1216 #define GL_ONE_MINUS_SRC1_COLOR_EXT 0x88FA | 1241 #define GL_ONE_MINUS_SRC1_COLOR_EXT 0x88FA | 
| 1217 #define GL_ONE_MINUS_SRC1_ALPHA_EXT 0x88FB | 1242 #define GL_ONE_MINUS_SRC1_ALPHA_EXT 0x88FB | 
| 1218 #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT 0x88FC | 1243 #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT 0x88FC | 
| 1219 #endif /* GL_EXT_blend_func_extended */ | 1244 #endif /* GL_EXT_blend_func_extended */ | 
| 1220 | 1245 | 
| 1221 #ifdef __cplusplus | 1246 #ifdef __cplusplus | 
| 1222 } | 1247 } | 
| 1223 #endif | 1248 #endif | 
| 1224 | 1249 | 
| 1225 #endif  // GPU_GLES2_GL2EXTCHROMIUM_H_ | 1250 #endif  // GPU_GLES2_GL2EXTCHROMIUM_H_ | 
| OLD | NEW | 
|---|