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

Unified Diff: components/mus/gles2/gpu_state.cc

Issue 1871613002: Compute GpuDriverBugWorkarounds only one time in the GPU process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 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 | « components/mus/gles2/gpu_state.h ('k') | gpu/command_buffer/service/buffer_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/gles2/gpu_state.cc
diff --git a/components/mus/gles2/gpu_state.cc b/components/mus/gles2/gpu_state.cc
index fce2d438925e136bf13f52d471140bba15c478d7..3733ff8fe2d5a05b3df7daa344ab715dd383a049 100644
--- a/components/mus/gles2/gpu_state.cc
+++ b/components/mus/gles2/gpu_state.cc
@@ -21,6 +21,7 @@ namespace mus {
GpuState::GpuState()
: gpu_thread_("gpu_thread"),
control_thread_("gpu_command_buffer_control"),
+ gpu_driver_bug_workarounds_(base::CommandLine::ForCurrentProcess()),
hardware_rendering_available_(false) {
base::ThreadRestrictions::ScopedAllowWait allow_wait;
gpu_thread_.Start();
« no previous file with comments | « components/mus/gles2/gpu_state.h ('k') | gpu/command_buffer/service/buffer_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698