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

Side by Side Diff: mojo/skia/gl_bindings_skia.h

Issue 1534033002: Improve Ganesh helpers. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-8
Patch Set: rebase Created 4 years, 11 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 | « mojo/skia/ganesh_texture_surface.cc ('k') | mojo/skia/gl_bindings_skia.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef MOJO_SKIA_GL_BINDINGS_SKIA_H_ 5 #ifndef MOJO_SKIA_GL_BINDINGS_SKIA_H_
6 #define MOJO_SKIA_GL_BINDINGS_SKIA_H_ 6 #define MOJO_SKIA_GL_BINDINGS_SKIA_H_
7 7
8 #include "third_party/skia/include/core/SkTypes.h" 8 #include "third_party/skia/include/core/SkTypes.h"
9 9
10 struct GrGLInterface; 10 struct GrGLInterface;
11 11
12 namespace skia_bindings { 12 namespace mojo {
13 namespace skia {
13 14
14 // The GPU back-end for skia requires pointers to GL functions. This function 15 // The GPU back-end for skia requires pointers to GL functions. This function
15 // returns a binding for skia-gpu to the Mojo C GL entry points. 16 // returns a binding for skia-gpu to the Mojo C GL entry points.
16 GrGLInterface* CreateMojoSkiaGLBinding(); 17 GrGLInterface* CreateMojoSkiaGLBinding();
17 18
18 } // namespace skia_bindings 19 } // namespace skia
20 } // namespace mojo
19 21
20 #endif // MOJO_SKIA_GL_BINDINGS_SKIA_H_ 22 #endif // MOJO_SKIA_GL_BINDINGS_SKIA_H_
OLDNEW
« no previous file with comments | « mojo/skia/ganesh_texture_surface.cc ('k') | mojo/skia/gl_bindings_skia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698