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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h

Issue 2519603002: Add command buffer support for EXT_sRGB_write_control (Closed)
Patch Set: and without breaking compile Created 4 years 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_0_autogen.h
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h
index af2e41cffbfb95d3d52d8118d0d61b362b1cf0aa..d155c35ccd86345f1d18ee8aa736cea7de938f0e 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h
@@ -17,6 +17,9 @@ void GLES2DecoderTestBase::SetupInitCapabilitiesExpectations(bool es3_capable) {
ExpectEnableDisable(GL_CULL_FACE, false);
ExpectEnableDisable(GL_DEPTH_TEST, false);
ExpectEnableDisable(GL_DITHER, true);
+ if (group_->feature_info()->feature_flags().ext_srgb_write_control) {
+ ExpectEnableDisable(GL_FRAMEBUFFER_SRGB_EXT, true);
+ }
ExpectEnableDisable(GL_POLYGON_OFFSET_FILL, false);
ExpectEnableDisable(GL_SAMPLE_ALPHA_TO_COVERAGE, false);
ExpectEnableDisable(GL_SAMPLE_COVERAGE, false);
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_autogen.h ('k') | gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698