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

Unified Diff: content/browser/compositor/gpu_process_transport_factory.cc

Issue 1949023005: gpu: Add flag for enabling asynchronous worker context. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | content/browser/gpu/gpu_ipc_browsertests.cc » ('j') | content/renderer/render_thread_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/compositor/gpu_process_transport_factory.cc
diff --git a/content/browser/compositor/gpu_process_transport_factory.cc b/content/browser/compositor/gpu_process_transport_factory.cc
index f2bfa3e29e258f13b3f07839865f72018162f1af..308f8d351bbaa8e02cd296e3c95ef87124571829 100644
--- a/content/browser/compositor/gpu_process_transport_factory.cc
+++ b/content/browser/compositor/gpu_process_transport_factory.cc
@@ -131,7 +131,8 @@ scoped_refptr<content::ContextProviderCommandBuffer> CreateContextCommon(
return make_scoped_refptr(new content::ContextProviderCommandBuffer(
base::WrapUnique(new content::WebGraphicsContext3DCommandBufferImpl(
surface_handle, url, gpu_channel_host.get(), gfx::PreferIntegratedGpu,
- automatic_flushes)),
+ automatic_flushes, gpu::GPU_STREAM_DEFAULT,
+ gpu::GpuStreamPriority::NORMAL)),
gpu::SharedMemoryLimits(), attributes, shared_context_provider, type));
}
« no previous file with comments | « no previous file | content/browser/gpu/gpu_ipc_browsertests.cc » ('j') | content/renderer/render_thread_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698