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

Side by Side Diff: ui/gl/gl_bindings_autogen_egl.h

Issue 1903063002: Add EGL stream extension bindings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@updatekhronosegl
Patch Set: Created 4 years, 8 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 | « ui/gl/gl_bindings_api_autogen_egl.h ('k') | ui/gl/gl_bindings_autogen_egl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // This file is auto-generated from 5 // This file is auto-generated from
6 // ui/gl/generate_bindings.py 6 // ui/gl/generate_bindings.py
7 // It's formatted by clang-format using chromium coding style: 7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename 8 // clang-format -i -style=chromium filename
9 // DO NOT EDIT! 9 // DO NOT EDIT!
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 const EGLint* attrib_list); 52 const EGLint* attrib_list);
53 typedef EGLSurface(GL_BINDING_CALL* eglCreatePbufferSurfaceProc)( 53 typedef EGLSurface(GL_BINDING_CALL* eglCreatePbufferSurfaceProc)(
54 EGLDisplay dpy, 54 EGLDisplay dpy,
55 EGLConfig config, 55 EGLConfig config,
56 const EGLint* attrib_list); 56 const EGLint* attrib_list);
57 typedef EGLSurface(GL_BINDING_CALL* eglCreatePixmapSurfaceProc)( 57 typedef EGLSurface(GL_BINDING_CALL* eglCreatePixmapSurfaceProc)(
58 EGLDisplay dpy, 58 EGLDisplay dpy,
59 EGLConfig config, 59 EGLConfig config,
60 EGLNativePixmapType pixmap, 60 EGLNativePixmapType pixmap,
61 const EGLint* attrib_list); 61 const EGLint* attrib_list);
62 typedef EGLStreamKHR(GL_BINDING_CALL* eglCreateStreamKHRProc)(
63 EGLDisplay dpy,
64 const EGLint* attrib_list);
65 typedef EGLBoolean(
66 GL_BINDING_CALL* eglCreateStreamProducerD3DTextureNV12ANGLEProc)(
67 EGLDisplay dpy,
68 EGLStreamKHR stream,
69 EGLAttrib* attrib_list);
62 typedef EGLSyncKHR(GL_BINDING_CALL* eglCreateSyncKHRProc)( 70 typedef EGLSyncKHR(GL_BINDING_CALL* eglCreateSyncKHRProc)(
63 EGLDisplay dpy, 71 EGLDisplay dpy,
64 EGLenum type, 72 EGLenum type,
65 const EGLint* attrib_list); 73 const EGLint* attrib_list);
66 typedef EGLSurface(GL_BINDING_CALL* eglCreateWindowSurfaceProc)( 74 typedef EGLSurface(GL_BINDING_CALL* eglCreateWindowSurfaceProc)(
67 EGLDisplay dpy, 75 EGLDisplay dpy,
68 EGLConfig config, 76 EGLConfig config,
69 EGLNativeWindowType win, 77 EGLNativeWindowType win,
70 const EGLint* attrib_list); 78 const EGLint* attrib_list);
71 typedef EGLBoolean(GL_BINDING_CALL* eglDestroyContextProc)(EGLDisplay dpy, 79 typedef EGLBoolean(GL_BINDING_CALL* eglDestroyContextProc)(EGLDisplay dpy,
72 EGLContext ctx); 80 EGLContext ctx);
73 typedef EGLBoolean(GL_BINDING_CALL* eglDestroyImageKHRProc)(EGLDisplay dpy, 81 typedef EGLBoolean(GL_BINDING_CALL* eglDestroyImageKHRProc)(EGLDisplay dpy,
74 EGLImageKHR image); 82 EGLImageKHR image);
83 typedef EGLBoolean(GL_BINDING_CALL* eglDestroyStreamKHRProc)(
84 EGLDisplay dpy,
85 EGLStreamKHR stream);
75 typedef EGLBoolean(GL_BINDING_CALL* eglDestroySurfaceProc)(EGLDisplay dpy, 86 typedef EGLBoolean(GL_BINDING_CALL* eglDestroySurfaceProc)(EGLDisplay dpy,
76 EGLSurface surface); 87 EGLSurface surface);
77 typedef EGLBoolean(GL_BINDING_CALL* eglDestroySyncKHRProc)(EGLDisplay dpy, 88 typedef EGLBoolean(GL_BINDING_CALL* eglDestroySyncKHRProc)(EGLDisplay dpy,
78 EGLSyncKHR sync); 89 EGLSyncKHR sync);
79 typedef EGLBoolean(GL_BINDING_CALL* eglGetConfigAttribProc)(EGLDisplay dpy, 90 typedef EGLBoolean(GL_BINDING_CALL* eglGetConfigAttribProc)(EGLDisplay dpy,
80 EGLConfig config, 91 EGLConfig config,
81 EGLint attribute, 92 EGLint attribute,
82 EGLint* value); 93 EGLint* value);
83 typedef EGLBoolean(GL_BINDING_CALL* eglGetConfigsProc)(EGLDisplay dpy, 94 typedef EGLBoolean(GL_BINDING_CALL* eglGetConfigsProc)(EGLDisplay dpy,
84 EGLConfig* configs, 95 EGLConfig* configs,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 EGLSurface surface, 128 EGLSurface surface,
118 EGLint x, 129 EGLint x,
119 EGLint y, 130 EGLint y,
120 EGLint width, 131 EGLint width,
121 EGLint height); 132 EGLint height);
122 typedef EGLenum(GL_BINDING_CALL* eglQueryAPIProc)(void); 133 typedef EGLenum(GL_BINDING_CALL* eglQueryAPIProc)(void);
123 typedef EGLBoolean(GL_BINDING_CALL* eglQueryContextProc)(EGLDisplay dpy, 134 typedef EGLBoolean(GL_BINDING_CALL* eglQueryContextProc)(EGLDisplay dpy,
124 EGLContext ctx, 135 EGLContext ctx,
125 EGLint attribute, 136 EGLint attribute,
126 EGLint* value); 137 EGLint* value);
138 typedef EGLBoolean(GL_BINDING_CALL* eglQueryStreamKHRProc)(EGLDisplay dpy,
139 EGLStreamKHR stream,
140 EGLenum attribute,
141 EGLint* value);
142 typedef EGLBoolean(GL_BINDING_CALL* eglQueryStreamu64KHRProc)(
143 EGLDisplay dpy,
144 EGLStreamKHR stream,
145 EGLenum attribute,
146 EGLuint64KHR* value);
127 typedef const char*(GL_BINDING_CALL* eglQueryStringProc)(EGLDisplay dpy, 147 typedef const char*(GL_BINDING_CALL* eglQueryStringProc)(EGLDisplay dpy,
128 EGLint name); 148 EGLint name);
129 typedef EGLBoolean(GL_BINDING_CALL* eglQuerySurfaceProc)(EGLDisplay dpy, 149 typedef EGLBoolean(GL_BINDING_CALL* eglQuerySurfaceProc)(EGLDisplay dpy,
130 EGLSurface surface, 150 EGLSurface surface,
131 EGLint attribute, 151 EGLint attribute,
132 EGLint* value); 152 EGLint* value);
133 typedef EGLBoolean(GL_BINDING_CALL* eglQuerySurfacePointerANGLEProc)( 153 typedef EGLBoolean(GL_BINDING_CALL* eglQuerySurfacePointerANGLEProc)(
134 EGLDisplay dpy, 154 EGLDisplay dpy,
135 EGLSurface surface, 155 EGLSurface surface,
136 EGLint attribute, 156 EGLint attribute,
137 void** value); 157 void** value);
138 typedef EGLBoolean(GL_BINDING_CALL* eglReleaseTexImageProc)(EGLDisplay dpy, 158 typedef EGLBoolean(GL_BINDING_CALL* eglReleaseTexImageProc)(EGLDisplay dpy,
139 EGLSurface surface, 159 EGLSurface surface,
140 EGLint buffer); 160 EGLint buffer);
141 typedef EGLBoolean(GL_BINDING_CALL* eglReleaseThreadProc)(void); 161 typedef EGLBoolean(GL_BINDING_CALL* eglReleaseThreadProc)(void);
162 typedef EGLBoolean(GL_BINDING_CALL* eglStreamAttribKHRProc)(EGLDisplay dpy,
163 EGLStreamKHR stream,
164 EGLenum attribute,
165 EGLint value);
166 typedef EGLBoolean(GL_BINDING_CALL* eglStreamConsumerAcquireKHRProc)(
167 EGLDisplay dpy,
168 EGLStreamKHR stream);
169 typedef EGLBoolean(
170 GL_BINDING_CALL* eglStreamConsumerGLTextureExternalAttribsNVProc)(
171 EGLDisplay dpy,
172 EGLStreamKHR stream,
173 EGLAttrib* attrib_list);
174 typedef EGLBoolean(GL_BINDING_CALL* eglStreamConsumerGLTextureExternalKHRProc)(
175 EGLDisplay dpy,
176 EGLStreamKHR stream);
177 typedef EGLBoolean(GL_BINDING_CALL* eglStreamConsumerReleaseKHRProc)(
178 EGLDisplay dpy,
179 EGLStreamKHR stream);
180 typedef EGLBoolean(GL_BINDING_CALL* eglStreamPostD3DTextureNV12ANGLEProc)(
181 EGLDisplay dpy,
182 EGLStreamKHR stream,
183 void* texture,
184 const EGLAttrib* attrib_list);
142 typedef EGLBoolean(GL_BINDING_CALL* eglSurfaceAttribProc)(EGLDisplay dpy, 185 typedef EGLBoolean(GL_BINDING_CALL* eglSurfaceAttribProc)(EGLDisplay dpy,
143 EGLSurface surface, 186 EGLSurface surface,
144 EGLint attribute, 187 EGLint attribute,
145 EGLint value); 188 EGLint value);
146 typedef EGLBoolean(GL_BINDING_CALL* eglSwapBuffersProc)(EGLDisplay dpy, 189 typedef EGLBoolean(GL_BINDING_CALL* eglSwapBuffersProc)(EGLDisplay dpy,
147 EGLSurface surface); 190 EGLSurface surface);
148 typedef EGLBoolean(GL_BINDING_CALL* eglSwapIntervalProc)(EGLDisplay dpy, 191 typedef EGLBoolean(GL_BINDING_CALL* eglSwapIntervalProc)(EGLDisplay dpy,
149 EGLint interval); 192 EGLint interval);
150 typedef EGLBoolean(GL_BINDING_CALL* eglTerminateProc)(EGLDisplay dpy); 193 typedef EGLBoolean(GL_BINDING_CALL* eglTerminateProc)(EGLDisplay dpy);
151 typedef EGLBoolean(GL_BINDING_CALL* eglWaitClientProc)(void); 194 typedef EGLBoolean(GL_BINDING_CALL* eglWaitClientProc)(void);
152 typedef EGLBoolean(GL_BINDING_CALL* eglWaitGLProc)(void); 195 typedef EGLBoolean(GL_BINDING_CALL* eglWaitGLProc)(void);
153 typedef EGLBoolean(GL_BINDING_CALL* eglWaitNativeProc)(EGLint engine); 196 typedef EGLBoolean(GL_BINDING_CALL* eglWaitNativeProc)(EGLint engine);
154 typedef EGLint(GL_BINDING_CALL* eglWaitSyncKHRProc)(EGLDisplay dpy, 197 typedef EGLint(GL_BINDING_CALL* eglWaitSyncKHRProc)(EGLDisplay dpy,
155 EGLSyncKHR sync, 198 EGLSyncKHR sync,
156 EGLint flags); 199 EGLint flags);
157 200
158 struct ExtensionsEGL { 201 struct ExtensionsEGL {
159 bool b_EGL_EXT_platform_base; 202 bool b_EGL_EXT_platform_base;
160 bool b_EGL_ANGLE_d3d_share_handle_client_buffer; 203 bool b_EGL_ANGLE_d3d_share_handle_client_buffer;
161 bool b_EGL_ANGLE_query_surface_pointer; 204 bool b_EGL_ANGLE_query_surface_pointer;
205 bool b_EGL_ANGLE_stream_producer_d3d_texture_nv12;
162 bool b_EGL_ANGLE_surface_d3d_texture_2d_share_handle; 206 bool b_EGL_ANGLE_surface_d3d_texture_2d_share_handle;
163 bool b_EGL_CHROMIUM_sync_control; 207 bool b_EGL_CHROMIUM_sync_control;
164 bool b_EGL_KHR_fence_sync; 208 bool b_EGL_KHR_fence_sync;
165 bool b_EGL_KHR_gl_texture_2D_image; 209 bool b_EGL_KHR_gl_texture_2D_image;
166 bool b_EGL_KHR_image; 210 bool b_EGL_KHR_image;
167 bool b_EGL_KHR_image_base; 211 bool b_EGL_KHR_image_base;
168 bool b_EGL_KHR_reusable_sync; 212 bool b_EGL_KHR_reusable_sync;
213 bool b_EGL_KHR_stream;
214 bool b_EGL_KHR_stream_consumer_gltexture;
169 bool b_EGL_KHR_wait_sync; 215 bool b_EGL_KHR_wait_sync;
170 bool b_EGL_NV_post_sub_buffer; 216 bool b_EGL_NV_post_sub_buffer;
217 bool b_EGL_NV_stream_consumer_gltexture_yuv;
171 bool b_GL_CHROMIUM_egl_khr_fence_sync_hack; 218 bool b_GL_CHROMIUM_egl_khr_fence_sync_hack;
172 }; 219 };
173 220
174 struct ProcsEGL { 221 struct ProcsEGL {
175 eglBindAPIProc eglBindAPIFn; 222 eglBindAPIProc eglBindAPIFn;
176 eglBindTexImageProc eglBindTexImageFn; 223 eglBindTexImageProc eglBindTexImageFn;
177 eglChooseConfigProc eglChooseConfigFn; 224 eglChooseConfigProc eglChooseConfigFn;
178 eglClientWaitSyncKHRProc eglClientWaitSyncKHRFn; 225 eglClientWaitSyncKHRProc eglClientWaitSyncKHRFn;
179 eglCopyBuffersProc eglCopyBuffersFn; 226 eglCopyBuffersProc eglCopyBuffersFn;
180 eglCreateContextProc eglCreateContextFn; 227 eglCreateContextProc eglCreateContextFn;
181 eglCreateImageKHRProc eglCreateImageKHRFn; 228 eglCreateImageKHRProc eglCreateImageKHRFn;
182 eglCreatePbufferFromClientBufferProc eglCreatePbufferFromClientBufferFn; 229 eglCreatePbufferFromClientBufferProc eglCreatePbufferFromClientBufferFn;
183 eglCreatePbufferSurfaceProc eglCreatePbufferSurfaceFn; 230 eglCreatePbufferSurfaceProc eglCreatePbufferSurfaceFn;
184 eglCreatePixmapSurfaceProc eglCreatePixmapSurfaceFn; 231 eglCreatePixmapSurfaceProc eglCreatePixmapSurfaceFn;
232 eglCreateStreamKHRProc eglCreateStreamKHRFn;
233 eglCreateStreamProducerD3DTextureNV12ANGLEProc
234 eglCreateStreamProducerD3DTextureNV12ANGLEFn;
185 eglCreateSyncKHRProc eglCreateSyncKHRFn; 235 eglCreateSyncKHRProc eglCreateSyncKHRFn;
186 eglCreateWindowSurfaceProc eglCreateWindowSurfaceFn; 236 eglCreateWindowSurfaceProc eglCreateWindowSurfaceFn;
187 eglDestroyContextProc eglDestroyContextFn; 237 eglDestroyContextProc eglDestroyContextFn;
188 eglDestroyImageKHRProc eglDestroyImageKHRFn; 238 eglDestroyImageKHRProc eglDestroyImageKHRFn;
239 eglDestroyStreamKHRProc eglDestroyStreamKHRFn;
189 eglDestroySurfaceProc eglDestroySurfaceFn; 240 eglDestroySurfaceProc eglDestroySurfaceFn;
190 eglDestroySyncKHRProc eglDestroySyncKHRFn; 241 eglDestroySyncKHRProc eglDestroySyncKHRFn;
191 eglGetConfigAttribProc eglGetConfigAttribFn; 242 eglGetConfigAttribProc eglGetConfigAttribFn;
192 eglGetConfigsProc eglGetConfigsFn; 243 eglGetConfigsProc eglGetConfigsFn;
193 eglGetCurrentContextProc eglGetCurrentContextFn; 244 eglGetCurrentContextProc eglGetCurrentContextFn;
194 eglGetCurrentDisplayProc eglGetCurrentDisplayFn; 245 eglGetCurrentDisplayProc eglGetCurrentDisplayFn;
195 eglGetCurrentSurfaceProc eglGetCurrentSurfaceFn; 246 eglGetCurrentSurfaceProc eglGetCurrentSurfaceFn;
196 eglGetDisplayProc eglGetDisplayFn; 247 eglGetDisplayProc eglGetDisplayFn;
197 eglGetErrorProc eglGetErrorFn; 248 eglGetErrorProc eglGetErrorFn;
198 eglGetPlatformDisplayEXTProc eglGetPlatformDisplayEXTFn; 249 eglGetPlatformDisplayEXTProc eglGetPlatformDisplayEXTFn;
199 eglGetProcAddressProc eglGetProcAddressFn; 250 eglGetProcAddressProc eglGetProcAddressFn;
200 eglGetSyncAttribKHRProc eglGetSyncAttribKHRFn; 251 eglGetSyncAttribKHRProc eglGetSyncAttribKHRFn;
201 eglGetSyncValuesCHROMIUMProc eglGetSyncValuesCHROMIUMFn; 252 eglGetSyncValuesCHROMIUMProc eglGetSyncValuesCHROMIUMFn;
202 eglInitializeProc eglInitializeFn; 253 eglInitializeProc eglInitializeFn;
203 eglMakeCurrentProc eglMakeCurrentFn; 254 eglMakeCurrentProc eglMakeCurrentFn;
204 eglPostSubBufferNVProc eglPostSubBufferNVFn; 255 eglPostSubBufferNVProc eglPostSubBufferNVFn;
205 eglQueryAPIProc eglQueryAPIFn; 256 eglQueryAPIProc eglQueryAPIFn;
206 eglQueryContextProc eglQueryContextFn; 257 eglQueryContextProc eglQueryContextFn;
258 eglQueryStreamKHRProc eglQueryStreamKHRFn;
259 eglQueryStreamu64KHRProc eglQueryStreamu64KHRFn;
207 eglQueryStringProc eglQueryStringFn; 260 eglQueryStringProc eglQueryStringFn;
208 eglQuerySurfaceProc eglQuerySurfaceFn; 261 eglQuerySurfaceProc eglQuerySurfaceFn;
209 eglQuerySurfacePointerANGLEProc eglQuerySurfacePointerANGLEFn; 262 eglQuerySurfacePointerANGLEProc eglQuerySurfacePointerANGLEFn;
210 eglReleaseTexImageProc eglReleaseTexImageFn; 263 eglReleaseTexImageProc eglReleaseTexImageFn;
211 eglReleaseThreadProc eglReleaseThreadFn; 264 eglReleaseThreadProc eglReleaseThreadFn;
265 eglStreamAttribKHRProc eglStreamAttribKHRFn;
266 eglStreamConsumerAcquireKHRProc eglStreamConsumerAcquireKHRFn;
267 eglStreamConsumerGLTextureExternalAttribsNVProc
268 eglStreamConsumerGLTextureExternalAttribsNVFn;
269 eglStreamConsumerGLTextureExternalKHRProc
270 eglStreamConsumerGLTextureExternalKHRFn;
271 eglStreamConsumerReleaseKHRProc eglStreamConsumerReleaseKHRFn;
272 eglStreamPostD3DTextureNV12ANGLEProc eglStreamPostD3DTextureNV12ANGLEFn;
212 eglSurfaceAttribProc eglSurfaceAttribFn; 273 eglSurfaceAttribProc eglSurfaceAttribFn;
213 eglSwapBuffersProc eglSwapBuffersFn; 274 eglSwapBuffersProc eglSwapBuffersFn;
214 eglSwapIntervalProc eglSwapIntervalFn; 275 eglSwapIntervalProc eglSwapIntervalFn;
215 eglTerminateProc eglTerminateFn; 276 eglTerminateProc eglTerminateFn;
216 eglWaitClientProc eglWaitClientFn; 277 eglWaitClientProc eglWaitClientFn;
217 eglWaitGLProc eglWaitGLFn; 278 eglWaitGLProc eglWaitGLFn;
218 eglWaitNativeProc eglWaitNativeFn; 279 eglWaitNativeProc eglWaitNativeFn;
219 eglWaitSyncKHRProc eglWaitSyncKHRFn; 280 eglWaitSyncKHRProc eglWaitSyncKHRFn;
220 }; 281 };
221 282
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 void* buffer, 316 void* buffer,
256 EGLConfig config, 317 EGLConfig config,
257 const EGLint* attrib_list) = 0; 318 const EGLint* attrib_list) = 0;
258 virtual EGLSurface eglCreatePbufferSurfaceFn(EGLDisplay dpy, 319 virtual EGLSurface eglCreatePbufferSurfaceFn(EGLDisplay dpy,
259 EGLConfig config, 320 EGLConfig config,
260 const EGLint* attrib_list) = 0; 321 const EGLint* attrib_list) = 0;
261 virtual EGLSurface eglCreatePixmapSurfaceFn(EGLDisplay dpy, 322 virtual EGLSurface eglCreatePixmapSurfaceFn(EGLDisplay dpy,
262 EGLConfig config, 323 EGLConfig config,
263 EGLNativePixmapType pixmap, 324 EGLNativePixmapType pixmap,
264 const EGLint* attrib_list) = 0; 325 const EGLint* attrib_list) = 0;
326 virtual EGLStreamKHR eglCreateStreamKHRFn(EGLDisplay dpy,
327 const EGLint* attrib_list) = 0;
328 virtual EGLBoolean eglCreateStreamProducerD3DTextureNV12ANGLEFn(
329 EGLDisplay dpy,
330 EGLStreamKHR stream,
331 EGLAttrib* attrib_list) = 0;
265 virtual EGLSyncKHR eglCreateSyncKHRFn(EGLDisplay dpy, 332 virtual EGLSyncKHR eglCreateSyncKHRFn(EGLDisplay dpy,
266 EGLenum type, 333 EGLenum type,
267 const EGLint* attrib_list) = 0; 334 const EGLint* attrib_list) = 0;
268 virtual EGLSurface eglCreateWindowSurfaceFn(EGLDisplay dpy, 335 virtual EGLSurface eglCreateWindowSurfaceFn(EGLDisplay dpy,
269 EGLConfig config, 336 EGLConfig config,
270 EGLNativeWindowType win, 337 EGLNativeWindowType win,
271 const EGLint* attrib_list) = 0; 338 const EGLint* attrib_list) = 0;
272 virtual EGLBoolean eglDestroyContextFn(EGLDisplay dpy, EGLContext ctx) = 0; 339 virtual EGLBoolean eglDestroyContextFn(EGLDisplay dpy, EGLContext ctx) = 0;
273 virtual EGLBoolean eglDestroyImageKHRFn(EGLDisplay dpy, 340 virtual EGLBoolean eglDestroyImageKHRFn(EGLDisplay dpy,
274 EGLImageKHR image) = 0; 341 EGLImageKHR image) = 0;
342 virtual EGLBoolean eglDestroyStreamKHRFn(EGLDisplay dpy,
343 EGLStreamKHR stream) = 0;
275 virtual EGLBoolean eglDestroySurfaceFn(EGLDisplay dpy, 344 virtual EGLBoolean eglDestroySurfaceFn(EGLDisplay dpy,
276 EGLSurface surface) = 0; 345 EGLSurface surface) = 0;
277 virtual EGLBoolean eglDestroySyncKHRFn(EGLDisplay dpy, EGLSyncKHR sync) = 0; 346 virtual EGLBoolean eglDestroySyncKHRFn(EGLDisplay dpy, EGLSyncKHR sync) = 0;
278 virtual EGLBoolean eglGetConfigAttribFn(EGLDisplay dpy, 347 virtual EGLBoolean eglGetConfigAttribFn(EGLDisplay dpy,
279 EGLConfig config, 348 EGLConfig config,
280 EGLint attribute, 349 EGLint attribute,
281 EGLint* value) = 0; 350 EGLint* value) = 0;
282 virtual EGLBoolean eglGetConfigsFn(EGLDisplay dpy, 351 virtual EGLBoolean eglGetConfigsFn(EGLDisplay dpy,
283 EGLConfig* configs, 352 EGLConfig* configs,
284 EGLint config_size, 353 EGLint config_size,
(...skipping 28 matching lines...) Expand all
313 EGLSurface surface, 382 EGLSurface surface,
314 EGLint x, 383 EGLint x,
315 EGLint y, 384 EGLint y,
316 EGLint width, 385 EGLint width,
317 EGLint height) = 0; 386 EGLint height) = 0;
318 virtual EGLenum eglQueryAPIFn(void) = 0; 387 virtual EGLenum eglQueryAPIFn(void) = 0;
319 virtual EGLBoolean eglQueryContextFn(EGLDisplay dpy, 388 virtual EGLBoolean eglQueryContextFn(EGLDisplay dpy,
320 EGLContext ctx, 389 EGLContext ctx,
321 EGLint attribute, 390 EGLint attribute,
322 EGLint* value) = 0; 391 EGLint* value) = 0;
392 virtual EGLBoolean eglQueryStreamKHRFn(EGLDisplay dpy,
393 EGLStreamKHR stream,
394 EGLenum attribute,
395 EGLint* value) = 0;
396 virtual EGLBoolean eglQueryStreamu64KHRFn(EGLDisplay dpy,
397 EGLStreamKHR stream,
398 EGLenum attribute,
399 EGLuint64KHR* value) = 0;
323 virtual const char* eglQueryStringFn(EGLDisplay dpy, EGLint name) = 0; 400 virtual const char* eglQueryStringFn(EGLDisplay dpy, EGLint name) = 0;
324 virtual EGLBoolean eglQuerySurfaceFn(EGLDisplay dpy, 401 virtual EGLBoolean eglQuerySurfaceFn(EGLDisplay dpy,
325 EGLSurface surface, 402 EGLSurface surface,
326 EGLint attribute, 403 EGLint attribute,
327 EGLint* value) = 0; 404 EGLint* value) = 0;
328 virtual EGLBoolean eglQuerySurfacePointerANGLEFn(EGLDisplay dpy, 405 virtual EGLBoolean eglQuerySurfacePointerANGLEFn(EGLDisplay dpy,
329 EGLSurface surface, 406 EGLSurface surface,
330 EGLint attribute, 407 EGLint attribute,
331 void** value) = 0; 408 void** value) = 0;
332 virtual EGLBoolean eglReleaseTexImageFn(EGLDisplay dpy, 409 virtual EGLBoolean eglReleaseTexImageFn(EGLDisplay dpy,
333 EGLSurface surface, 410 EGLSurface surface,
334 EGLint buffer) = 0; 411 EGLint buffer) = 0;
335 virtual EGLBoolean eglReleaseThreadFn(void) = 0; 412 virtual EGLBoolean eglReleaseThreadFn(void) = 0;
413 virtual EGLBoolean eglStreamAttribKHRFn(EGLDisplay dpy,
414 EGLStreamKHR stream,
415 EGLenum attribute,
416 EGLint value) = 0;
417 virtual EGLBoolean eglStreamConsumerAcquireKHRFn(EGLDisplay dpy,
418 EGLStreamKHR stream) = 0;
419 virtual EGLBoolean eglStreamConsumerGLTextureExternalAttribsNVFn(
420 EGLDisplay dpy,
421 EGLStreamKHR stream,
422 EGLAttrib* attrib_list) = 0;
423 virtual EGLBoolean eglStreamConsumerGLTextureExternalKHRFn(
424 EGLDisplay dpy,
425 EGLStreamKHR stream) = 0;
426 virtual EGLBoolean eglStreamConsumerReleaseKHRFn(EGLDisplay dpy,
427 EGLStreamKHR stream) = 0;
428 virtual EGLBoolean eglStreamPostD3DTextureNV12ANGLEFn(
429 EGLDisplay dpy,
430 EGLStreamKHR stream,
431 void* texture,
432 const EGLAttrib* attrib_list) = 0;
336 virtual EGLBoolean eglSurfaceAttribFn(EGLDisplay dpy, 433 virtual EGLBoolean eglSurfaceAttribFn(EGLDisplay dpy,
337 EGLSurface surface, 434 EGLSurface surface,
338 EGLint attribute, 435 EGLint attribute,
339 EGLint value) = 0; 436 EGLint value) = 0;
340 virtual EGLBoolean eglSwapBuffersFn(EGLDisplay dpy, EGLSurface surface) = 0; 437 virtual EGLBoolean eglSwapBuffersFn(EGLDisplay dpy, EGLSurface surface) = 0;
341 virtual EGLBoolean eglSwapIntervalFn(EGLDisplay dpy, EGLint interval) = 0; 438 virtual EGLBoolean eglSwapIntervalFn(EGLDisplay dpy, EGLint interval) = 0;
342 virtual EGLBoolean eglTerminateFn(EGLDisplay dpy) = 0; 439 virtual EGLBoolean eglTerminateFn(EGLDisplay dpy) = 0;
343 virtual EGLBoolean eglWaitClientFn(void) = 0; 440 virtual EGLBoolean eglWaitClientFn(void) = 0;
344 virtual EGLBoolean eglWaitGLFn(void) = 0; 441 virtual EGLBoolean eglWaitGLFn(void) = 0;
345 virtual EGLBoolean eglWaitNativeFn(EGLint engine) = 0; 442 virtual EGLBoolean eglWaitNativeFn(EGLint engine) = 0;
(...skipping 11 matching lines...) Expand all
357 ::gfx::g_current_egl_context->eglClientWaitSyncKHRFn 454 ::gfx::g_current_egl_context->eglClientWaitSyncKHRFn
358 #define eglCopyBuffers ::gfx::g_current_egl_context->eglCopyBuffersFn 455 #define eglCopyBuffers ::gfx::g_current_egl_context->eglCopyBuffersFn
359 #define eglCreateContext ::gfx::g_current_egl_context->eglCreateContextFn 456 #define eglCreateContext ::gfx::g_current_egl_context->eglCreateContextFn
360 #define eglCreateImageKHR ::gfx::g_current_egl_context->eglCreateImageKHRFn 457 #define eglCreateImageKHR ::gfx::g_current_egl_context->eglCreateImageKHRFn
361 #define eglCreatePbufferFromClientBuffer \ 458 #define eglCreatePbufferFromClientBuffer \
362 ::gfx::g_current_egl_context->eglCreatePbufferFromClientBufferFn 459 ::gfx::g_current_egl_context->eglCreatePbufferFromClientBufferFn
363 #define eglCreatePbufferSurface \ 460 #define eglCreatePbufferSurface \
364 ::gfx::g_current_egl_context->eglCreatePbufferSurfaceFn 461 ::gfx::g_current_egl_context->eglCreatePbufferSurfaceFn
365 #define eglCreatePixmapSurface \ 462 #define eglCreatePixmapSurface \
366 ::gfx::g_current_egl_context->eglCreatePixmapSurfaceFn 463 ::gfx::g_current_egl_context->eglCreatePixmapSurfaceFn
464 #define eglCreateStreamKHR ::gfx::g_current_egl_context->eglCreateStreamKHRFn
465 #define eglCreateStreamProducerD3DTextureNV12ANGLE \
466 ::gfx::g_current_egl_context->eglCreateStreamProducerD3DTextureNV12ANGLEFn
367 #define eglCreateSyncKHR ::gfx::g_current_egl_context->eglCreateSyncKHRFn 467 #define eglCreateSyncKHR ::gfx::g_current_egl_context->eglCreateSyncKHRFn
368 #define eglCreateWindowSurface \ 468 #define eglCreateWindowSurface \
369 ::gfx::g_current_egl_context->eglCreateWindowSurfaceFn 469 ::gfx::g_current_egl_context->eglCreateWindowSurfaceFn
370 #define eglDestroyContext ::gfx::g_current_egl_context->eglDestroyContextFn 470 #define eglDestroyContext ::gfx::g_current_egl_context->eglDestroyContextFn
371 #define eglDestroyImageKHR ::gfx::g_current_egl_context->eglDestroyImageKHRFn 471 #define eglDestroyImageKHR ::gfx::g_current_egl_context->eglDestroyImageKHRFn
472 #define eglDestroyStreamKHR ::gfx::g_current_egl_context->eglDestroyStreamKHRFn
372 #define eglDestroySurface ::gfx::g_current_egl_context->eglDestroySurfaceFn 473 #define eglDestroySurface ::gfx::g_current_egl_context->eglDestroySurfaceFn
373 #define eglDestroySyncKHR ::gfx::g_current_egl_context->eglDestroySyncKHRFn 474 #define eglDestroySyncKHR ::gfx::g_current_egl_context->eglDestroySyncKHRFn
374 #define eglGetConfigAttrib ::gfx::g_current_egl_context->eglGetConfigAttribFn 475 #define eglGetConfigAttrib ::gfx::g_current_egl_context->eglGetConfigAttribFn
375 #define eglGetConfigs ::gfx::g_current_egl_context->eglGetConfigsFn 476 #define eglGetConfigs ::gfx::g_current_egl_context->eglGetConfigsFn
376 #define eglGetCurrentContext \ 477 #define eglGetCurrentContext \
377 ::gfx::g_current_egl_context->eglGetCurrentContextFn 478 ::gfx::g_current_egl_context->eglGetCurrentContextFn
378 #define eglGetCurrentDisplay \ 479 #define eglGetCurrentDisplay \
379 ::gfx::g_current_egl_context->eglGetCurrentDisplayFn 480 ::gfx::g_current_egl_context->eglGetCurrentDisplayFn
380 #define eglGetCurrentSurface \ 481 #define eglGetCurrentSurface \
381 ::gfx::g_current_egl_context->eglGetCurrentSurfaceFn 482 ::gfx::g_current_egl_context->eglGetCurrentSurfaceFn
382 #define eglGetDisplay ::gfx::g_current_egl_context->eglGetDisplayFn 483 #define eglGetDisplay ::gfx::g_current_egl_context->eglGetDisplayFn
383 #define eglGetError ::gfx::g_current_egl_context->eglGetErrorFn 484 #define eglGetError ::gfx::g_current_egl_context->eglGetErrorFn
384 #define eglGetPlatformDisplayEXT \ 485 #define eglGetPlatformDisplayEXT \
385 ::gfx::g_current_egl_context->eglGetPlatformDisplayEXTFn 486 ::gfx::g_current_egl_context->eglGetPlatformDisplayEXTFn
386 #define eglGetProcAddress ::gfx::g_current_egl_context->eglGetProcAddressFn 487 #define eglGetProcAddress ::gfx::g_current_egl_context->eglGetProcAddressFn
387 #define eglGetSyncAttribKHR ::gfx::g_current_egl_context->eglGetSyncAttribKHRFn 488 #define eglGetSyncAttribKHR ::gfx::g_current_egl_context->eglGetSyncAttribKHRFn
388 #define eglGetSyncValuesCHROMIUM \ 489 #define eglGetSyncValuesCHROMIUM \
389 ::gfx::g_current_egl_context->eglGetSyncValuesCHROMIUMFn 490 ::gfx::g_current_egl_context->eglGetSyncValuesCHROMIUMFn
390 #define eglInitialize ::gfx::g_current_egl_context->eglInitializeFn 491 #define eglInitialize ::gfx::g_current_egl_context->eglInitializeFn
391 #define eglMakeCurrent ::gfx::g_current_egl_context->eglMakeCurrentFn 492 #define eglMakeCurrent ::gfx::g_current_egl_context->eglMakeCurrentFn
392 #define eglPostSubBufferNV ::gfx::g_current_egl_context->eglPostSubBufferNVFn 493 #define eglPostSubBufferNV ::gfx::g_current_egl_context->eglPostSubBufferNVFn
393 #define eglQueryAPI ::gfx::g_current_egl_context->eglQueryAPIFn 494 #define eglQueryAPI ::gfx::g_current_egl_context->eglQueryAPIFn
394 #define eglQueryContext ::gfx::g_current_egl_context->eglQueryContextFn 495 #define eglQueryContext ::gfx::g_current_egl_context->eglQueryContextFn
496 #define eglQueryStreamKHR ::gfx::g_current_egl_context->eglQueryStreamKHRFn
497 #define eglQueryStreamu64KHR \
498 ::gfx::g_current_egl_context->eglQueryStreamu64KHRFn
395 #define eglQueryString ::gfx::g_current_egl_context->eglQueryStringFn 499 #define eglQueryString ::gfx::g_current_egl_context->eglQueryStringFn
396 #define eglQuerySurface ::gfx::g_current_egl_context->eglQuerySurfaceFn 500 #define eglQuerySurface ::gfx::g_current_egl_context->eglQuerySurfaceFn
397 #define eglQuerySurfacePointerANGLE \ 501 #define eglQuerySurfacePointerANGLE \
398 ::gfx::g_current_egl_context->eglQuerySurfacePointerANGLEFn 502 ::gfx::g_current_egl_context->eglQuerySurfacePointerANGLEFn
399 #define eglReleaseTexImage ::gfx::g_current_egl_context->eglReleaseTexImageFn 503 #define eglReleaseTexImage ::gfx::g_current_egl_context->eglReleaseTexImageFn
400 #define eglReleaseThread ::gfx::g_current_egl_context->eglReleaseThreadFn 504 #define eglReleaseThread ::gfx::g_current_egl_context->eglReleaseThreadFn
505 #define eglStreamAttribKHR ::gfx::g_current_egl_context->eglStreamAttribKHRFn
506 #define eglStreamConsumerAcquireKHR \
507 ::gfx::g_current_egl_context->eglStreamConsumerAcquireKHRFn
508 #define eglStreamConsumerGLTextureExternalAttribsNV \
509 ::gfx::g_current_egl_context->eglStreamConsumerGLTextureExternalAttribsNVFn
510 #define eglStreamConsumerGLTextureExternalKHR \
511 ::gfx::g_current_egl_context->eglStreamConsumerGLTextureExternalKHRFn
512 #define eglStreamConsumerReleaseKHR \
513 ::gfx::g_current_egl_context->eglStreamConsumerReleaseKHRFn
514 #define eglStreamPostD3DTextureNV12ANGLE \
515 ::gfx::g_current_egl_context->eglStreamPostD3DTextureNV12ANGLEFn
401 #define eglSurfaceAttrib ::gfx::g_current_egl_context->eglSurfaceAttribFn 516 #define eglSurfaceAttrib ::gfx::g_current_egl_context->eglSurfaceAttribFn
402 #define eglSwapBuffers ::gfx::g_current_egl_context->eglSwapBuffersFn 517 #define eglSwapBuffers ::gfx::g_current_egl_context->eglSwapBuffersFn
403 #define eglSwapInterval ::gfx::g_current_egl_context->eglSwapIntervalFn 518 #define eglSwapInterval ::gfx::g_current_egl_context->eglSwapIntervalFn
404 #define eglTerminate ::gfx::g_current_egl_context->eglTerminateFn 519 #define eglTerminate ::gfx::g_current_egl_context->eglTerminateFn
405 #define eglWaitClient ::gfx::g_current_egl_context->eglWaitClientFn 520 #define eglWaitClient ::gfx::g_current_egl_context->eglWaitClientFn
406 #define eglWaitGL ::gfx::g_current_egl_context->eglWaitGLFn 521 #define eglWaitGL ::gfx::g_current_egl_context->eglWaitGLFn
407 #define eglWaitNative ::gfx::g_current_egl_context->eglWaitNativeFn 522 #define eglWaitNative ::gfx::g_current_egl_context->eglWaitNativeFn
408 #define eglWaitSyncKHR ::gfx::g_current_egl_context->eglWaitSyncKHRFn 523 #define eglWaitSyncKHR ::gfx::g_current_egl_context->eglWaitSyncKHRFn
409 524
410 #endif // UI_GFX_GL_GL_BINDINGS_AUTOGEN_EGL_H_ 525 #endif // UI_GFX_GL_GL_BINDINGS_AUTOGEN_EGL_H_
OLDNEW
« no previous file with comments | « ui/gl/gl_bindings_api_autogen_egl.h ('k') | ui/gl/gl_bindings_autogen_egl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698