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

Unified Diff: gpu/command_buffer/service/buffer_manager_unittest.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.cc ('k') | gpu/command_buffer/service/context_group.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/buffer_manager_unittest.cc
diff --git a/gpu/command_buffer/service/buffer_manager_unittest.cc b/gpu/command_buffer/service/buffer_manager_unittest.cc
index 45e08c80fccc02ebe40feec40a996ed293248454..3002759284f0b72c0143f5f09a7c0793fd50c5c1 100644
--- a/gpu/command_buffer/service/buffer_manager_unittest.cc
+++ b/gpu/command_buffer/service/buffer_manager_unittest.cc
@@ -248,9 +248,9 @@ class BufferManagerMemoryTrackerTest : public BufferManagerTestBase {
class BufferManagerClientSideArraysTest : public BufferManagerTestBase {
protected:
void SetUp() override {
- feature_info_ = new FeatureInfo();
- feature_info_->workarounds_.use_client_side_arrays_for_stream_buffers =
- true;
+ GpuDriverBugWorkarounds gpu_driver_bug_workarounds;
+ gpu_driver_bug_workarounds.use_client_side_arrays_for_stream_buffers = true;
+ feature_info_ = new FeatureInfo(gpu_driver_bug_workarounds);
SetUpBase(NULL, feature_info_.get(), "");
}
« no previous file with comments | « components/mus/gles2/gpu_state.cc ('k') | gpu/command_buffer/service/context_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698