head 1.2; access; symbols pkgsrc-2023Q2:1.1.0.16 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.14 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.12 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.10 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.8 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.6 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.4 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.2 pkgsrc-2021Q3-base:1.1; locks; strict; comment @// @; 1.2 date 2023.08.28.06.46.33; author nia; state dead; branches; next 1.1; commitid k5AcFtqTToSnkwCE; 1.1 date 2021.09.08.22.19.50; author nia; state Exp; branches; next ; commitid WLt8TLNOLdACBc8D; desc @@ 1.2 log @Remove www/firefox91 We were keeping this around for screen recording support, which is now supported and stable in 102 ESR. @ text @$NetBSD: patch-gfx_thebes_gfxPlatform.cpp,v 1.1 2021/09/08 22:19:50 nia Exp $ Don't rely on CrossProcessSemaphore on NetBSD. It has some implementation issues that cause issues (kern/55386, not available on NetBSD<9) This idea is borrowed from macOS which has the same limitation. --- gfx/thebes/gfxPlatform.cpp.orig 2020-06-03 01:04:50.000000000 +0000 +++ gfx/thebes/gfxPlatform.cpp @@@@ -2922,6 +2922,10 @@@@ bool gfxPlatform::UsesOffMainThreadCompo } bool gfxPlatform::UsesTiling() const { +#ifdef __NetBSD__ + // Avoid relying on CrossProcessSemaphore + return true; +#else bool usesSkia = GetDefaultContentBackend() == BackendType::SKIA; // We can't just test whether the PaintThread is initialized here because @@@@ -2934,6 +2938,7 @@@@ bool gfxPlatform::UsesTiling() const { return StaticPrefs::layers_enable_tiles_AtStartup() || (StaticPrefs::layers_enable_tiles_if_skia_pomtp_AtStartup() && usesSkia && usesPOMTP); +#endif } bool gfxPlatform::ContentUsesTiling() const { @ 1.1 log @Add Firefox 91ESR as a starting point for the branch. @ text @d1 1 a1 1 $NetBSD: patch-gfx_thebes_gfxPlatform.cpp,v 1.7 2020/06/14 18:42:19 maya Exp $ @