| OLD | NEW |
| 1 Name | 1 Name |
| 2 | 2 |
| 3 CHROMIUM_schedule_ca_layer | 3 CHROMIUM_schedule_ca_layer |
| 4 | 4 |
| 5 Name Strings | 5 Name Strings |
| 6 | 6 |
| 7 GL_CHROMIUM_schedule_ca_layer | 7 GL_CHROMIUM_schedule_ca_layer |
| 8 | 8 |
| 9 Version | 9 Version |
| 10 | 10 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 32-bit ARGB value. | 80 32-bit ARGB value. |
| 81 <edge_aa_mask> is a bitfield specifying which of the edges of the layer are | 81 <edge_aa_mask> is a bitfield specifying which of the edges of the layer are |
| 82 to have anti-aliasing. | 82 to have anti-aliasing. |
| 83 <bounds_rect> contains four values indicating the x, y, width, and height of | 83 <bounds_rect> contains four values indicating the x, y, width, and height of |
| 84 the layer in pixels. | 84 the layer in pixels. |
| 85 <filter> will be used for both minification and magnification filtering. The | 85 <filter> will be used for both minification and magnification filtering. The |
| 86 only valid values are GL_LINEAR and GL_NEAREST. | 86 only valid values are GL_LINEAR and GL_NEAREST. |
| 87 | 87 |
| 88 The command | 88 The command |
| 89 | 89 |
| 90 glScheduleCALayerInUseQueryCHROMIUM(GLsizei count, GLuint* textures); | 90 glScheduleCALayerInUseQueryCHROMIUM( |
| 91 GLsizei count, |
| 92 GLuint* textures_and_handle_requests); |
| 91 | 93 |
| 92 schedules a query at the time of the next call to swap buffers. If the given | 94 schedules a query at the time of the next call to swap buffers. |
| 93 texture is backed by an IOSurface, then the query checks to see whether the | 95 <textures_and_handle_requests> contains an array of <count> pairs of |
| 94 IOSurface is in use by the Window Server. Otherwise, the query returns | 96 integers. The first value in each pair is a texture handle. The second value |
| 95 false. All the results will be returned with the swap ACK in | 97 either GL_TRUE or GL_FALSE indicating a request for a GpuMemoryBuffer |
| 98 handle. |
| 99 If the specified texture is backed by an IOSurface and a |
| 100 GpuMemoryBufferHanlde is requested, then the handle will be returned along |
| 101 with a boolean value indicating if the value of IOSurfaceIsInUse is |
| 102 meaningful or not for that IOSurface. All of the results, regardless of |
| 103 GpuMemoryBufferHandle requests will be returned with the swap ACK in |
| 96 GpuCommandBufferMsg_SwapBuffersCompleted_Params. Clients should not destroy | 104 GpuCommandBufferMsg_SwapBuffersCompleted_Params. Clients should not destroy |
| 97 any textures while they are being queried, as the swap ACK will use the | 105 any textures while they are being queried, as the swap ACK will use the |
| 98 original texture id to identify the queried textures. | 106 original texture id to identify the queried textures. |
| 99 | 107 |
| 100 Errors | 108 Errors |
| 101 | 109 |
| 102 GL_INVALID_OPERATION is generated when glScheduleCALayerCHROMIUM is called | 110 GL_INVALID_OPERATION is generated when glScheduleCALayerCHROMIUM is called |
| 103 without a prior call to glScheduleCALayerSharedStateCHROMIUM. | 111 without a prior call to glScheduleCALayerSharedStateCHROMIUM. |
| 104 | 112 |
| 105 New State | 113 New State |
| 106 | 114 |
| 107 None. | 115 None. |
| 108 | 116 |
| 109 Revision History | 117 Revision History |
| 110 | 118 |
| 119 11/3/2016 Add textures_and_handle_requests parameter. |
| 111 6/13/2016 Add glScheduleCALayerInUseQueryCHROMIUM. | 120 6/13/2016 Add glScheduleCALayerInUseQueryCHROMIUM. |
| 112 4/12/2016 Add a parameter to support minification and magnification | 121 4/12/2016 Add a parameter to support minification and magnification |
| 113 filtering. | 122 filtering. |
| 114 12/16/2015 Add clipping and edge anti-aliasing. | 123 12/16/2015 Add clipping and edge anti-aliasing. |
| 115 11/7/2015 Initial checkin | 124 11/7/2015 Initial checkin |
| 116 | 125 |
| OLD | NEW |