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

Unified Diff: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_schedule_overlay_plane.txt

Issue 222333002: Plumb ScheduleOverlayPlane into the GPU process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits 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
« no previous file with comments | « no previous file | gpu/GLES2/gl2chromium_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_schedule_overlay_plane.txt
diff --git a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_schedule_overlay_plane.txt b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_schedule_overlay_plane.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b0270688814216256981b8195dc95e7b606ebbf
--- /dev/null
+++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_schedule_overlay_plane.txt
@@ -0,0 +1,75 @@
+Name
+
+ CHROMIUM_schedule_overlay_plane
+
+Name Strings
+
+ GL_CHROMIUM_schedule_overlay_plane
+
+Version
+
+ Last Modified Date: April 2, 2014
+
+Dependencies
+
+ OpenGL ES 2.0 is required.
+
+Overview
+
+ This extension allows a client to request a texture be presented as a
+ hardware overlay plane along with the framebuffer. The expectation is that
+ all the planes scheduled since the last call to glSwapBuffers or
+ glPostSubBufferCHROMIUM are displayed atomically with the framebuffer during
+ the next call to swap buffers. Scheduled planes are not stateful and need
+ to be rescheduled after the buffers were swapped.
+
+ This extension could be used in conjunction with OES_EGL_image_external
+ to render into buffers suitable for scanout and present them directly
+ via display hardware without further compositing in GLES.
+
+ An example use case would be displaying a video buffer which was decoded by
+ dedicated hardware as part of a GLES application.
+
+Issues
+
+ None
+
+New Tokens
+
+ None
+
+New Procedures and Functions
+
+ The command
+
+ 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);
+
+ Sets the overlay plane to be presented synchronously along with the primary
+ framebuffer during the call to swap buffers.
+ <plane_z_order> specifies the stacking order of the plane relative to the
+ main framebuffer located at index 0.
+ <plane_transform> specifies how the buffer is to be transformed during
+ composition.
+ <overlay_texture_id> is the buffer to be presented by the overlay.
+ <bounds_x>, <bounds_y>, <bounds_width>, <bounds_height> specify where it is
+ supposed to be on the screen.
+ <uv_x>, <uv_y>, <uv_width>, <uv_height> specify the region within the
+ buffer to be placed inside the bounds.
+
+Errors
+
+ None.
+
+New State
+
+ None.
« no previous file with comments | « no previous file | gpu/GLES2/gl2chromium_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698