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

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

Issue 2107783003: Pass initial size and GPU preference via context attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gyp fix Created 4 years, 6 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 0d657568f64e5d321b4eca5301bfa05082451721..838ec057b606a6595040bd8f44d24232116bc885 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -684,9 +684,8 @@ void CompositorImpl::CreateOutputSurface() {
context_provider = new ContextProviderCommandBuffer(
std::move(gpu_channel_host), gpu::GPU_STREAM_DEFAULT,
- gpu::GpuStreamPriority::NORMAL, surface_handle_, url,
- gl::PreferIntegratedGpu, automatic_flushes, support_locking, limits,
- attributes, nullptr,
+ gpu::GpuStreamPriority::NORMAL, surface_handle_, url, automatic_flushes,
+ support_locking, limits, attributes, nullptr,
command_buffer_metrics::DISPLAY_COMPOSITOR_ONSCREEN_CONTEXT);
DCHECK(context_provider.get());
« 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