From 94dce7d7fa37e897736f603708c1103edd8646ee Mon Sep 17 00:00:00 2001 From: Dylan Neve Date: Fri, 23 Oct 2026 12:19:59 +0100 Subject: [PATCH] vgpu3d: 1024 resources an open (CoreAnimation shares hundreds of IOSurfaces; 64 left most of them copied) Co-Authored-By: Claude Opus 5.5 --- xnu/files/bsd/dev/redwood_vgpu3d_xnu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xnu/files/bsd/dev/redwood_vgpu3d_xnu.c b/xnu/files/bsd/dev/redwood_vgpu3d_xnu.c index 491881950..bae0b2875 100644 --- a/xnu/files/bsd/dev/redwood_vgpu3d_xnu.c +++ b/xnu/files/bsd/dev/redwood_vgpu3d_xnu.c @@ -57,7 +57,7 @@ struct vgpu3d_ioc_xfer { #define VGPU3D_IOC_DOWNLOAD _IOW('G', 4, struct vgpu3d_ioc_xfer) #define MAX_OPENS 32 -#define MAX_RES 64 +#define MAX_RES 1024 /* CoreAnimation shares hundreds of IOSurfaces */ #define PIPE_SIZE (1u << 20) #define MAX_ENTRIES 3000 /* ATTACH_BACKING entries: 48 KiB of command */