44 Commits

Author SHA1 Message Date
Reilly Brogan ad61647a74 Update SDL3 and use zlib-ng (#217)
* Update SDL3 and use zlib-ng

Signed-off-by: Reilly Brogan <reilly@reillybrogan.com>

* Update Dawn & SDL3 ref

---------

Signed-off-by: Reilly Brogan <reilly@reillybrogan.com>
Co-authored-by: Luke Street <luke@street.dev>
2026-06-03 20:57:15 -06:00
Luke Street 59349fb982 Fix Windows build issues 2026-06-02 23:55:23 -06:00
Reilly Brogan 49e61d7dad Search for system installs of sqlite3 and zstd (#215)
* Search for system installs of sqlite3 and zstd

This appears to work to build Aurora against both cmake and autoconf installs of libzstd.

Signed-off-by: Reilly Brogan <reilly@reillybrogan.com>

* Fix sqlite3 compat with older cmake

Signed-off-by: Reilly Brogan <reilly@reillybrogan.com>

---------

Signed-off-by: Reilly Brogan <reilly@reillybrogan.com>
2026-05-31 13:50:37 -06:00
Luke Street 839af55c15 Fix BUILD_SHARED_LIBS preservation on reconfigure 2026-05-31 12:49:26 -06:00
Luke Street f1f6bc5b28 Add SKIP_INSTALL_ALL 2026-05-12 21:58:54 -06:00
Luke Street 49952a97b5 Setup shared/static zlib/png 2026-05-12 21:54:30 -06:00
Pieter-Jan Briers f7f3d52cfc Texture loading fixes (#170)
* Implement PNG & arb texture replacements

Fixes #119

For arb textures it's just making sure the file parsing can handle them. Idk if we need to do something special for it.

* Allow non-mipmapped textures to be replaced by mipmapped textures

Some of Henriko's textures (like the cuttable grass) rely on this.

The mipmap bool is no longer part of the runtime key.

* Make texture name the texture replacement key

Might as well? Helped me debug some stuff

* Oops that broke it bad

* libpng instead of spng

* I did it again

* Update libpng fetch

* Add zlib fetch

* Forgot to set the hash

* Add zlib redirect

* Add INCLUDE_DIR(S) to redirect

* Prefer shared for libpng

* Set CMAKE_FIND_PACKAGE_TARGETS_GLOBAL

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-05-12 20:32:43 -06:00
Luke Street aff6edf9de Use freetype mirror 2026-05-10 17:21:03 -06:00
Luke Street 17be93f0ae ImGui: Redirect file access through SDL_IOStream 2026-05-08 00:27:45 -06:00
Luke Street 552be91d68 Fix SDL_Renderer scaling & surface format selection 2026-05-06 16:35:54 -06:00
Luke Street fb7c8fd5f7 Let ImGui use vendored Freetype 2026-05-03 21:15:13 -06:00
Luke Street a40c9aeb61 Disable Brotli/HarfBuzz/PNG in vendored Freetype 2026-05-03 20:47:05 -06:00
Luke Street d950468064 Update RmlUi to latest commit 2026-04-30 22:15:03 -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 ac3611e518 Improve resolve_sampled_textures performance considerably & add more traces 2026-04-12 15:35:28 -06:00
Luke Street 2a9a7943f1 Make IMGUI_ENABLE_FREETYPE PUBLIC in target_compile_definitions 2026-04-09 23:03:41 -06:00
Pieter-Jan Briers 212d01769d Tracy integration (#106)
* Sprinkle Tracy all over the project

* Move Tracy FetchContent to extern file, disable Tracy by default

* Use older CMake syntax for setting cache variables

* Fix test compile

* Rename ALIGN macro to AURORA_ALIGN

Needed because it conflicts with a macro in Apple's SDK headers on my macbook, and Tracy is now pulling in that header.
2026-04-08 19:19:58 -06:00
Pieter-Jan Briers bec90f1b68 Set up dawn cache (#98)
* Set up dawn cache

Massively speeds up pipeline compilation on the second go around, especially for D3D12.

Currently, uses SQLite for the cache. SQLite is committed in as the "amalgam" blob, but I'm open for better ways to fetch it.

* Compress cache contents with zstd

More significantly for Vulkan, less so for D3D12.

* Store cache keys as XXH128 instead

This reduces the size of the D3D12 cache by a ridiculous amount

* Stop using exceptions for error handling

* FetchContent for sqlite; cleanup & make zstd optional

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-04-08 13:46:51 -06:00
Jeffrey Crowell db33a27e67 make absl always come from aurora deps and not system (#52)
* use system absl, if it doesn't exist, then pull

* update
2026-03-10 19:44:51 -06:00
Luke Street b4b64fb9be Revamp aurora dependencies, use prebuilt packages
Dawn, SDL3 and nod are fetched as a prebuilt package when available
for the current platform. Otherwise, system libraries are attempted.
Finally, we fallback to building them from source.
2026-03-09 21:34:40 -06:00
Luke Street 8430a1adfd Rework workflow & fix C++ import in C header 2026-03-05 08:36:28 -07:00
Luke Street 26f7461045 Revert "Use CmakeCPM -- speed up configuration (#18)" (#21)
This reverts commit c25122715c.
2026-03-01 11:09:15 -07:00
Roman Sandu c25122715c Use CmakeCPM -- speed up configuration (#18) 2026-02-28 01:03:05 -07:00
Roman Sandu 08e965bbe8 Added AURORA_NO_GX build option (#15) 2026-02-23 12:59:05 -07:00
Pieter-Jan Briers 0cc255ab2b Fix CRT dynamic linkage config if CMAKE_MSVC_RUNTIME_LIBRARY is not specified (#13)
This caused abseil and nothing else to have static CRT linkage, which doesn't work.
2026-02-23 08:14:59 -07:00