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 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
680 #endif | 680 #endif |
681 | 681 |
682 #ifndef GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM | 682 #ifndef GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM |
683 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249 | 683 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249 |
684 #endif | 684 #endif |
685 | 685 |
686 #ifndef GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM | 686 #ifndef GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM |
687 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A | 687 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A |
688 #endif | 688 #endif |
689 | 689 |
| 690 /* GL_CHROMIUM_subscribe_uniform */ |
| 691 #ifndef GL_CHROMIUM_subscribe_uniform |
| 692 #define GL_CHROMIUM_subscribe_uniform 1 |
| 693 |
| 694 #ifndef GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM |
| 695 #define GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM 0x924B |
| 696 #endif |
| 697 |
| 698 #ifndef GL_MOUSE_POSITION_CHROMIUM |
| 699 #define GL_MOUSE_POSITION_CHROMIUM 0x924C |
| 700 #endif |
| 701 |
690 #ifdef GL_GLEXT_PROTOTYPES | 702 #ifdef GL_GLEXT_PROTOTYPES |
691 GL_APICALL void GL_APIENTRY | 703 GL_APICALL void GL_APIENTRY |
| 704 glGenValuebuffersCHROMIUM(GLsizei n, GLuint* buffers); |
| 705 GL_APICALL void GL_APIENTRY |
| 706 glDeleteValuebuffersCHROMIUM(GLsizei n, const GLuint* valuebuffers); |
| 707 GL_APICALL GLboolean GL_APIENTRY glIsValuebufferCHROMIUM(GLuint valuebuffer); |
| 708 GL_APICALL void GL_APIENTRY |
| 709 glBindValuebufferCHROMIUM(GLenum target, GLuint valuebuffer); |
| 710 GL_APICALL void GL_APIENTRY |
| 711 glSubscribeValueCHROMIUM(GLenum target, GLenum subscription); |
| 712 GL_APICALL void GL_APIENTRY glPopulateSubscribedValuesCHROMIUM(GLenum target); |
| 713 GL_APICALL void GL_APIENTRY glUniformValuebufferCHROMIUM(GLint location, |
| 714 GLenum target, |
| 715 GLenum subscription); |
| 716 #endif |
| 717 #endif /* GL_CHROMIUM_subscribe_uniform */ |
| 718 |
| 719 #ifdef GL_GLEXT_PROTOTYPES |
| 720 GL_APICALL void GL_APIENTRY |
692 glScheduleOverlayPlaneCHROMIUM(GLint plane_z_order, | 721 glScheduleOverlayPlaneCHROMIUM(GLint plane_z_order, |
693 GLenum plane_transform, | 722 GLenum plane_transform, |
694 GLuint overlay_texture_id, | 723 GLuint overlay_texture_id, |
695 GLint bounds_x, | 724 GLint bounds_x, |
696 GLint bounds_y, | 725 GLint bounds_y, |
697 GLint bounds_width, | 726 GLint bounds_width, |
698 GLint bounds_height, | 727 GLint bounds_height, |
699 GLfloat uv_x, | 728 GLfloat uv_x, |
700 GLfloat uv_y, | 729 GLfloat uv_y, |
701 GLfloat uv_width, | 730 GLfloat uv_width, |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
738 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)( | 767 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)( |
739 GLenum matrixMode); | 768 GLenum matrixMode); |
740 | 769 |
741 #endif /* GL_CHROMIUM_path_rendering */ | 770 #endif /* GL_CHROMIUM_path_rendering */ |
742 | 771 |
743 #ifdef __cplusplus | 772 #ifdef __cplusplus |
744 } | 773 } |
745 #endif | 774 #endif |
746 | 775 |
747 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ | 776 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ |
OLD | NEW |