--- media/video/mappable_shared_image_video_frame_pool.cc.orig 2026-04-28 21:06:17 UTC +++ media/video/mappable_shared_image_video_frame_pool.cc @@ -686,7 +686,7 @@ void MappableSharedImageVideoFramePool::PoolImpl::Crea } bool is_software_backed_video_frame = !video_frame->HasSharedImage(); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) is_software_backed_video_frame &= !video_frame->HasDmaBufs(); #endif @@ -1099,7 +1099,7 @@ scoped_refptr MappableSharedImageVideoFram gpu::SHARED_IMAGE_USAGE_WEBGPU_READ); #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Gate this on SharedImage usage as ScopedAccess now CHECKs for it. // TOOD(crbug.com/425634684, crbug.com/413659843): Check for webgpu support // from SharedImageCapabilities, once this metadata is compatible.