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

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

Issue 2067503003: Add a new command buffer function glScheduleCALayerInUseQueryCHROMIUM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Include gl_image.h Created 4 years, 6 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_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 5d1caaec9143d6085925ea9dd183273b2bc00da1..29606b230b07ff4cdcfd64cdd0824e274cf95ce0 100644
--- a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_schedule_ca_layer.txt
+++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_schedule_ca_layer.txt
@@ -73,6 +73,18 @@ New Procedures and Functions
<filter> will be used for both minification and magnification filtering. The
only valid values are GL_LINEAR and GL_NEAREST.
+ 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
+ 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.
+
Errors
None.
@@ -83,6 +95,7 @@ New State
Revision History
+ 6/13/2016 Add glScheduleCALayerInUseQueryCHROMIUM.
4/12/2016 Add a parameter to support minification and magnification
filtering.
12/16/2015 Add clipping and edge anti-aliasing.
« 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