head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.09.22.12.27.03; author wiz; state Exp; branches; next ; commitid HjjmzcByixSfbCWG; desc @@ 1.1 log @webkit-gtk41: update to 2.54.0. - Switch web process compositor to use Skia instead of TextureMapper. - Improved damage handling that is now also used during the composition to limit the composited areas. - Implement GPU atlas creation and replay substitution for batched raster image uploads. - Media capability reporting is more accurate. - Video decoding limits are now respected in media capabilities queries. - Add new improved API for page favicons. - Add magnification property to WebKitWebView to handle visual scaling. - Add new API to allow setting a per-navigation custom User-Agent to WebKitWebsitePolicies. - Remove the option to use cairo for 2D rendering. Also tested by fox@@ @ text @$NetBSD$ Add NetBSD support for memoryStatus. --- Source/WTF/wtf/AvailableMemory.h.orig 2026-09-16 20:05:45.962495471 +0000 +++ Source/WTF/wtf/AvailableMemory.h @@@@ -32,7 +32,7 @@@@ WTF_EXPORT_PRIVATE size_t availableMemory(); WTF_EXPORT_PRIVATE size_t availableMemory(); -#if PLATFORM(IOS_FAMILY) || OS(LINUX) || OS(FREEBSD) +#if PLATFORM(IOS_FAMILY) || OS(LINUX) || OS(FREEBSD) || OS(NETBSD) struct MemoryStatus { MemoryStatus(size_t memoryFootprint, double percentAvailableMemoryInUse) : memoryFootprint(memoryFootprint) @@@@ -55,7 +55,7 @@@@ inline bool isUnderMemoryPressure() inline bool isUnderMemoryPressure() { -#if PLATFORM(IOS_FAMILY) || OS(LINUX) || OS(FREEBSD) +#if PLATFORM(IOS_FAMILY) || OS(LINUX) || OS(FREEBSD) || OS(NETBSD) constexpr double memoryPressureThreshold = 0.75; return percentAvailableMemoryInUse() > memoryPressureThreshold; #else @