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

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

Issue 2690113010: Abstract OSMesa from the Layout tests (Closed)
Patch Set: Renamed "Renderer" to "GL" 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
« no previous file with comments | « gpu/ipc/host/gpu_memory_buffer_support.cc ('k') | mash/test/mash_test_suite.cc » ('j') | 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 facd39fcb77598e48e0305b860ffc2cf25625375..8ed804264d88d94cdba97ca0541e1bc0b5921360 100644
--- a/gpu/ipc/service/gpu_init.cc
+++ b/gpu/ipc/service/gpu_init.cc
@@ -224,9 +224,9 @@ bool GpuInit::InitializeAndStartSandbox(const base::CommandLine& command_line) {
UMA_HISTOGRAM_MEDIUM_TIMES("GPU.InitializeOneOffMediumTime",
initialize_one_off_time);
- // OSMesa is expected to run very slowly, so disable the watchdog in that
- // case.
- if (gl::GetGLImplementation() == gl::kGLImplementationOSMesaGL) {
+ // Software GL is expected to run slowly, so disable the watchdog
+ // in that case.
+ if (gl::GetGLImplementation() == gl::GetSoftwareGLImplementation()) {
if (watchdog_thread_)
watchdog_thread_->Stop();
watchdog_thread_ = nullptr;
« no previous file with comments | « gpu/ipc/host/gpu_memory_buffer_support.cc ('k') | mash/test/mash_test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698