Commit graph

2199 commits

Author SHA1 Message Date
0236fc97b7 Add srgb default framebuffer support in application options (implemented in sdl2 non-web only) 2026-07-21 13:20:10 +03:00
63f247c877 Update triangulation example: use input GeoJSON and support multipolygon
All checks were successful
Run tests / Run tests (push) Successful in 7m5s
2026-07-20 18:09:10 +03:00
e032f8d54b Disable automatic image decoding in web builds
All checks were successful
Run tests / Run tests (push) Successful in 6m59s
2026-07-20 15:24:51 +03:00
d785efc708 Fix canvas aspect ratio in web builds 2026-07-20 15:24:37 +03:00
0ecc33cc29 Log SDL2 window size at window creation 2026-07-20 15:24:15 +03:00
506a6c303e Add audio::mixer::max_length
All checks were successful
Run tests / Run tests (push) Successful in 6m43s
2026-07-19 19:39:54 +03:00
99b103b267 Fix audio::recorder::request 2026-07-19 19:39:45 +03:00
ae2efc94fb Add audio::duration::from_seconds
All checks were successful
Run tests / Run tests (push) Successful in 6m43s
2026-07-19 13:34:32 +03:00
20c3fca4b4 Add inline to audio::literals
All checks were successful
Run tests / Run tests (push) Successful in 6m50s
2026-07-19 03:35:33 +03:00
e1dfca7293 Add missing pragma once
All checks were successful
Run tests / Run tests (push) Successful in 6m49s
2026-07-19 03:28:09 +03:00
e94490cf95 Add butterworth low & high pass filters
All checks were successful
Run tests / Run tests (push) Successful in 6m58s
2026-07-19 02:16:29 +03:00
b39475d3ac Replace audio::feedforward/feedback filters with general linear filters 2026-07-19 01:48:39 +03:00
4de0499d29 Add audio envelope helper based on a sequence of linear or exponential segments
All checks were successful
Run tests / Run tests (push) Successful in 6m46s
2026-07-18 22:32:47 +03:00
748035c514 Add audio::literals to represent durations like 100_ms or 0.5_s 2026-07-18 22:32:25 +03:00
20fbb9c5ac Remove unused include 2026-07-18 22:32:04 +03:00
2d66f12707 Rename envelope -> envelope_base 2026-07-18 22:31:53 +03:00
c177911737 Add generic envelope filter and re-implement fade in/out using it 2026-07-18 19:03:56 +03:00
dbf5117dc6 Fix length computation in truncate filter 2026-07-18 19:03:29 +03:00
3713f620bb Update create-project script
All checks were successful
Run tests / Run tests (push) Successful in 6m42s
2026-07-17 17:08:39 +03:00
45fbc7399c Update to wgpu-native v29.0.1.1
All checks were successful
Run tests / Run tests (push) Successful in 7m47s
2026-07-10 17:40:56 +03:00
0d54fa7f03 Fix sdl2 CMakeLists.txt on non-apple platforms
All checks were successful
Run tests / Run tests (push) Successful in 7m37s
2026-07-09 20:59:48 +03:00
a0a1e18162 Split package_files and package_resources: the former simply adds to the zip archive, the latter uses platform-specific resources packaging (on web and android)
All checks were successful
Run tests / Run tests (push) Successful in 7m52s
2026-07-07 13:38:06 +03:00
8f56ae11b5 Update create-project script
Some checks failed
Run tests / Run tests (push) Has been cancelled
2026-07-07 13:19:03 +03:00
34c1a92f0b Add util::hash_table::count for compatibility
All checks were successful
Run tests / Run tests (push) Successful in 7m36s
2026-07-07 13:11:19 +03:00
664b1d613e Add io::expanding_memory_ostream that writes to std::vector<char>
All checks were successful
Run tests / Run tests (push) Successful in 7m34s
2026-07-06 22:41:38 +03:00
ae3b91e7b1 Set file stream buffers to pre-allocated 1MB chunk on web builds 2026-07-06 22:41:01 +03:00
32bbc93eea Open read-only files as r+b on web builds (apparently read-only files have perf issues) 2026-07-06 22:40:20 +03:00
6ea10520b5 Change resource & storage access logging 2026-07-06 22:39:04 +03:00
55d18aaa33 Add app::storage path and set it to WASMFS-mounted directory on web builds 2026-07-06 22:38:38 +03:00
8587ba6bc0 Update to emscripten 6 and pre-build sdl2 in web packaging image 2026-07-06 22:37:16 +03:00
f30da1a2ad Don't set pthread names in web builds 2026-07-06 22:34:36 +03:00
75471c6054 Don't link SDL2 on web (break when using multithreaded emsdk build) 2026-07-06 22:33:21 +03:00
1195bd26d5 Change resources path in web builds 2026-07-05 18:38:47 +03:00
155ced8410 Introduce PSEMEK_PLATFORM and PSEMEK_PLATFORM_XXX variables
All checks were successful
Run tests / Run tests (push) Successful in 7m38s
2026-07-05 14:01:41 +03:00
dd07244a40 Update auto-generated opengl loaders & use shader prelude in gfx effects 2026-07-05 13:36:59 +03:00
b989eba66d Implement resource packaging for web builds
All checks were successful
Run tests / Run tests (push) Successful in 8m28s
2026-07-04 17:33:28 +03:00
ce019229bb Use larger audio buffer on web
All checks were successful
Run tests / Run tests (push) Successful in 10m37s
2026-07-04 17:01:04 +03:00
fac3503820 Prevent registering threads twice in logger
Important for web builds where audio thread coincides with main thread
2026-07-04 17:00:39 +03:00
151afec7f0 Fix app context lifetime in emscripten
All checks were successful
Run tests / Run tests (push) Successful in 7m49s
2026-07-04 16:31:34 +03:00
abf45f3dcb Fix handling key events (this also intercepts browser shortcuts, sadly) 2026-07-04 16:30:44 +03:00
7dd55d94a9 Add template html for Emscripten builds
All checks were successful
Run tests / Run tests (push) Successful in 8m11s
2026-07-04 00:46:36 +03:00
5126dc74f8 Merge pull request 'make color-fractory somewhat work on web' (#2) from yulya3102/psemek:web-runtime into master
All checks were successful
Run tests / Run tests (push) Successful in 7m57s
Reviewed-on: #2
2026-07-03 19:32:10 +00:00
4d7926b698 Final Emscripten OpenGL fixes 2026-07-03 22:29:58 +03:00
2e94515c05 Disable parts of gfx library on web 2026-07-03 20:24:56 +02:00
bd70f197ab Use gles30-emscripten for web builds instead of gles32 2026-07-03 20:11:28 +02:00
2407c1262e Add -sFULL_ES3 for web builds 2026-07-03 19:32:52 +02:00
8adb68630e Change mainloop for web builds 2026-07-03 14:28:26 +02:00
1f1feaccf3 Don't crash executable_path() on web 2026-07-03 14:28:26 +02:00
b2d34fd602 Disable GL context attributes on web 2026-07-03 14:28:26 +02:00
0b3fdd26c5 Add necessary GLES fixes and missing JS functions 2026-07-03 14:28:26 +02:00