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

Unified Diff: gpu/GLES2/gl2extchromium.h

Issue 222333002: Plumb ScheduleOverlayPlane into the GPU process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: gpu/GLES2/gl2extchromium.h
diff --git a/gpu/GLES2/gl2extchromium.h b/gpu/GLES2/gl2extchromium.h
index 0eb89ce84b294d649cd77e4c8e0b7d4f581b6ab7..5966ed0320c89a5c48ac48754abe85faba8874e6 100644
--- a/gpu/GLES2/gl2extchromium.h
+++ b/gpu/GLES2/gl2extchromium.h
@@ -636,6 +636,46 @@ typedef void (GL_APIENTRYP PFNGLWAITSYNCPOINTCHROMIUMPROC) (GLuint sync_point);
#endif
#endif /* GL_CHROMIUM_color_buffer_float_rgb */
+/* GL_CHROMIUM_schedule_overlay_plane */
+#ifndef GL_CHROMIUM_schedule_overlay_plane
alexst (slow to review) 2014/04/08 19:46:27 I think this is another place that had to be added
piman 2014/04/08 21:30:54 Yes, ok.
+#define GL_CHROMIUM_schedule_overlay_plane 1
+
+#ifndef GL_OVERLAY_TRANSFORM_NONE_CHROMIUM
+#define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245
+#endif
+
+#ifndef GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM
+#define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246
+#endif
+
+#ifndef GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM
+#define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247
+#endif
+
+#ifndef GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM
+#define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248
+#endif
+
+#ifndef GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM
+#define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249
+#endif
+
+#ifndef GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM
+#define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A
+#endif
+
+#ifdef GL_GLEXT_PROTOTYPES
+GL_APICALL void GL_APIENTRY glScheduleOverlayPlaneCHROMIUM(
+ GLint plane_z_order, GLenum plane_transform, GLuint overlay_texture_id,
+ GLint bounds_x, GLint bounds_y, GLint bounds_width, GLint bounds_height,
+ GLfloat uv_x, GLfloat uv_y, GLfloat uv_width, GLfloat uv_height);
+#endif
+typedef void (GL_APIENTRYP PFNGLSCHEDULEOVERLAYPLANECHROMIUMPROC) (
+ GLint plane_z_order, GLenum plane_transform, GLuint overlay_texture_id,
+ GLint bounds_x, GLint bounds_y, GLint bounds_width, GLint bounds_height,
+ GLfloat uv_x, GLfloat uv_y, GLfloat uv_width, GLfloat uv_height);
+#endif /* GL_CHROMIUM_schedule_overlay_plane */
+
#ifdef __cplusplus
}
#endif

Powered by Google App Engine
This is Rietveld 408576698