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

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

Issue 900233003: eglWaitSyncKHR is part of the EGL_KHR_wait_sync extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/generate_bindings.py ('k') | no next file » | 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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 202
203 debug_fn.eglQuerySurfacePointerANGLEFn = 0; 203 debug_fn.eglQuerySurfacePointerANGLEFn = 0;
204 if (ext.b_EGL_ANGLE_query_surface_pointer) { 204 if (ext.b_EGL_ANGLE_query_surface_pointer) {
205 fn.eglQuerySurfacePointerANGLEFn = 205 fn.eglQuerySurfacePointerANGLEFn =
206 reinterpret_cast<eglQuerySurfacePointerANGLEProc>( 206 reinterpret_cast<eglQuerySurfacePointerANGLEProc>(
207 GetGLProcAddress("eglQuerySurfacePointerANGLE")); 207 GetGLProcAddress("eglQuerySurfacePointerANGLE"));
208 DCHECK(fn.eglQuerySurfacePointerANGLEFn); 208 DCHECK(fn.eglQuerySurfacePointerANGLEFn);
209 } 209 }
210 210
211 debug_fn.eglWaitSyncKHRFn = 0; 211 debug_fn.eglWaitSyncKHRFn = 0;
212 if (ext.b_EGL_KHR_fence_sync || ext.b_EGL_KHR_wait_sync) { 212 if (ext.b_EGL_KHR_wait_sync) {
213 fn.eglWaitSyncKHRFn = reinterpret_cast<eglWaitSyncKHRProc>( 213 fn.eglWaitSyncKHRFn = reinterpret_cast<eglWaitSyncKHRProc>(
214 GetGLProcAddress("eglWaitSyncKHR")); 214 GetGLProcAddress("eglWaitSyncKHR"));
215 DCHECK(fn.eglWaitSyncKHRFn); 215 DCHECK(fn.eglWaitSyncKHRFn);
216 } 216 }
217 217
218 if (g_debugBindingsInitialized) 218 if (g_debugBindingsInitialized)
219 InitializeDebugBindings(); 219 InitializeDebugBindings();
220 } 220 }
221 221
222 extern "C" { 222 extern "C" {
(...skipping 1261 matching lines...) Expand 10 before | Expand all | Expand 10 after
1484 } 1484 }
1485 1485
1486 EGLint TraceEGLApi::eglWaitSyncKHRFn(EGLDisplay dpy, 1486 EGLint TraceEGLApi::eglWaitSyncKHRFn(EGLDisplay dpy,
1487 EGLSyncKHR sync, 1487 EGLSyncKHR sync,
1488 EGLint flags) { 1488 EGLint flags) {
1489 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::eglWaitSyncKHR") 1489 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::eglWaitSyncKHR")
1490 return egl_api_->eglWaitSyncKHRFn(dpy, sync, flags); 1490 return egl_api_->eglWaitSyncKHRFn(dpy, sync, flags);
1491 } 1491 }
1492 1492
1493 } // namespace gfx 1493 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gl/generate_bindings.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698