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..f5c82dbb55095d71c4cba5e687c40fa9838d70c5 100644 |
--- a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_schedule_ca_layer.txt |
+++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_schedule_ca_layer.txt |
@@ -35,6 +35,19 @@ New Tokens |
GL_CA_LAYER_EDGE_BOTTOM_CHROMIUM 0x04 |
GL_CA_LAYER_EDGE_TOP_CHROMIUM 0x08 |
+ Accepted by the <filter_effects> parameter of |
+ glScheduleCALayerFilterEffectsCHROMIUM: |
+ struct GLCALayerFilterEffect { |
+ GLint type; |
+ GLfloat amount; |
+ GLint drop_shadow_offset_x; |
+ GLint drop_shadow_offset_y; |
+ GLuint drop_shadow_color; |
+ }; |
+ The valid values for type are in the range [0, 9] inclusive. Clients should |
+ convert them from ui::CARendererLayerParams::FilterEffectType, as the |
+ service will convert them back to that enum. |
+ |
New Procedures and Functions |
The command |
@@ -87,6 +100,15 @@ New Procedures and Functions |
The command |
+ glScheduleCALayerFilterEffectsCHROMIUM( |
+ GLsizei count, |
+ GLCALayerFilterEffect* filter_effects) |
+ |
+ applies the <filter_effects> to the next CALayer to be scheduled. A |
+ consecutive call to glScheduleCALayerFilterEffectsCHROMIUM overrides the |
+ previously saved <filter_effects>. A call to glSwapBuffers clears any saved |
+ <filter_effects> |
+ |
glScheduleCALayerInUseQueryCHROMIUM(GLsizei count, GLuint* textures); |
schedules a query at the time of the next call to swap buffers. If the given |