OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |