$NetBSD$ * Part of patchset to build chromium on NetBSD * Based on OpenBSD's chromium patches, and pkgsrc's qt5-qtwebengine patches --- components/viz/service/gl/gpu_service_impl.cc.orig 2025-09-08 23:21:33.000000000 +0000 +++ components/viz/service/gl/gpu_service_impl.cc @@ -501,7 +501,7 @@ void GpuServiceImpl::InitializeWithHostI mojo::Remote gpu_host(std::move(pending_gpu_host)); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) gpu_extra_info_.is_gmb_nv12_supported = IsGMBNV12Supported(); #endif @@ -1266,7 +1266,7 @@ bool GpuServiceImpl::OnBeginFrameDerived return true; } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) bool GpuServiceImpl::IsGMBNV12Supported() { CHECK(main_runner_->BelongsToCurrentThread());