31 Commits

Author SHA1 Message Date
Luke Street 2a8471a953 Avoid holding SurfaceLock over gpu_synchronize 2026-06-14 00:14:27 -06:00
Irastris 6f5b36f7d7 Revert "set window coord as UNDEFINED only if x||y==-1 (#185)" (#199)
This reverts commit f93b9e5bc2.
2026-05-17 19:12:16 -04:00
David Kanevskyy f93b9e5bc2 set window coord as UNDEFINED only if x||y==-1 (#185)
* set window coord as UNDEFINED only if x||y==-1

* Pass through window position values directly
2026-05-17 07:22:51 -06:00
Luke Street 211bfb00a8 Wait until window receives focus to respect pauseOnFocusLost 2026-05-10 22:08:04 -06:00
Luke Street 404c452a79 Only release surface on minimize on Android/Apple 2026-05-10 17:09:11 -06:00
Luke Street ac165cf1a6 Hold SDL's Android activity lock around surface-critical areas 2026-05-09 15:02:38 -06:00
Luke Street 06722fb169 More gracefully handle buffer mapping errors 2026-05-09 09:18:05 -06:00
Luke Street 1eeff98783 Android/iOS backgrounding fixes; pause on focus lost 2026-05-08 16:55:12 -06:00
Luke Street 552be91d68 Fix SDL_Renderer scaling & surface format selection 2026-05-06 16:35:54 -06:00
Luke Street 4cd8d2f009 Refactor viewport fit handling; use game viewport for RmlUi 2026-05-05 23:13:31 -06:00
CraftyBoss eceac96bcb RmlUi integration (#142)
* begin work on integration

* draw null tex when tex handle is null, switch to immediates for geometry translation

* fix window resizing and texture loads, switch to dynamic ubo

* remove immediate usage

* Add initial rmlui public API

* Use proper dimensions; fix texture resolution

* Remove unnecessary SetDimensions

* Cleanup & add clip mask support

* Implement blur and shadow filters

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-04-27 23:43:30 -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
Phillip Stephens c21a7f75ab Add experimental mouse API (#126)
* Add experimental mouse API

* Add aurora::core library for aurora::ms

* Add absl::flat_hash_map library for aurora::ms

* Add comment clarifying MS is an aurora extension

* Clear MSStatus::buttons to prevent spurious values

* Minor cleanup for MSRead and MS_BUTTON_* bits

* Switch to Poll -> Read paradigm

* Clear mouse scroll state before polling for events
2026-04-16 12:57:10 -07:00
Luke Street 79507b88b9 Add vsync configuration 2026-04-06 23:04:43 -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 beb6fdbbbc Set window minimum size to 640x480 2026-03-29 15:18:24 -06:00
Roman Sandu 08e965bbe8 Added AURORA_NO_GX build option (#15) 2026-02-23 12:59:05 -07:00
Luke Street 7e98a8e140 Add Android surface support 2026-02-19 23:53:38 -07:00
Luke Street 37ae1bf9b5 Replace usages of Log.report with helpers 2025-04-06 16:37:05 -06:00
Luke Street b07d55f71d Update fmtlib 2025-04-03 21:03:11 -06:00
Luke Street ca3e4f5273 Update to latest upstream dawn 2025-04-03 00:12:22 -06:00
Luke Street 1b088e79e8 Update to SDL3 & latest imgui 2025-04-02 19:57:16 -06:00
Phillip Stephens 6f68612151 Add allowJoystickBackgroundEvents to config 2023-12-15 14:35:32 -08:00
Phillip Stephens 5589b24df6 Add AURORA_WINDOW_MOVED event and add ability to set window position at launch 2023-10-27 14:31:57 -07:00