| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 GLsizei height, | 104 GLsizei height, |
| 105 GLenum internalformat); | 105 GLenum internalformat); |
| 106 typedef void ( | 106 typedef void ( |
| 107 GL_APIENTRYP PFNGLDESTROYIMAGECHROMIUMPROC)(GLuint image_id); | 107 GL_APIENTRYP PFNGLDESTROYIMAGECHROMIUMPROC)(GLuint image_id); |
| 108 #endif /* GL_CHROMIUM_image */ | 108 #endif /* GL_CHROMIUM_image */ |
| 109 | 109 |
| 110 /* GL_CHROMIUM_gpu_memory_buffer_image */ | 110 /* GL_CHROMIUM_gpu_memory_buffer_image */ |
| 111 #ifndef GL_CHROMIUM_gpu_memory_buffer_image | 111 #ifndef GL_CHROMIUM_gpu_memory_buffer_image |
| 112 #define GL_CHROMIUM_gpu_memory_buffer_image 1 | 112 #define GL_CHROMIUM_gpu_memory_buffer_image 1 |
| 113 | 113 |
| 114 #ifndef GL_BGR |
| 115 #define GL_BGR 0x80E0 |
| 116 #endif |
| 117 |
| 114 #ifndef GL_READ_WRITE_CHROMIUM | 118 #ifndef GL_READ_WRITE_CHROMIUM |
| 115 #define GL_READ_WRITE_CHROMIUM 0x78F2 | 119 #define GL_READ_WRITE_CHROMIUM 0x78F2 |
| 116 #endif | 120 #endif |
| 117 | 121 |
| 118 #ifndef GL_RGB_YUV_420_CHROMIUM | 122 #ifndef GL_RGB_YUV_420_CHROMIUM |
| 119 #define GL_RGB_YUV_420_CHROMIUM 0x78FA | 123 #define GL_RGB_YUV_420_CHROMIUM 0x78FA |
| 120 #endif | 124 #endif |
| 121 | 125 |
| 122 #ifndef GL_RGB_YCBCR_422_CHROMIUM | 126 #ifndef GL_RGB_YCBCR_422_CHROMIUM |
| 123 #define GL_RGB_YCBCR_422_CHROMIUM 0x78FB | 127 #define GL_RGB_YCBCR_422_CHROMIUM 0x78FB |
| (...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 776 #endif | 780 #endif |
| 777 | 781 |
| 778 #ifndef GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM | 782 #ifndef GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM |
| 779 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A | 783 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A |
| 780 #endif | 784 #endif |
| 781 | 785 |
| 782 #ifdef GL_GLEXT_PROTOTYPES | 786 #ifdef GL_GLEXT_PROTOTYPES |
| 783 GL_APICALL void GL_APIENTRY | 787 GL_APICALL void GL_APIENTRY |
| 784 glScheduleOverlayPlaneCHROMIUM(GLint plane_z_order, | 788 glScheduleOverlayPlaneCHROMIUM(GLint plane_z_order, |
| 785 GLenum plane_transform, | 789 GLenum plane_transform, |
| 790 GLuint storage_format, |
| 786 GLuint overlay_texture_id, | 791 GLuint overlay_texture_id, |
| 787 GLint bounds_x, | 792 GLint bounds_x, |
| 788 GLint bounds_y, | 793 GLint bounds_y, |
| 789 GLint bounds_width, | 794 GLint bounds_width, |
| 790 GLint bounds_height, | 795 GLint bounds_height, |
| 791 GLfloat uv_x, | 796 GLfloat uv_x, |
| 792 GLfloat uv_y, | 797 GLfloat uv_y, |
| 793 GLfloat uv_width, | 798 GLfloat uv_width, |
| 794 GLfloat uv_height); | 799 GLfloat uv_height, |
| 800 GLboolean handle_scaling); |
| 795 #endif | 801 #endif |
| 796 typedef void(GL_APIENTRYP PFNGLSCHEDULEOVERLAYPLANECHROMIUMPROC)( | 802 typedef void(GL_APIENTRYP PFNGLSCHEDULEOVERLAYPLANECHROMIUMPROC)( |
| 797 GLint plane_z_order, | 803 GLint plane_z_order, |
| 798 GLenum plane_transform, | 804 GLenum plane_transform, |
| 805 GLuint optimal_storage_format, |
| 799 GLuint overlay_texture_id, | 806 GLuint overlay_texture_id, |
| 800 GLint bounds_x, | 807 GLint bounds_x, |
| 801 GLint bounds_y, | 808 GLint bounds_y, |
| 802 GLint bounds_width, | 809 GLint bounds_width, |
| 803 GLint bounds_height, | 810 GLint bounds_height, |
| 804 GLfloat uv_x, | 811 GLfloat uv_x, |
| 805 GLfloat uv_y, | 812 GLfloat uv_y, |
| 806 GLfloat uv_width, | 813 GLfloat uv_width, |
| 807 GLfloat uv_height); | 814 GLfloat uv_height, |
| 815 GLboolean scale_buffer); |
| 808 #endif /* GL_CHROMIUM_schedule_overlay_plane */ | 816 #endif /* GL_CHROMIUM_schedule_overlay_plane */ |
| 809 | 817 |
| 810 #ifndef GL_CHROMIUM_schedule_ca_layer | 818 #ifndef GL_CHROMIUM_schedule_ca_layer |
| 811 #define GL_CHROMIUM_schedule_ca_layer 1 | 819 #define GL_CHROMIUM_schedule_ca_layer 1 |
| 812 #ifdef GL_GLEXT_PROTOTYPES | 820 #ifdef GL_GLEXT_PROTOTYPES |
| 813 GL_APICALL void GL_APIENTRY | 821 GL_APICALL void GL_APIENTRY |
| 814 glScheduleCALayerCHROMIUM(GLuint contents_texture_id, | 822 glScheduleCALayerCHROMIUM(GLuint contents_texture_id, |
| 815 const GLfloat* contents_rect, | 823 const GLfloat* contents_rect, |
| 816 GLfloat opacity, | 824 GLfloat opacity, |
| 817 GLuint background_color, | 825 GLuint background_color, |
| (...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1216 #define GL_ONE_MINUS_SRC1_COLOR_EXT 0x88FA | 1224 #define GL_ONE_MINUS_SRC1_COLOR_EXT 0x88FA |
| 1217 #define GL_ONE_MINUS_SRC1_ALPHA_EXT 0x88FB | 1225 #define GL_ONE_MINUS_SRC1_ALPHA_EXT 0x88FB |
| 1218 #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT 0x88FC | 1226 #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT 0x88FC |
| 1219 #endif /* GL_EXT_blend_func_extended */ | 1227 #endif /* GL_EXT_blend_func_extended */ |
| 1220 | 1228 |
| 1221 #ifdef __cplusplus | 1229 #ifdef __cplusplus |
| 1222 } | 1230 } |
| 1223 #endif | 1231 #endif |
| 1224 | 1232 |
| 1225 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ | 1233 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ |
| OLD | NEW |