mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 15:00:30 +02:00
A tile's head and busy flag, which the drawing threads write, shared a cache line with its tail, which the emulation thread writes for every item it hands the tile. And a drawing thread waiting for work read every tile's head and tail again and again. Now the tail has a line of its own, and a waiting thread watches one counter that DistributeItems bumps, looking at the tiles only when it changes. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>