| OLD | NEW |
| 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_ |
| OLD | NEW |