summaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-components_viz_service_display__embedder_skia__output__surface__impl.cc
blob: 991d6c2912ef7fe5dce40648024ebebad2cf5132 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- components/viz/service/display_embedder/skia_output_surface_impl.cc.orig	2024-04-26 05:03:53 UTC
+++ components/viz/service/display_embedder/skia_output_surface_impl.cc
@@ -1527,7 +1527,7 @@ GrBackendFormat SkiaOutputSurfaceImpl::GetGrBackendFor
                                           ->GetVulkanPhysicalDevice(),
                                       VK_IMAGE_TILING_OPTIMAL, vk_format,
                                       si_format, yuv_color_space, ycbcr_info);
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
     // Textures that were allocated _on linux_ with ycbcr info came from
     // VaapiVideoDecoder, which exports using DRM format modifiers.
     return GrBackendFormats::MakeVk(gr_ycbcr_info,