| 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 29606b230b07ff4cdcfd64cdd0824e274cf95ce0..5b87c930a7af16b7a21a4ac48d7c3aa67ba9fd76 100644
|
| --- a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_schedule_ca_layer.txt
|
| +++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_schedule_ca_layer.txt
|
| @@ -39,37 +39,49 @@ New Procedures and Functions
|
|
|
| The command
|
|
|
| + glScheduleCALayerSharedStateCHROMIUM(GLfloat opacity,
|
| + GLboolean is_clipped,
|
| + const GLfloat* clip_rect,
|
| + GLint sorting_context_id,
|
| + const GLfloat* transform);
|
| +
|
| + sets state that will be shared by each subsequent call to
|
| + glScheduleCALayerCHROMIUM. A subsequent call to
|
| + glScheduleCALayerSharedStateCHROMIUM overrides the previous shared state
|
| + values. A call to glSwapBuffers clears the shared state values.
|
| + <opacity> specifies the opacity of the CALayer.
|
| + <is_clipped> indicates if the layer should be clipped.
|
| + <clip_rect> contains four values indicating the x, y, width, and height of
|
| + the rectangle to clip the layer to, if it is to be clipped.
|
| + <sorting_context_id> Layers in a non-zero sorting context exist in the same
|
| + 3D space and should intersect.
|
| + <transform> contains sixteen values indicating the row major order 4x4
|
| + transformation matrix to apply to the CALayer.
|
| +
|
| + The command
|
| +
|
| glScheduleCALayerCHROMIUM(GLuint contents_texture_id,
|
| const GLfloat* contents_rect,
|
| - GLfloat opacity,
|
| GLuint background_color,
|
| GLuint edge_aa_mask,
|
| const GLfloat* bounds_rect,
|
| - GLboolean is_clipped,
|
| - const GLfloat* clip_rect,
|
| - const GLfloat* transform,
|
| GLuint filter);
|
|
|
| - Set the CALayer parameters to be presented at the time of the next call to
|
| - swap buffers. The order of the calls schedule CALayers determines their
|
| - back-to-front presentation order.
|
| + requires that shared state has been previously set by
|
| + glScheduleCALayerSharedStateCHROMIUM. It sets the CALayer parameters to be
|
| + presented at the time of the next call to swap buffers. The order of the
|
| + calls schedule CALayers determines their back-to-front presentation order.
|
| <contents_texture_id> is the texture to be presented. If zero, then the
|
| CALayer will be a solid color.
|
| <contents_rect> contains four values indicating the x, y, width, and height
|
| of the sub-rectangle to display from the texture specified in
|
| <contents_texture_id>, in normalized coordinates.
|
| - <opacity> specifies the opacity of the CALayer.
|
| <background_color> specifies the background color of the CALayer, as a
|
| 32-bit ARGB value.
|
| <edge_aa_mask> is a bitfield specifying which of the edges of the layer are
|
| to have anti-aliasing.
|
| <bounds_rect> contains four values indicating the x, y, width, and height of
|
| the layer in pixels.
|
| - <is_clipped> indicates if the layer should be clipped.
|
| - <clip_rect> contains four values indicating the x, y, width, and height of
|
| - the rectangle to clip the layer to, if it is to be clipped.
|
| - <transform> contains sixteen values indicating the row major order 4x4
|
| - transformation matrix to apply to the CALayer.
|
| <filter> will be used for both minification and magnification filtering. The
|
| only valid values are GL_LINEAR and GL_NEAREST.
|
|
|
| @@ -87,7 +99,8 @@ New Procedures and Functions
|
|
|
| Errors
|
|
|
| - None.
|
| + GL_INVALID_OPERATION is generated when glScheduleCALayerCHROMIUM is called
|
| + without a prior call to glScheduleCALayerSharedStateCHROMIUM.
|
|
|
| New State
|
|
|
|
|