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

Unified Diff: services/gles2/gpu_state.cc

Issue 1350723004: Apply gpu workarounds. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 3 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 | « services/gles2/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « services/gles2/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698