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

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

Issue 2838153003: Fix darkened pixels when rendering using GPU (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/feature_info.cc
diff --git a/gpu/command_buffer/service/feature_info.cc b/gpu/command_buffer/service/feature_info.cc
index 32e72c69f32652768c47c267509af2b3df97b8d9..1d247d7640638f0f2672765ba76a039941e8e6ae 100644
--- a/gpu/command_buffer/service/feature_info.cc
+++ b/gpu/command_buffer/service/feature_info.cc
@@ -685,12 +685,6 @@ void FeatureInfo::InitializeFeatures() {
}
}
- // The extension GL_EXT_texture_sRGB_decode is the same on desktop and GLES.
- if (extensions.Contains("GL_EXT_texture_sRGB_decode") && !IsWebGLContext()) {
- AddExtensionString("GL_EXT_texture_sRGB_decode");
- validators_.texture_parameter.AddValue(GL_TEXTURE_SRGB_DECODE_EXT);
- }
Ken Russell (switch to Gerrit) 2017/04/25 16:15:01 Simply stopping the command buffer from advertisin
zakerinasab 2017/04/25 16:45:46 Done.
-
bool have_s3tc_srgb = false;
if (gl_version_info_->is_es) {
// On mobile, the only extension that supports S3TC+sRGB is NV_sRGB_formats.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698