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

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

Issue 2136223002: Introduce GLStubApi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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
11 #include <string> 11 #include <string>
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::OSMesaMakeCurrent") 372 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::OSMesaMakeCurrent")
373 return osmesa_api_->OSMesaMakeCurrentFn(ctx, buffer, type, width, height); 373 return osmesa_api_->OSMesaMakeCurrentFn(ctx, buffer, type, width, height);
374 } 374 }
375 375
376 void TraceOSMESAApi::OSMesaPixelStoreFn(GLint pname, GLint value) { 376 void TraceOSMESAApi::OSMesaPixelStoreFn(GLint pname, GLint value) {
377 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::OSMesaPixelStore") 377 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::OSMesaPixelStore")
378 osmesa_api_->OSMesaPixelStoreFn(pname, value); 378 osmesa_api_->OSMesaPixelStoreFn(pname, value);
379 } 379 }
380 380
381 } // namespace gl 381 } // namespace gl
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698