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

Unified Diff: gpu/command_buffer/tests/gl_iosurface_readback_workaround_unittest.cc

Issue 2045663002: mac: Remove GPU bug workarounds for OS X versions before 10.9 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: kbr comment Created 4 years, 6 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 | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/config/gpu_driver_bug_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/tests/gl_iosurface_readback_workaround_unittest.cc
diff --git a/gpu/command_buffer/tests/gl_iosurface_readback_workaround_unittest.cc b/gpu/command_buffer/tests/gl_iosurface_readback_workaround_unittest.cc
index d4ddb95fc181309717eb35ea25b639806ca8e65b..ea052f0ae94b817b6ca1aecdb20fffcfa53a11e5 100644
--- a/gpu/command_buffer/tests/gl_iosurface_readback_workaround_unittest.cc
+++ b/gpu/command_buffer/tests/gl_iosurface_readback_workaround_unittest.cc
@@ -29,13 +29,9 @@ class GLIOSurfaceReadbackWorkaroundTest : public testing::Test {
protected:
void SetUp() override {
- base::CommandLine command_line(0, NULL);
- command_line.AppendSwitchASCII(
- switches::kGpuDriverBugWorkarounds,
- base::IntToString(gpu::IOSURFACE_READBACK_WORKAROUND));
- gl_.InitializeWithCommandLine(GLManager::Options(), command_line);
- gl_.set_use_iosurface_memory_buffers(true);
- DCHECK(gl_.workarounds().iosurface_readback_workaround);
+ base::CommandLine command_line(0, NULL);
+ gl_.InitializeWithCommandLine(GLManager::Options(), command_line);
+ gl_.set_use_iosurface_memory_buffers(true);
}
void TearDown() override {
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/config/gpu_driver_bug_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698