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

Unified Diff: mojo/skia/gl_bindings_skia.h

Issue 1534813003: Use C bindings to Mojo GL entry points exclusively. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-6
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/skia/ganesh_context.cc ('k') | mojo/skia/gl_bindings_skia.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/skia/gl_bindings_skia.h
diff --git a/gpu/skia_bindings/gl_bindings_skia_cmd_buffer.h b/mojo/skia/gl_bindings_skia.h
similarity index 53%
rename from gpu/skia_bindings/gl_bindings_skia_cmd_buffer.h
rename to mojo/skia/gl_bindings_skia.h
index 6a32929ce6deb0ce421eeb736f5c55cf8c57be85..524edc261f5cdf49d1c16b001e5f102b56f0ccce 100644
--- a/gpu/skia_bindings/gl_bindings_skia_cmd_buffer.h
+++ b/mojo/skia/gl_bindings_skia.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef GPU_SKIA_BINDINGS_GL_BINDINGS_SKIA_CMD_BUFFER_H_
-#define GPU_SKIA_BINDINGS_GL_BINDINGS_SKIA_CMD_BUFFER_H_
+#ifndef MOJO_SKIA_GL_BINDINGS_SKIA_H_
+#define MOJO_SKIA_GL_BINDINGS_SKIA_H_
#include "third_party/skia/include/core/SkTypes.h"
@@ -12,9 +12,9 @@ struct GrGLInterface;
namespace skia_bindings {
// The GPU back-end for skia requires pointers to GL functions. This function
-// returns a binding for skia-gpu to the cmd buffers GL.
-GrGLInterface* CreateCommandBufferSkiaGLBinding();
+// returns a binding for skia-gpu to the Mojo C GL entry points.
+GrGLInterface* CreateMojoSkiaGLBinding();
-} // namespace skia
+} // namespace skia_bindings
-#endif // GPU_SKIA_BINDINGS_GL_BINDINGS_SKIA_CMD_BUFFER_H_
+#endif // MOJO_SKIA_GL_BINDINGS_SKIA_H_
« no previous file with comments | « mojo/skia/ganesh_context.cc ('k') | mojo/skia/gl_bindings_skia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698