aboutsummaryrefslogblamecommitdiff
path: root/www/chromium/files/patch-third__party_blink_renderer_modules_webgl_webgl__rendering__context__base.cc
blob: 544dac3fdad11f6494bb2a99eebd289081088200 (plain) (tree)
1
2
3
4
5
6
7
8
                                                                                                               
                                                                            
                                                                            


                                              

                                                                      


                                                                                 
--- third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc.orig	2024-05-21 18:07:39 UTC
+++ third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc
@@ -6357,7 +6357,7 @@ void WebGLRenderingContextBase::TexImageHelperMediaVid
   constexpr bool kAllowZeroCopyImages = true;
 #endif
 
-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
   // TODO(crbug.com/1175907): Only TexImage2D seems to work with the GPU path on
   // Android M -- appears to work fine on R, but to avoid regressions in <video>
   // limit to TexImage2D only for now. Fails conformance test on Nexus 5X: