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

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 cee1d49461c5f474a5d9b3a5e834ea094d19f26c..c193c04282a226bcb146b691a0b7ece0d98ce3ce 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -549,7 +549,6 @@ void CompositorImpl::CreateOutputSurface() {
scoped_refptr<gpu::GpuChannelHost> gpu_channel_host(factory->GetGpuChannel());
GURL url("chrome://gpu/CompositorImpl::CreateOutputSurface");
- constexpr bool share_resources = false;
constexpr bool automatic_flushes = false;
constexpr size_t kBytesPerPixel = 4;
@@ -574,9 +573,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(
« no previous file with comments | « content/browser/gpu/gpu_ipc_browsertests.cc ('k') | content/browser/renderer_host/render_widget_host_view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698