Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(514)

Side by Side Diff: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_schedule_ca_layer.txt

Issue 2067503003: Add a new command buffer function glScheduleCALayerInUseQueryCHROMIUM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Include gl_image.h Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | gpu/GLES2/gl2chromium_autogen.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 <bounds_rect> contains four values indicating the x, y, width, and height of 66 <bounds_rect> contains four values indicating the x, y, width, and height of
67 the layer in pixels. 67 the layer in pixels.
68 <is_clipped> indicates if the layer should be clipped. 68 <is_clipped> indicates if the layer should be clipped.
69 <clip_rect> contains four values indicating the x, y, width, and height of 69 <clip_rect> contains four values indicating the x, y, width, and height of
70 the rectangle to clip the layer to, if it is to be clipped. 70 the rectangle to clip the layer to, if it is to be clipped.
71 <transform> contains sixteen values indicating the row major order 4x4 71 <transform> contains sixteen values indicating the row major order 4x4
72 transformation matrix to apply to the CALayer. 72 transformation matrix to apply to the CALayer.
73 <filter> will be used for both minification and magnification filtering. The 73 <filter> will be used for both minification and magnification filtering. The
74 only valid values are GL_LINEAR and GL_NEAREST. 74 only valid values are GL_LINEAR and GL_NEAREST.
75 75
76 The command
77
78 glScheduleCALayerInUseQueryCHROMIUM(GLsizei count, GLuint* textures);
79
80 schedules a query at the time of the next call to swap buffers. If the given
81 texture is backed by an IOSurface, then the query checks to see whether the
82 IOSurface is in use by the Window Server. Otherwise, the query returns
83 false. All the results will be returned with the swap ACK in
84 GpuCommandBufferMsg_SwapBuffersCompleted_Params. Clients should not destroy
85 any textures while they are being queried, as the swap ACK will use the
86 original texture id to identify the queried textures.
87
76 Errors 88 Errors
77 89
78 None. 90 None.
79 91
80 New State 92 New State
81 93
82 None. 94 None.
83 95
84 Revision History 96 Revision History
85 97
98 6/13/2016 Add glScheduleCALayerInUseQueryCHROMIUM.
86 4/12/2016 Add a parameter to support minification and magnification 99 4/12/2016 Add a parameter to support minification and magnification
87 filtering. 100 filtering.
88 12/16/2015 Add clipping and edge anti-aliasing. 101 12/16/2015 Add clipping and edge anti-aliasing.
89 11/7/2015 Initial checkin 102 11/7/2015 Initial checkin
90 103
OLDNEW
« no previous file with comments | « no previous file | gpu/GLES2/gl2chromium_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698