mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 23:10:33 +02:00
Every rotation, fold or window resize destroyed the activity and with it all of graphics, then built it all up again. Declare those config changes handled, so they arrive as a surfaceChanged and go through the same resize path as a desktop window resize. That path needed three things it didn't have on Android: - The GPU_DISPLAY_RESIZED message, left out for Android since 2020 when DeviceRestore covered every size change. - A fixed (hardware scaled) surface size is now recomputed on each in-place surface change, since surfaceCreated no longer runs on a rotation. - A 180 degree flip keeps the size but changes the surface transform, so the display rotation is passed along and a change in it is a resize too. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>