blob: a8b7698c4d80923f5ca98f81222163fe0e354f61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-mozilla_gfx_layers_client_ClientPaintedLayer.cpp,v 1.2 2021/02/08 12:26:20 ryoon Exp $
NetBSD has the same limitation on CrossProcessSemaphore
(non-functioning in NetBSD<9, leaky due to Firefox destroying
semaphores created across processes in NetBSD>=9)
--- gfx/layers/client/ClientPaintedLayer.cpp.orig 2020-04-01 11:01:50.000000000 +0000
+++ gfx/layers/client/ClientPaintedLayer.cpp
@@ -310,7 +310,7 @@ ClientLayerManager::CreatePaintedLayerWi
NS_ASSERTION(InConstruction(), "Only allowed in construction phase");
// The non-tiling ContentClient requires CrossProcessSemaphore which
// isn't implemented for OSX.
-#ifdef XP_MACOSX
+#if defined(XP_MACOSX) || defined(__NetBSD__)
if (true) {
#else
if (gfxPrefs::LayersTilesEnabled()) {
|