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

Side by Side Diff: ui/gfx/gl/gl_bindings_skia.cc

Issue 6722026: Refactor: Move app/gfx/gl ==> ui/gfx/gl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Try removing a dep. Created 9 years, 9 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/gfx/gl/gl_bindings_skia.h ('k') | ui/gfx/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) 2011 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 "app/gfx/gl/gl_bindings_skia.h" 6 #include "ui/gfx/gl/gl_bindings_skia.h"
7 7
8 #include "app/gfx/gl/gl_bindings.h"
9 #include "app/gfx/gl/gl_implementation.h"
10 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "ui/gfx/gl/gl_bindings.h"
10 #include "ui/gfx/gl/gl_implementation.h"
11 11
12 // Skia is built against the headers in gpu\GLES. These functions 12 // Skia is built against the headers in gpu\GLES. These functions
13 // are exported without any call-type modifiers. 13 // are exported without any call-type modifiers.
14 #define GR_GL_FUNCTION_TYPE 14 #define GR_GL_FUNCTION_TYPE
15 15
16 #include "third_party/skia/gpu/include/GrGLInterface.h" 16 #include "third_party/skia/gpu/include/GrGLInterface.h"
17 17
18 namespace { 18 namespace {
19 19
20 extern "C" { 20 extern "C" {
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 static GrGLInterface host_gl_interface; 502 static GrGLInterface host_gl_interface;
503 static bool host_StubGL_initialized = false; 503 static bool host_StubGL_initialized = false;
504 if (!host_StubGL_initialized) { 504 if (!host_StubGL_initialized) {
505 InitializeGrGLInterface(&host_gl_interface); 505 InitializeGrGLInterface(&host_gl_interface);
506 GrGLSetGLInterface(&host_gl_interface); 506 GrGLSetGLInterface(&host_gl_interface);
507 host_StubGL_initialized = true; 507 host_StubGL_initialized = true;
508 } 508 }
509 } 509 }
510 510
511 } // namespace gfx 511 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/gl/gl_bindings_skia.h ('k') | ui/gfx/gl/gl_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698