mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-01 20:18:15 +01:00
The backbuffer is now a Swapchain, from GetPrimarySwapchain(), and callers bind, measure and read it back through that instead of nullptr. nullptr still means it too. Backends with one swapchain map the primary to their old backbuffer path. On Metal, CreateSwapchain() adds more, each with its own layer, depth buffer and drawable. Passes merge per swapchain, and Present() presents every drawable acquired that frame. The backbuffer is just the first of them. Nothing creates a second one yet. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>