Commit graph

8 commits

Author SHA1 Message Date
47ba62c7b2 Bump version to 2026.8.4 2026-08-04 22:56:28 +10:00
9d2af4e58f Support free-threaded Python 3.14t
Declare the module GIL-free with #[pymodule(gil_used = false)] so
importing textgrid no longer re-enables the GIL in free-threaded builds.
Bump version to 2026.8.3.
2026-08-03 08:23:12 +10:00
0dfd6e0e63 bump pyo3 0.24→0.25 for native python 3.14 support 2026-07-28 13:51:26 +10:00
0e32121f02 bump pyo3 0.23→0.24 for python 3.14 support 2026-07-28 13:31:54 +10:00
771e7cbe8e Platform-specific wgpu backends for faster builds 2026-07-23 11:24:46 +10:00
182cd5ec7a Re-enable GPU backends for RPi5 and cross-platform support
Features now: std, spirv, parking_lot, vulkan, gles, metal, dx12
Drops wgsl (replaced by SPIR-V passthrough), keeps all platform backends.
.so size: 9.4 MB -> 4.0 MB
2026-07-22 22:01:57 +10:00
0c8bb45215 Reduce .so from 9.4 MB to 721 KB via SPIR-V passthrough and release optimizations
- Compile shader.wgsl to SPIR-V at build time, commit .spv to repo
- Use wgpu PASSTHROUGH_SHADERS feature to skip naga runtime
- Disable default wgpu features, keep only 'spirv'
- Add release profile: LTO, strip, opt-level=z, panic=abort, codegen-units=1
- Use create_shader_module_passthrough() instead of create_shader_module()

To regenerate shader.spv after editing shader.wgsl:
  naga-cli src/shader.wgsl shader.spv
2026-07-22 12:57:20 +10:00
f04f3a8ae9 initial commit 2026-07-20 12:53:51 +10:00