| 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.
|
|
|