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

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

Issue 1394403002: Mac Overlays: Plumb through GL solid color overlay support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 783 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 GLenum plane_transform, 794 GLenum plane_transform,
795 GLuint overlay_texture_id, 795 GLuint overlay_texture_id,
796 GLint bounds_x, 796 GLint bounds_x,
797 GLint bounds_y, 797 GLint bounds_y,
798 GLint bounds_width, 798 GLint bounds_width,
799 GLint bounds_height, 799 GLint bounds_height,
800 GLfloat uv_x, 800 GLfloat uv_x,
801 GLfloat uv_y, 801 GLfloat uv_y,
802 GLfloat uv_width, 802 GLfloat uv_width,
803 GLfloat uv_height); 803 GLfloat uv_height);
804 GL_APICALL void GL_APIENTRY
805 glScheduleSolidColorOverlayPlaneCHROMIUM(GLint plane_z_order,
806 GLint bounds_x,
807 GLint bounds_y,
808 GLint bounds_width,
809 GLint bounds_height,
810 GLclampf red,
811 GLclampf green,
812 GLclampf blue,
813 GLclampf alpha);
804 #endif 814 #endif
805 typedef void(GL_APIENTRYP PFNGLSCHEDULEOVERLAYPLANECHROMIUMPROC)( 815 typedef void(GL_APIENTRYP PFNGLSCHEDULEOVERLAYPLANECHROMIUMPROC)(
806 GLint plane_z_order, 816 GLint plane_z_order,
807 GLenum plane_transform, 817 GLenum plane_transform,
808 GLuint overlay_texture_id, 818 GLuint overlay_texture_id,
809 GLint bounds_x, 819 GLint bounds_x,
810 GLint bounds_y, 820 GLint bounds_y,
811 GLint bounds_width, 821 GLint bounds_width,
812 GLint bounds_height, 822 GLint bounds_height,
813 GLfloat uv_x, 823 GLfloat uv_x,
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
999 #define GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 0x90B9 1009 #define GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 0x90B9
1000 #endif 1010 #endif
1001 1011
1002 #endif /* GL_CHROMIUM_path_rendering */ 1012 #endif /* GL_CHROMIUM_path_rendering */
1003 1013
1004 #ifdef __cplusplus 1014 #ifdef __cplusplus
1005 } 1015 }
1006 #endif 1016 #endif
1007 1017
1008 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 1018 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698