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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc

Issue 1892483004: Revert of 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/service/gles2_cmd_decoder_unittest_base.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
index 51af934edff9f519fabbaa4d40992bce785dee2a..cbe3112b391c27784afa0907da0db34d7d83b70c 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
@@ -188,17 +188,15 @@
SetupMockGLBehaviors();
- scoped_refptr<FeatureInfo> feature_info = new FeatureInfo;
- if (command_line) {
- GpuDriverBugWorkarounds gpu_driver_bug_workaround(command_line);
- feature_info = new FeatureInfo(*command_line, gpu_driver_bug_workaround);
- }
-
- group_ = scoped_refptr<ContextGroup>(new ContextGroup(
- gpu_preferences_, NULL, memory_tracker_,
- new ShaderTranslatorCache(gpu_preferences_),
- new FramebufferCompletenessCache, feature_info, new SubscriptionRefSet,
- new ValueStateMap, normalized_init.bind_generates_resource));
+ scoped_refptr<FeatureInfo> feature_info;
+ if (command_line)
+ feature_info = new FeatureInfo(*command_line);
+ group_ = scoped_refptr<ContextGroup>(
+ new ContextGroup(gpu_preferences_, NULL, memory_tracker_,
+ new ShaderTranslatorCache(gpu_preferences_),
+ new FramebufferCompletenessCache, feature_info.get(),
+ new SubscriptionRefSet, new ValueStateMap,
+ normalized_init.bind_generates_resource));
bool use_default_textures = normalized_init.bind_generates_resource;
InSequence sequence;
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/service/in_process_command_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698