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

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

Issue 12212007: cc: Route offscreen context creation for compositor to the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove the GrContextProvider::ScopedContexts guard classes Created 7 years, 10 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: content/browser/renderer_host/compositor_impl_android.cc
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
index db77287774f2001f301e7b7e17ab2ae219837804..8bd5d977af12e32253a91f04d6b7b63fb9f5435d 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -341,6 +341,32 @@ scoped_ptr<cc::OutputSurface> CompositorImpl::createOutputSurface() {
}
}
+WebKit::WebGraphicsContext3D*
+CompositorImpl::OffscreenContext3dForMainThread() {
+ // TODO(danakj): Get a context through ImageTransportSurfaceAndroid.
+ return NULL;
+}
+
+WebKit::WebGraphicsContext3D*
+CompositorImpl::OffscreenContext3dForCompositorThread() {
+ // TODO(danakj): Get a context through ImageTransportSurfaceAndroid.
+ return NULL;
+}
+
+GrContext* CompositorImpl::OffscreenGrContextForMainThread() {
+ // TODO(danakj): Get a context through ImageTransportSurfaceAndroid.
+ return NULL;
+}
+
+GrContext* CompositorImpl::OffscreenGrContextForCompositorThread() {
+ // TODO(danakj): Get a context through ImageTransportSurfaceAndroid.
+ return NULL;
+}
+
+void CompositorImpl::DestroyOffscreenContext3dForCompositorThread() {
+ // TODO(danakj): Destroy the context through ImageTransportSurfaceAndroid.
+}
+
scoped_ptr<cc::InputHandler> CompositorImpl::createInputHandler() {
return scoped_ptr<cc::InputHandler>();
}

Powered by Google App Engine
This is Rietveld 408576698