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

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

Issue 2693653002: cmaa, gpu: use R8 image texture when GL_NV_image_formats is available. (Closed)
Patch Set: RestoreActiveTexture after initialization Created 3 years, 9 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
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 3eaf1adc7f807bf7acf43dc5d1131cf78730e019..4c2c50ea4ddbac07247e9e5c422c3a890e84b2c6 100644
--- a/gpu/command_buffer/service/feature_info.cc
+++ b/gpu/command_buffer/service/feature_info.cc
@@ -913,6 +913,7 @@ void FeatureInfo::InitializeFeatures() {
(gl_version_info_->IsAtLeastGLES(3, 1) ||
(gl_version_info_->IsAtLeastGL(3, 0) &&
extensions.Contains("GL_ARB_shading_language_420pack") &&
+ extensions.Contains("GL_ARB_texture_storage") &&
extensions.Contains("GL_ARB_texture_gather") &&
extensions.Contains("GL_ARB_explicit_uniform_location") &&
extensions.Contains("GL_ARB_explicit_attrib_location") &&

Powered by Google App Engine
This is Rietveld 408576698