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

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

Issue 1916923004: Request context sharing via content::ContextProviderCommandBuffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sharegroup: . Created 4 years, 8 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 0c8c5b4316637176f943c74276088997fe5f868e..c0007fb299581ba323cfbc2b9a5ee0e9768bb3c1 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -551,7 +551,6 @@ void CompositorImpl::CreateOutputSurface() {
GURL url("chrome://gpu/CompositorImpl::CreateOutputSurface");
gpu::SurfaceHandle surface_handle =
GpuSurfaceTracker::Get()->GetSurfaceHandle(surface_id_);
- constexpr bool share_resources = false;
constexpr bool automatic_flushes = false;
constexpr size_t kBytesPerPixel = 4;
@@ -576,9 +575,8 @@ void CompositorImpl::CreateOutputSurface() {
new ContextProviderCommandBuffer(
base::WrapUnique(new WebGraphicsContext3DCommandBufferImpl(
surface_handle, url, gpu_channel_host.get(), attributes,
- gfx::PreferIntegratedGpu, share_resources, automatic_flushes,
- nullptr)),
- limits, DISPLAY_COMPOSITOR_ONSCREEN_CONTEXT));
+ gfx::PreferIntegratedGpu, automatic_flushes)),
+ limits, nullptr, DISPLAY_COMPOSITOR_ONSCREEN_CONTEXT));
DCHECK(context_provider.get());
std::unique_ptr<cc::OutputSurface> real_output_surface(

Powered by Google App Engine
This is Rietveld 408576698