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

Unified Diff: content/browser/gpu/gpu_ipc_browsertests.cc

Issue 1949023005: gpu: Add flag for enabling asynchronous worker context. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase fix 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 | « content/browser/gpu/compositor_util.cc ('k') | content/browser/renderer_host/compositor_impl_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_ipc_browsertests.cc
diff --git a/content/browser/gpu/gpu_ipc_browsertests.cc b/content/browser/gpu/gpu_ipc_browsertests.cc
index bd1c0c85eef5eb251eefd0b0696ca40d49f083b9..fb20bfabfb5fa4ff2bad5aab262a1c3ff2868b61 100644
--- a/content/browser/gpu/gpu_ipc_browsertests.cc
+++ b/content/browser/gpu/gpu_ipc_browsertests.cc
@@ -37,7 +37,8 @@ scoped_refptr<content::ContextProviderCommandBuffer> CreateContext(
attributes.bind_generates_resource = false;
bool automatic_flushes = false;
return make_scoped_refptr(new content::ContextProviderCommandBuffer(
- std::move(gpu_channel_host), gpu::kNullSurfaceHandle, GURL(),
+ std::move(gpu_channel_host), gpu::GPU_STREAM_DEFAULT,
+ gpu::GpuStreamPriority::NORMAL, gpu::kNullSurfaceHandle, GURL(),
gfx::PreferIntegratedGpu, automatic_flushes, gpu::SharedMemoryLimits(),
attributes, nullptr,
content::command_buffer_metrics::OFFSCREEN_CONTEXT_FOR_TESTING));
« no previous file with comments | « content/browser/gpu/compositor_util.cc ('k') | content/browser/renderer_host/compositor_impl_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698