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

Unified Diff: content/browser/renderer_host/image_transport_factory.cc

Issue 12892005: Implement client side PBOs for glReadPixel (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make GLHelper constructor explicit Created 7 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 | « no previous file | content/browser/renderer_host/image_transport_factory_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/image_transport_factory.cc
diff --git a/content/browser/renderer_host/image_transport_factory.cc b/content/browser/renderer_host/image_transport_factory.cc
index be01420b702cfe4b776474e9fbd9c66e5d399f77..aab8860eada09ce237a16d16414126ff5d9384a9 100644
--- a/content/browser/renderer_host/image_transport_factory.cc
+++ b/content/browser/renderer_host/image_transport_factory.cc
@@ -464,15 +464,9 @@ class GpuProcessTransportFactory
virtual GLHelper* GetGLHelper() OVERRIDE {
if (!gl_helper_.get()) {
CreateSharedContextLazy();
- WebKit::WebGraphicsContext3D* context_for_main_thread =
+ WebGraphicsContext3DCommandBufferImpl* context_for_main_thread =
shared_contexts_main_thread_->Context3d();
- WebKit::WebGraphicsContext3D* context_for_thread =
- CreateOffscreenContext();
- if (!context_for_thread)
- return NULL;
-
- gl_helper_.reset(new GLHelper(context_for_main_thread,
- context_for_thread));
+ gl_helper_.reset(new GLHelper(context_for_main_thread));
}
return gl_helper_.get();
}
« no previous file with comments | « no previous file | content/browser/renderer_host/image_transport_factory_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698