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

Unified Diff: gpu/ipc/service/gpu_init.cc

Issue 2654993004: Move GPU blacklist calculation to GPU proc (Closed)
Patch Set: cleanup Created 3 years, 11 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
« gpu/config/gpu_features.h ('K') | « gpu/ipc/service/gpu_init.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/service/gpu_init.cc
diff --git a/gpu/ipc/service/gpu_init.cc b/gpu/ipc/service/gpu_init.cc
index add75a1472805f8aad92340b8e12135edcccb85e..d52dd54d341dadcc186901277d3c10e115dd0ece 100644
--- a/gpu/ipc/service/gpu_init.cc
+++ b/gpu/ipc/service/gpu_init.cc
@@ -213,6 +213,10 @@ bool GpuInit::InitializeAndStartSandbox(const base::CommandLine& command_line) {
}
#endif // !defined(OS_MACOSX)
+ if (!command_line.HasSwitch(switches::kIgnoreGpuBlacklist)) {
+ gpu_feature_status_ = gpu::GetGpuFeatureStatus(gpu_info_, command_line);
+ }
+
base::TimeDelta collect_context_time =
base::TimeTicks::Now() - before_collect_context_graphics_info;
UMA_HISTOGRAM_TIMES("GPU.CollectContextGraphicsInfo", collect_context_time);
« gpu/config/gpu_features.h ('K') | « gpu/ipc/service/gpu_init.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698