8 Commits

Author SHA1 Message Date
Luke Street ac165cf1a6 Hold SDL's Android activity lock around surface-critical areas 2026-05-09 15:02:38 -06:00
Luke Street 1eeff98783 Android/iOS backgrounding fixes; pause on focus lost 2026-05-08 16:55:12 -06:00
Luke Street 4cd8d2f009 Refactor viewport fit handling; use game viewport for RmlUi 2026-05-05 23:13:31 -06:00
Luke Street c05e7aace1 Viewport scaling rework & IR configuration (#127)
This is a breaking change: `GXSetViewport`, `GXSetScissor`, `GXSetTexCopySrc`, `GXSetTexCopyDst` now accept logical coords relative to the `VIConfigure` EFB size.

`GXSetViewportRender` and `GXSetScissorRender` are used to override the scaled viewport/scissor from the logical coords.
2026-04-18 14:10:32 -06:00
Pieter-Jan Briers f61c219ef2 Add functionality to lock GX framebuffer aspect ratio (#97)
* Add functionality to lock GX framebuffer aspect ratio

This leaves the imgui (so including OS) framebuffer alone.

AuroraWindowSize now has new fields for the native framebuffer, the aspect ratio controls modify the existing fields.

* Fix from merge

* fix gx_test_stubs.cpp
2026-04-06 21:05:55 -06:00
bdamja a440fc86c3 functions for setting SDL window size and position (#95)
* functions for setting sdl window size and position

* vi functions

* unmaximize before resizing

* typo in restore window
2026-04-05 11:38:31 -06:00
Luke Street e22541f175 Add VISetWindowTitle, VISetWindowFullscreen 2022-07-29 16:46:03 -04:00
Luke Street 9a725c89cf Initial commit 2022-07-27 11:25:25 -04:00