diff options
Diffstat (limited to 'devel/electron29/files/patch-components_viz_service_display__embedder_skia__output__surface__impl.cc')
-rw-r--r-- | devel/electron29/files/patch-components_viz_service_display__embedder_skia__output__surface__impl.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron29/files/patch-components_viz_service_display__embedder_skia__output__surface__impl.cc b/devel/electron29/files/patch-components_viz_service_display__embedder_skia__output__surface__impl.cc new file mode 100644 index 000000000000..9588bb660736 --- /dev/null +++ b/devel/electron29/files/patch-components_viz_service_display__embedder_skia__output__surface__impl.cc @@ -0,0 +1,11 @@ +--- components/viz/service/display_embedder/skia_output_surface_impl.cc.orig 2024-02-21 00:20:44 UTC ++++ components/viz/service/display_embedder/skia_output_surface_impl.cc +@@ -1549,7 +1549,7 @@ GrBackendFormat SkiaOutputSurfaceImpl::GetGrBackendFor + ->GetDeviceQueue() + ->GetVulkanPhysicalDevice(), + VK_IMAGE_TILING_OPTIMAL, vk_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, |