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 | |
702 #ifdef GL_GLEXT_PROTOTYPES | 690 #ifdef GL_GLEXT_PROTOTYPES |
703 GL_APICALL void GL_APIENTRY | 691 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 | |
721 glScheduleOverlayPlaneCHROMIUM(GLint plane_z_order, | 692 glScheduleOverlayPlaneCHROMIUM(GLint plane_z_order, |
722 GLenum plane_transform, | 693 GLenum plane_transform, |
723 GLuint overlay_texture_id, | 694 GLuint overlay_texture_id, |
724 GLint bounds_x, | 695 GLint bounds_x, |
725 GLint bounds_y, | 696 GLint bounds_y, |
726 GLint bounds_width, | 697 GLint bounds_width, |
727 GLint bounds_height, | 698 GLint bounds_height, |
728 GLfloat uv_x, | 699 GLfloat uv_x, |
729 GLfloat uv_y, | 700 GLfloat uv_y, |
730 GLfloat uv_width, | 701 GLfloat uv_width, |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
767 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)( | 738 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)( |
768 GLenum matrixMode); | 739 GLenum matrixMode); |
769 | 740 |
770 #endif /* GL_CHROMIUM_path_rendering */ | 741 #endif /* GL_CHROMIUM_path_rendering */ |
771 | 742 |
772 #ifdef __cplusplus | 743 #ifdef __cplusplus |
773 } | 744 } |
774 #endif | 745 #endif |
775 | 746 |
776 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ | 747 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ |
OLD | NEW |