aboutsummaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-components_viz_host_gpu__host__impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron37/files/patch-components_viz_host_gpu__host__impl.cc')
-rw-r--r--devel/electron37/files/patch-components_viz_host_gpu__host__impl.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-components_viz_host_gpu__host__impl.cc b/devel/electron37/files/patch-components_viz_host_gpu__host__impl.cc
new file mode 100644
index 000000000000..032c9820ea4c
--- /dev/null
+++ b/devel/electron37/files/patch-components_viz_host_gpu__host__impl.cc
@@ -0,0 +1,11 @@
+--- components/viz/host/gpu_host_impl.cc.orig 2025-03-24 20:50:14 UTC
++++ components/viz/host/gpu_host_impl.cc
+@@ -135,7 +135,7 @@ GpuHostImpl::GpuHostImpl(Delegate* delegate,
+ mojom::GpuServiceCreationParams::New();
+ #if BUILDFLAG(IS_OZONE)
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Linux has an issue when running in single-process mode wherein
+ // GetPlatformRuntimeProperties() browser-side calls can have a data race with
+ // in-process GPU service initialization. The call to