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..20d0f9c1a1f908f8609e6929e0c4e077835605c4 100644 |
--- a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_schedule_ca_layer.txt |
+++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_schedule_ca_layer.txt |
@@ -35,6 +35,16 @@ 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; |
erikchen
2016/07/23 00:26:48
I could add 10 new parameters, and add conversions
piman
2016/07/23 00:39:58
SG. Can you list what are the valid values here?
erikchen
2016/07/23 14:18:15
Done.
|
+ GLfloat amount; |
+ GLint drop_shadow_offset_x; |
+ GLint drop_shadow_offset_y; |
+ GLuint drop_shadow_color; |
+ }; |
+ |
New Procedures and Functions |
The command |
@@ -87,6 +97,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 |