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

Unified Diff: webkit/gpu/webgraphicscontext3d_in_process_impl.cc

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
Index: webkit/gpu/webgraphicscontext3d_in_process_impl.cc
===================================================================
--- webkit/gpu/webgraphicscontext3d_in_process_impl.cc (revision 98420)
+++ webkit/gpu/webgraphicscontext3d_in_process_impl.cc (working copy)
@@ -107,7 +107,6 @@
bool render_directly_to_web_view) {
if (!gfx::GLSurface::InitializeOneOff())
return false;
- gfx::BindSkiaToInProcessGL();
render_directly_to_web_view_ = render_directly_to_web_view;
gfx::GLShareGroup* share_group = 0;
@@ -1552,6 +1551,12 @@
return GL_NO_ERROR;
}
+#if WEBKIT_USING_SKIA
+GrGLInterface* WebGraphicsContext3DInProcessImpl::grGLInterface() {
+ return gfx::GetInProcessSkiaGLBinding();
+}
+#endif
+
bool WebGraphicsContext3DInProcessImpl::AngleCreateCompilers() {
if (!ShInitialize())
return false;
« no previous file with comments | « webkit/gpu/webgraphicscontext3d_in_process_impl.h ('k') | webkit/tools/test_shell/test_shell_webkit_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698