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

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

Issue 2473973002: NOT for review (for discussion): Query IOSurfaceIsInUse in the browser process
Patch Set: Created 4 years, 1 month 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 | « cc/output/gl_renderer.cc ('k') | gpu/GLES2/gl2extchromium.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_ca_layer.txt
diff --git a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_schedule_ca_layer.txt b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_schedule_ca_layer.txt
index 5b87c930a7af16b7a21a4ac48d7c3aa67ba9fd76..3e2e7dd703548534a89d66bd050a0176952bdd8d 100644
--- a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_schedule_ca_layer.txt
+++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_schedule_ca_layer.txt
@@ -87,12 +87,20 @@ New Procedures and Functions
The command
- glScheduleCALayerInUseQueryCHROMIUM(GLsizei count, GLuint* textures);
-
- schedules a query at the time of the next call to swap buffers. If the given
- texture is backed by an IOSurface, then the query checks to see whether the
- IOSurface is in use by the Window Server. Otherwise, the query returns
- false. All the results will be returned with the swap ACK in
+ glScheduleCALayerInUseQueryCHROMIUM(
+ GLsizei count,
+ GLuint* textures_and_handle_requests);
+
+ schedules a query at the time of the next call to swap buffers.
+ <textures_and_handle_requests> contains an array of <count> pairs of
+ integers. The first value in each pair is a texture handle. The second value
+ either GL_TRUE or GL_FALSE indicating a request for a GpuMemoryBuffer
+ handle.
+ If the specified texture is backed by an IOSurface and a
+ GpuMemoryBufferHanlde is requested, then the handle will be returned along
+ with a boolean value indicating if the value of IOSurfaceIsInUse is
+ meaningful or not for that IOSurface. All of the results, regardless of
+ GpuMemoryBufferHandle requests will be returned with the swap ACK in
GpuCommandBufferMsg_SwapBuffersCompleted_Params. Clients should not destroy
any textures while they are being queried, as the swap ACK will use the
original texture id to identify the queried textures.
@@ -108,6 +116,7 @@ New State
Revision History
+ 11/3/2016 Add textures_and_handle_requests parameter.
6/13/2016 Add glScheduleCALayerInUseQueryCHROMIUM.
4/12/2016 Add a parameter to support minification and magnification
filtering.
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | gpu/GLES2/gl2extchromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698