aboutsummaryrefslogtreecommitdiffstats
path: root/devel/electron37/files/patch-gpu_command__buffer_service_shared__context__state.h
blob: 4c5f9503efc42f48a630fabcfb1859ebdf4453e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- gpu/command_buffer/service/shared_context_state.h.orig	2025-06-30 07:04:30 UTC
+++ gpu/command_buffer/service/shared_context_state.h
@@ -238,7 +238,7 @@ class GPU_GLES2_EXPORT SharedContextState
     return &memory_type_tracker_;
   }
 #if BUILDFLAG(ENABLE_VULKAN) && \
-    (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_WIN))
+    (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD))
   ExternalSemaphorePool* external_semaphore_pool() {
     return external_semaphore_pool_.get();
   }
@@ -455,7 +455,7 @@ class GPU_GLES2_EXPORT SharedContextState
   bool disable_check_reset_status_throttling_for_test_ = false;
 
 #if BUILDFLAG(ENABLE_VULKAN) && \
-    (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_WIN))
+    (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD))
   std::unique_ptr<ExternalSemaphorePool> external_semaphore_pool_;
 #endif