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

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

Issue 1154953004: gpu: Add disable_blend_equation_advanced workaround for Adreno 4xx. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/feature_info.cc ('k') | gpu/config/gpu_driver_bug_list_json.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 bbef693aff9be7f067980e695a4bec9ff6a35457..7fc5c4fc53a66b6643fc019b2a4c07dce83d90c1 100644
--- a/gpu/command_buffer/service/feature_info_unittest.cc
+++ b/gpu/command_buffer/service/feature_info_unittest.cc
@@ -1183,6 +1183,18 @@ TEST_P(FeatureInfoTest, ARBSyncDisabled) {
EXPECT_FALSE(gfx::GLFence::IsSupported());
}
+TEST_P(FeatureInfoTest, BlendEquationAdvancedDisabled) {
+ base::CommandLine command_line(0, NULL);
+ command_line.AppendSwitchASCII(
+ switches::kGpuDriverBugWorkarounds,
+ base::IntToString(gpu::DISABLE_BLEND_EQUATION_ADVANCED));
+ SetupInitExpectationsWithCommandLine(
+ "GL_KHR_blend_equation_advanced_coherent GL_KHR_blend_equation_advanced",
+ command_line);
+ EXPECT_FALSE(info_->feature_flags().blend_equation_advanced);
+ EXPECT_FALSE(info_->feature_flags().blend_equation_advanced_coherent);
+}
+
TEST_P(FeatureInfoTest, InitializeCHROMIUM_path_rendering) {
SetupInitExpectationsWithGLVersion(
"GL_ARB_compatibility GL_NV_path_rendering GL_EXT_direct_state_access",
« no previous file with comments | « gpu/command_buffer/service/feature_info.cc ('k') | gpu/config/gpu_driver_bug_list_json.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698