@@ -1,26 +0,0 @@
1−A field trial currently enables the passthrough command decoder, which causes
2−gl_factory.cc to try kGLImplementationEGLANGLE first, which causes Chromium to fail
3−to load libGLESv2.so on NixOS. It somehow does not try kGLImplementationDesktopGL,
4−and so there is no GL support at all.
5−
6−Revert to using the validating command decoder, which prevents gl_factory.cc
7−from touching allowed_impls, allowing it to successfully use kGLImplementationDesktopGL.
8−
9−diff --git a/ui/gl/gl_utils.cc b/ui/gl/gl_utils.cc
10−index 697cbed5fe2d..8419bdb21a2f 100644
11−--- a/ui/gl/gl_utils.cc
12−+++ b/ui/gl/gl_utils.cc
13−@@ -71,9 +71,10 @@ bool UsePassthroughCommandDecoder(const base::CommandLine* command_line) {
14− } else if (switch_value == kCmdDecoderValidatingName) {
15− return false;
16− } else {
17−- // Unrecognized or missing switch, use the default.
18−- return base::FeatureList::IsEnabled(
19−- features::kDefaultPassthroughCommandDecoder);
20−+ // Ignore the field trial that enables it; disable it until
21−+ // gl_factory.cc kGLImplementationEGLANGLE issues are sorted
22−+ // out on NixOS.
23−+ return false;
24− }
25− }
26− }