13 Commits

Author SHA1 Message Date
Luke Street 71d8462557 Introduce render worker & revamp RmlUi backend 2026-06-04 23:43:13 -06:00
Luke Street d8720454bb RmlUi: Implement custom touch* events 2026-05-27 22:56:19 -06:00
Irastris 312514bd77 Implement Area sampling for scaling the internal resolution (#197)
* Implement Area sampler for scaling the internal resolution

* Move resampling to before RmlUi instead of inside it
Allows non-Bilinear resampling to work regardless of RmlUi being init
2026-05-17 20:57:23 -04:00
Luke Street c50f5cda92 Fix draw call count & dirty on currentPnMtx change 2026-05-14 17:06:57 -06:00
Mart 62e55287ea feat(rmlui): add user-configurable ui scale multiplier (#169)
* feat(rmlui): add user-configurable ui scale multiplier

Expose `aurora::rmlui::set_ui_scale` / `get_ui_scale` so consumers can
multiply the RmlUi context's density-independent pixel ratio without
having to fight `sync_context_metrics` resetting the value every render.

Default scale is 1.0 (no behavior change); the multiplier is clamped to
[0.25, 4.0] and applied inside `sync_context_metrics`, so existing
display-scale syncing continues to work for HiDPI / display-change
events.

* refactor: specific scale vs multiplier
2026-05-11 19:50:05 -06:00
Luke Street 1eeff98783 Android/iOS backgrounding fixes; pause on focus lost 2026-05-08 16:55:12 -06:00
Luke Street a548a616b4 RmlUi: Accuracy, performance & MSAA 2026-05-07 17:19:12 -06:00
Luke Street 4cd8d2f009 Refactor viewport fit handling; use game viewport for RmlUi 2026-05-05 23:13:31 -06:00
CraftyBoss 0d05404564 Switch RmlUi FileInterface to custom SDL version (#152)
* add file interface that uses SDL file io to access filesystem

this fixes android not properly accessing asset system through SDL, as the default file interface uses the standard C api, which on android is directed to the apps data directory.

* remove debug logs, run clang format
2026-05-03 18:46:34 -06:00
Luke Street a923cc0db4 RmlUi: Fix horizontal scrolling 2026-05-03 18:26:45 -06:00
Luke Street 1119435dd1 Let ImGui block inputs from RmlUi 2026-05-01 21:52:55 -06:00
Luke Street a2c431d084 RmlUi: Add a hacky API to adjust input type 2026-04-30 00:05:37 -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