Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 Name | |
| 2 | |
| 3 CHROMIUM_schedule_overlay_plane | |
|
bajones
2015/11/09 19:42:22
Typo? Should this be CHROMIUM_schedule_ca_layer
ccameron
2015/11/09 20:04:07
Done.
| |
| 4 | |
| 5 Name Strings | |
| 6 | |
| 7 GL_CHROMIUM_schedule_overlay_plane | |
|
bajones
2015/11/09 19:42:22
Ditto. GL_CHROMIUM_schedule_ca_layer
ccameron
2015/11/09 20:04:07
Done.
| |
| 8 | |
| 9 Version | |
| 10 | |
| 11 Last Modified Date: November 7, 2015 | |
| 12 | |
| 13 Dependencies | |
| 14 | |
| 15 OpenGL ES 2.0 is required. | |
| 16 | |
| 17 Overview | |
| 18 | |
| 19 This extension allows a client to request a texture be presented as a | |
| 20 CoreAnimation layer. The expectation is that all the CALayers scheduled | |
| 21 since the last call to glSwapBuffers or glPostSubBufferCHROMIUM are | |
| 22 displayed atomically at the time of the next call to swap buffers. Scheduled | |
| 23 CALayers are not stateful and need to be rescheduled after the buffers were | |
| 24 swapped. | |
| 25 | |
| 26 Issues | |
| 27 | |
| 28 None | |
| 29 | |
| 30 New Tokens | |
| 31 | |
| 32 None | |
| 33 | |
| 34 New Procedures and Functions | |
| 35 | |
| 36 The command | |
| 37 | |
| 38 glScheduleCALayerCHROMIUM(GLuint contents_texture_id, | |
| 39 const GLfloat* contents_rect, | |
| 40 GLfloat opacity, | |
| 41 GLuint background_color, | |
| 42 const GLfloat* bounds_size, | |
| 43 const GLfloat* transform); | |
| 44 | |
| 45 Set the CALayer parameters to be presented at the time of the next call to | |
| 46 swap buffers. The order of the calls schedule CALayers determines their | |
| 47 back-to-front presentation order. | |
| 48 <contents_texture_id> is the texture to be presented. If zero, then the | |
| 49 CALayer will be a solid color. | |
| 50 <contents_rect> contains four values indicating the x, y, width, and height | |
| 51 of the sub-rectangle to display from the texture specified in | |
| 52 <contents_texture_id>, in normalized coordinates. | |
| 53 <opacity> specifies the opacity of the CALayer. | |
| 54 <background_color> specifies the background color of the CALayer, as a | |
| 55 32-bit ARGB value. | |
| 56 <bounds_size> contains two values indicating the width and height of the | |
| 57 layer in pixels. | |
| 58 <transform> contains sixteen values indicating the row major order 4x4 | |
| 59 transformation matrix to apply to the CALayer. | |
| 60 | |
| 61 Errors | |
| 62 | |
| 63 None. | |
| 64 | |
| 65 New State | |
| 66 | |
| 67 None. | |
| OLD | NEW |