aboutsummaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__image_shared__image__manager.cc
blob: f5ab58a223a39387b0b3e2897c975d409697ba6b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- gpu/command_buffer/service/shared_image/shared_image_manager.cc.orig	2023-09-17 07:59:53 UTC
+++ gpu/command_buffer/service/shared_image/shared_image_manager.cc
@@ -507,7 +507,7 @@ bool SharedImageManager::SupportsScanoutImages() {
   return true;
 #elif BUILDFLAG(IS_ANDROID)
   return base::AndroidHardwareBufferCompat::IsSupportAvailable();
-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
   return ui::OzonePlatform::GetInstance()
       ->GetPlatformRuntimeProperties()
       .supports_native_pixmaps;