Index: services/gles2/gpu_state.cc |
diff --git a/services/gles2/gpu_state.cc b/services/gles2/gpu_state.cc |
index 911477114cea8a9dc0b48a6fb7a654ccf5c386f8..04ddf0f70eddf3ac674e28f65b978b6209458a49 100644 |
--- a/services/gles2/gpu_state.cc |
+++ b/services/gles2/gpu_state.cc |
@@ -5,6 +5,8 @@ |
#include "services/gles2/gpu_state.h" |
+#include "base/command_line.h" |
+#include "gpu/config/gpu_util.h" |
#include "services/gles2/mailbox_manager_factory.h" |
namespace gles2 { |
@@ -14,6 +16,8 @@ GpuState::GpuState() |
sync_point_manager_(gpu::SyncPointManager::Create(true)), |
share_group_(new gfx::GLShareGroup), |
mailbox_manager_(MailboxManagerFactory::Create()) { |
+ gpu::ApplyGpuDriverBugWorkarounds(base::CommandLine::ForCurrentProcess()); |
jamesr
2015/09/18 16:34:09
what populates the workaround list? the way this w
cdotstout
2015/09/18 17:54:04
Some workarounds are set automatically based on th
|
+ |
control_thread_.Start(); |
} |