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

Unified Diff: gpu/skia_bindings/gl_bindings_skia_cmd_buffer.h

Issue 1671283002: Bind GrContext to GLES2Interface rather than C GLES interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Fix dependency in gyp and gn? Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/skia_bindings/BUILD.gn ('k') | gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/skia_bindings/gl_bindings_skia_cmd_buffer.h
diff --git a/gpu/skia_bindings/gl_bindings_skia_cmd_buffer.h b/gpu/skia_bindings/gl_bindings_skia_cmd_buffer.h
index e9504d70e2ae61f32e063c831386b5d0ba237fc0..8b8760d46abf7d2aa6244e7292ed20676b8e063d 100644
--- a/gpu/skia_bindings/gl_bindings_skia_cmd_buffer.h
+++ b/gpu/skia_bindings/gl_bindings_skia_cmd_buffer.h
@@ -9,12 +9,18 @@
struct GrGLInterface;
+namespace gpu {
+namespace gles2 {
+class GLES2Interface;
+} // namespace gles2
+} // namespace gpu
+
namespace skia_bindings {
// The GPU back-end for skia requires pointers to GL functions. This function
-// initializes bindings for skia-gpu to the cmd buffers GL.
-void InitCommandBufferSkiaGLBinding(GrGLInterface*);
+// initializes bindings for skia-gpu to a GLES2Interface object.
+void InitGLES2InterfaceBindings(GrGLInterface*, gpu::gles2::GLES2Interface*);
-} // namespace skia
+} // namespace skia_bindings
#endif // GPU_SKIA_BINDINGS_GL_BINDINGS_SKIA_CMD_BUFFER_H_
« no previous file with comments | « gpu/skia_bindings/BUILD.gn ('k') | gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698