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

Unified Diff: webkit/glue/gl_bindings_skia_cmd_buffer.h

Issue 7753035: Allow each WGC3D subclass to determine the correct GrGLInterface for its GrContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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 | « ui/gfx/gl/gl_bindings_skia_in_process.cc ('k') | webkit/glue/gl_bindings_skia_cmd_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/gl_bindings_skia_cmd_buffer.h
===================================================================
--- webkit/glue/gl_bindings_skia_cmd_buffer.h (revision 98420)
+++ webkit/glue/gl_bindings_skia_cmd_buffer.h (working copy)
@@ -6,11 +6,13 @@
#define WEBKIT_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_
#pragma once
+struct GrGLInterface;
+
namespace webkit_glue {
// The GPU back-end for skia requires pointers to GL functions. This function
// binds skia-gpu to the cmd buffers GL.
-void BindSkiaToCommandBufferGL();
+GrGLInterface* GetCommandBufferSkiaGLBinding();
} // namespace webkit_glue
« no previous file with comments | « ui/gfx/gl/gl_bindings_skia_in_process.cc ('k') | webkit/glue/gl_bindings_skia_cmd_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698