--- third_party/blink/renderer/platform/graphics/canvas_resource_provider.cc.orig 2026-06-23 23:37:18 UTC +++ third_party/blink/renderer/platform/graphics/canvas_resource_provider.cc @@ -1285,7 +1285,7 @@ Canvas2DResourceProviderSharedImage::CreateWithClear( gpu::SHARED_IMAGE_USAGE_CONCURRENT_READ_WRITE); #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // WebGpu preferred canvas on linux is RGBA and interop (vk on gl) is // dependent on canvas copies being RGBA (not BGRA). should_force_bgra8_to_rgba = true; @@ -1439,7 +1439,7 @@ CanvasNon2DResourceProviderSharedImage::Create( gpu::SHARED_IMAGE_USAGE_CONCURRENT_READ_WRITE); #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // WebGpu preferred canvas on linux is RGBA and interop (vk on gl) is // dependent on canvas copies being RGBA (not BGRA). should_force_bgra8_to_rgba = true;