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

Unified Diff: content/browser/android/in_process/synchronous_compositor_output_surface.cc

Issue 916723002: cc: Add threaded GPU rasterization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Implement ContextProviderInProcess::DetachFromThread(). Created 5 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/android/in_process/synchronous_compositor_output_surface.cc
diff --git a/content/browser/android/in_process/synchronous_compositor_output_surface.cc b/content/browser/android/in_process/synchronous_compositor_output_surface.cc
index 149e1ea81c393654cb2c0831bd3869011e4aa362..48c2bf1e7720576df20fcc126a9b96e6dc5bf490 100644
--- a/content/browser/android/in_process/synchronous_compositor_output_surface.cc
+++ b/content/browser/android/in_process/synchronous_compositor_output_surface.cc
@@ -136,12 +136,14 @@ void AdjustTransform(gfx::Transform* transform, gfx::Rect viewport) {
} // namespace
bool SynchronousCompositorOutputSurface::InitializeHwDraw(
- scoped_refptr<cc::ContextProvider> onscreen_context_provider) {
+ scoped_refptr<cc::ContextProvider> onscreen_context_provider,
+ scoped_refptr<cc::ContextProvider> worker_context_provider) {
DCHECK(CalledOnValidThread());
DCHECK(HasClient());
DCHECK(!context_provider_.get());
- return InitializeAndSetContext3d(onscreen_context_provider);
+ return InitializeAndSetContext3d(onscreen_context_provider,
+ worker_context_provider);
}
void SynchronousCompositorOutputSurface::ReleaseHwDraw() {

Powered by Google App Engine
This is Rietveld 408576698