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

Unified Diff: gpu/command_buffer/tests/gl_manager.h

Issue 1871613002: Compute GpuDriverBugWorkarounds only one time in the GPU process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: gpu/command_buffer/tests/gl_manager.h
diff --git a/gpu/command_buffer/tests/gl_manager.h b/gpu/command_buffer/tests/gl_manager.h
index 1301fe4cae37e5de60026b4d515677c9fc0a1e21..6a8c7e0826f1ecd0dda9db7f03d849bc53caa869 100644
--- a/gpu/command_buffer/tests/gl_manager.h
+++ b/gpu/command_buffer/tests/gl_manager.h
@@ -15,6 +15,7 @@
#include "gpu/command_buffer/common/gles2_cmd_utils.h"
#include "gpu/command_buffer/service/feature_info.h"
#include "gpu/command_buffer/service/gpu_preferences.h"
+#include "gpu/config/gpu_driver_bug_workarounds.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/gpu_memory_buffer.h"
@@ -119,7 +120,7 @@ class GLManager : private GpuControl {
return context_.get();
}
- const gpu::gles2::FeatureInfo::Workarounds& workarounds() const;
+ const gpu::GpuDriverBugWorkarounds& workarounds() const;
// GpuControl implementation.
Capabilities GetCapabilities() override;
@@ -157,6 +158,7 @@ class GLManager : private GpuControl {
uint64_t release);
gpu::GpuPreferences gpu_preferences_;
+ gpu::GpuDriverBugWorkarounds gpu_driver_bug_workarounds_;
SyncPointManager* sync_point_manager_; // Non-owning.

Powered by Google App Engine
This is Rietveld 408576698