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

Unified Diff: services/ui/gpu/gpu_main.cc

Issue 2682723003: Make disabling accelerated VPX decoding a GPU driver bug workaround. (Closed)
Patch Set: remove flag Created 3 years, 10 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: services/ui/gpu/gpu_main.cc
diff --git a/services/ui/gpu/gpu_main.cc b/services/ui/gpu/gpu_main.cc
index a87c7cbe39cdfe1054435e7b8eae149a32dd706b..24e668d3ab41c10b7aed262390897a056a4d7ec4 100644
--- a/services/ui/gpu/gpu_main.cc
+++ b/services/ui/gpu/gpu_main.cc
@@ -220,7 +220,10 @@ void GpuMain::CreateGpuServiceOnGpuThread(
const gpu::GpuPreferences& preferences) {
mojom::GpuHostPtr gpu_host;
gpu_host.Bind(std::move(gpu_host_info));
- gpu_service_->InitializeWithHost(std::move(gpu_host), preferences);
+ gpu::GpuDriverBugWorkarounds workarounds(
Zhenyao Mo 2017/02/13 22:14:27 We actually recomputed workarounds on GPU process
+ base::CommandLine::ForCurrentProcess());
+ gpu_service_->InitializeWithHost(std::move(gpu_host), preferences,
+ workarounds);
gpu_service_->Bind(std::move(request));
if (pending_display_compositor_request_.is_pending()) {

Powered by Google App Engine
This is Rietveld 408576698