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

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

Issue 10392068: ui: Move gl/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac_rel Created 8 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « ui/gl/gl_bindings_skia_in_process.h ('k') | ui/gl/gl_context.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 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 5
6 #include "ui/gfx/gl/gl_bindings_skia_in_process.h" 6 #include "ui/gl/gl_bindings_skia_in_process.h"
7 7
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "third_party/skia/include/gpu/gl/GrGLInterface.h" 9 #include "third_party/skia/include/gpu/gl/GrGLInterface.h"
10 #include "ui/gfx/gl/gl_bindings.h" 10 #include "ui/gl/gl_bindings.h"
11 #include "ui/gfx/gl/gl_implementation.h" 11 #include "ui/gl/gl_implementation.h"
12 12
13 namespace { 13 namespace {
14 14
15 extern "C" { 15 extern "C" {
16 // The following stub functions are required because the glXXX routines exported 16 // The following stub functions are required because the glXXX routines exported
17 // via gl_bindings.h use call-type GL_BINDING_CALL, which on Windows is stdcall. 17 // via gl_bindings.h use call-type GL_BINDING_CALL, which on Windows is stdcall.
18 // Skia has been built such that its GrGLInterface GL pointers are __cdecl. 18 // Skia has been built such that its GrGLInterface GL pointers are __cdecl.
19 19
20 GLvoid StubGLActiveTexture(GLenum texture) { 20 GLvoid StubGLActiveTexture(GLenum texture) {
21 glActiveTexture(texture); 21 glActiveTexture(texture);
(...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 StubGLRenderbufferStorageMultisample; 667 StubGLRenderbufferStorageMultisample;
668 interface->fBlitFramebuffer = StubGLBlitFramebuffer; 668 interface->fBlitFramebuffer = StubGLBlitFramebuffer;
669 interface->fMapBuffer = StubGLMapBuffer; 669 interface->fMapBuffer = StubGLMapBuffer;
670 interface->fUnmapBuffer = StubGLUnmapBuffer; 670 interface->fUnmapBuffer = StubGLUnmapBuffer;
671 interface->fBindFragDataLocationIndexed = 671 interface->fBindFragDataLocationIndexed =
672 StubGLBindFragDataLocationIndexed; 672 StubGLBindFragDataLocationIndexed;
673 return interface; 673 return interface;
674 } 674 }
675 675
676 } // namespace gfx 676 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gl/gl_bindings_skia_in_process.h ('k') | ui/gl/gl_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698