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

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

Issue 1093733002: Disable BGRA support on linux. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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 | 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.cc
diff --git a/gpu/command_buffer/service/feature_info.cc b/gpu/command_buffer/service/feature_info.cc
index 84fc2e4c5642f7050c9976b9517160af2d28b59d..283cb8a0857c13996f5758b14fe840fd89c1db2b 100644
--- a/gpu/command_buffer/service/feature_info.cc
+++ b/gpu/command_buffer/service/feature_info.cc
@@ -527,7 +527,8 @@ void FeatureInfo::InitializeFeatures() {
}
if (extensions.Contains("GL_EXT_read_format_bgra") ||
- extensions.Contains("GL_EXT_bgra")) {
+ extensions.Contains("GL_EXT_bgra") ||
+ workarounds_.support_bgra_color_read_format) {
enable_read_format_bgra = true;
}
« no previous file with comments | « no previous file | gpu/config/gpu_driver_bug_list_json.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698