Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Side by Side Diff: gpu/GLES2/gl2extchromium.h

Issue 659903002: Add subscribeUniform extension pipeline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: V2 API Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_MOUSE_POSITION
695 #define GL_MOUSE_POSITION 0x924B
piman 2014/10/21 20:00:40 nit: GL_MOUSE_POSITION_CHROMIUM
orglofch 2014/10/22 23:10:21 Done.
696 #endif
697
690 #ifdef GL_GLEXT_PROTOTYPES 698 #ifdef GL_GLEXT_PROTOTYPES
691 GL_APICALL void GL_APIENTRY 699 GL_APICALL void GL_APIENTRY
700 glSubscribeUniformCHROMIUM(GLint location, GLenum target);
701 GL_APICALL void GL_APIENTRY glPopulateSubscribedUniformsCHROMIUM();
702 #endif
703 #endif /* GL_CHROMIUM_subscribe_uniform */
704
705 #ifdef GL_GLEXT_PROTOTYPES
706 GL_APICALL void GL_APIENTRY
692 glScheduleOverlayPlaneCHROMIUM(GLint plane_z_order, 707 glScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
693 GLenum plane_transform, 708 GLenum plane_transform,
694 GLuint overlay_texture_id, 709 GLuint overlay_texture_id,
695 GLint bounds_x, 710 GLint bounds_x,
696 GLint bounds_y, 711 GLint bounds_y,
697 GLint bounds_width, 712 GLint bounds_width,
698 GLint bounds_height, 713 GLint bounds_height,
699 GLfloat uv_x, 714 GLfloat uv_x,
700 GLfloat uv_y, 715 GLfloat uv_y,
701 GLfloat uv_width, 716 GLfloat uv_width,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)( 753 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)(
739 GLenum matrixMode); 754 GLenum matrixMode);
740 755
741 #endif /* GL_CHROMIUM_path_rendering */ 756 #endif /* GL_CHROMIUM_path_rendering */
742 757
743 #ifdef __cplusplus 758 #ifdef __cplusplus
744 } 759 }
745 #endif 760 #endif
746 761
747 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 762 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698