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: gpu/command_buffer/service/feature_info_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/context_group.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/feature_info_unittest.cc
diff --git a/gpu/command_buffer/service/feature_info_unittest.cc b/gpu/command_buffer/service/feature_info_unittest.cc
index fde1f1d6c0ed5d6e3323054dc8336ae4c5ee1698..bd4a465cb243888bc1e50a763eecbd3972d5a893 100644
--- a/gpu/command_buffer/service/feature_info_unittest.cc
+++ b/gpu/command_buffer/service/feature_info_unittest.cc
@@ -219,7 +219,6 @@ TEST_P(FeatureInfoTest, Basic) {
GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP)
#undef GPU_OP
EXPECT_EQ(0, info_->workarounds().max_texture_size);
- EXPECT_EQ(0, info_->workarounds().max_cube_map_texture_size);
EXPECT_FALSE(info_->workarounds().gl_clear_broken);
}
@@ -1335,12 +1334,10 @@ TEST_P(FeatureInfoTest, ParseDriverBugWorkaroundsMultiple) {
command_line.AppendSwitchASCII(
switches::kGpuDriverBugWorkarounds,
base::IntToString(gpu::EXIT_ON_CONTEXT_LOST) + "," +
- base::IntToString(gpu::MAX_CUBE_MAP_TEXTURE_SIZE_LIMIT_1024) + "," +
base::IntToString(gpu::MAX_TEXTURE_SIZE_LIMIT_4096));
// Workarounds should get parsed without the need for a context.
SetupWithCommandLine(command_line);
EXPECT_TRUE(info_->workarounds().exit_on_context_lost);
- EXPECT_EQ(1024, info_->workarounds().max_cube_map_texture_size);
EXPECT_EQ(4096, info_->workarounds().max_texture_size);
}
« no previous file with comments | « gpu/command_buffer/service/context_group.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698