Commit Graph

862 Commits

Author SHA1 Message Date
hybridherbst
3393721250 Fix: bring back -O3 in LINK_FLAGS for 150kB smaller JS+WASM build 2025-09-11 10:24:46 +02:00
Richard Geldreich
ca56dbbaff Fixing minor compile issue introduced in merged PR 2025-09-05 22:23:31 -04:00
Rich Geldreich
87a1e1fbe6 Merge pull request #400 from zeux/transcoder-unity-build
Fix CMake Unity builds
2025-09-05 22:18:54 -04:00
Richard Geldreich
b17dd2967c Rebuilt WASM execs with latest changes/fixes 2025-09-05 21:24:51 -04:00
Richard Geldreich
dfcfe7bf19 clang warning fix 2025-09-05 21:13:22 -04:00
Richard Geldreich
f96fece6ee typo fix 2025-09-05 21:13:10 -04:00
Richard Geldreich
2c6712697c Fixing thread pool shutdown so the kill flag is set inside the mutex, preventing a race. This could cause very rare lockups on the previous code.
Also for more safety to prevent lockups on buggy C run-times, adding a 1s timeout in the thread pool condition variable wait.
2025-09-05 21:13:04 -04:00
Richard Geldreich
2ac62fb349 changing port from 8000 to 8080 2025-09-05 21:11:00 -04:00
Richard Geldreich
dcb7db72d2 Very minor fix/improvement to HDR 6x6 encoder (channel pair min correlation check). On blocks with all channels active (by far the most common case in practice), there's no difference. 2025-09-05 21:08:02 -04:00
Richard Geldreich
69ad18e035 removing unnecessary debug prints 2025-09-02 17:33:13 -04:00
Rich Geldreich
97a121451d Update README.md 2025-08-22 15:52:14 -04:00
Arseny Kapoulkine
f12efae6f9 Fix CMake Unity builds
transcoder/basisu_astc_helpers.h has a pragma once, but it is also an
implementation header (when ASTC_HELPERS_IMPLEMENTATION is defined).

pragma once is not necessary here as the header has a separate ifdef
guard, and it blocks attempts to compile Basis as a CMake Unity build
(CMAKE_UNITY_BUILD=ON) or as a single-translation unit non-CMake build
if the helpers header has been included earlier in the TU, as the second
inclusion with implementation defined doesn't actually include the
header.
2025-08-17 10:33:16 -07:00
Rich Geldreich
1172d07395 Update README.md 2025-07-20 21:00:34 -04:00
Richard Geldreich
5d64f944f5 Fixing BASISU_OPENCL_ASSERT_ON_ANY_ERRORS so it's 0 by default 2025-07-17 12:18:18 -04:00
Richard Geldreich
480ab65821 fixing license 2025-07-08 11:24:27 -04:00
Rich Geldreich
d5906ac837 Update Apache-2.0.txt
adding copyright
2025-07-08 11:20:39 -04:00
Rich Geldreich
d8d1bfc532 Update README.md 2025-06-30 21:25:12 -04:00
Richard Geldreich
100ace82d2 emcc warning fixes, fixing warnings in WASM cmakelists.txt files, changing ETC1S encoder to use std::map vs. std::unordered_map for hopefully more cross platform determinism 2025-06-24 17:22:05 -04:00
Richard Geldreich
75b19f6aff new file 2025-06-24 17:20:16 -04:00
Rich Geldreich
f0fe96152f Merge pull request #391 from cubeleo/master
CMake: Fixed VS build by setting the C++ standard to 17 for "if constexpr".
2025-06-24 16:08:14 -04:00
Rich Geldreich
e62d9a3af0 Merge pull request #387 from Chubercik/ambiguity_fix
Fix ambiguous calls to `safe_shift_left()` in `basisu_containers.h`
2025-06-18 21:38:26 -04:00
Rich Geldreich
a626bf5820 Merge pull request #394 from Chubercik/no_superscript
Change `²` (U+00B2) to `^2`
2025-06-18 21:27:14 -04:00
Rich Geldreich
4b7cdb1753 Merge pull request #395 from akien-mga/transcoder-containers-include-ctype.h
Add missing `ctype.h` include for transcoder/basisu_containers_impl.h
2025-06-18 21:26:15 -04:00
Rémi Verschelde
40288583c7 Add missing ctype.h include for transcoder/basisu_containers_impl.h
The file uses `isdigit` and `isalpha` from `ctype.h`, and recent MSVC seems
to require it explicitly.
2025-05-07 23:16:28 +02:00
Jakub Marcowski
4855a3e338 Change ² (U+00B2) to ^2 2025-04-25 15:54:31 +02:00
Rich Geldreich
04f30f081a Update README.md 2025-04-06 00:23:12 -04:00
Richard Geldreich
42c21d8066 removing unnecessary #include (which was used for testing) 2025-03-22 17:12:16 -04:00
Aaron B. Dwyer
de69929c89 CMakeLists.txt: Set the C++ standard to 17 so "if constexpr" is formally available. Fixes the build on Visual Studio + CMake. 2025-03-17 20:27:42 -07:00
Jakub Marcowski
b738655c40 Fix ambiguous calls to safe_shift_left() in basisu_containers.h
Explicitly cast 1 to `uint64_t` to resolve overload ambiguity between `safe_shift_left(uint32_t, uint32_t)` and `safe_shift_left(uint64_t, uint32_t)`.
2025-03-11 18:35:04 +01:00
Rich Geldreich
2da6664eab Update README.md 2025-02-25 01:17:52 -05:00
Rich Geldreich
77a1465b98 Update README.md 2025-02-19 15:17:46 -05:00
Rich Geldreich
be27e75f37 Update README.md 2025-02-19 15:12:04 -05:00
Rich Geldreich
841b381ba5 Update README.md 2025-02-19 15:11:35 -05:00
Richard Geldreich, Jr.
b7ce25fd02 Windows ARM fixes 2025-02-19 15:09:52 -05:00
Rich Geldreich
576668bbd2 Update README.md 2025-02-18 03:04:41 -05:00
Rich Geldreich
4c7d288672 Update README.md 2025-02-18 03:02:44 -05:00
Rich Geldreich
c88dd02722 Update README.md 2025-02-18 03:02:10 -05:00
Rich Geldreich
c82d7d2e65 Update README.md 2025-02-18 03:00:08 -05:00
Rich Geldreich
8b080b7fb3 Update README.md 2025-02-18 02:51:06 -05:00
Rich Geldreich
484ffd5ea0 Update README.md 2025-02-18 02:41:39 -05:00
Rich Geldreich
b7ed1dace1 Update README.md 2025-02-18 02:39:43 -05:00
Rich Geldreich
e5a8d655dd Update README.md 2025-01-23 00:09:05 -05:00
Rich Geldreich
34c0321e8d Update README.md 2025-01-22 21:36:23 -05:00
Rich Geldreich
9cc2dd2469 Update README.md 2025-01-22 21:35:02 -05:00
Rich Geldreich
fa4d93a2a5 Update README.md 2025-01-22 21:33:23 -05:00
Richard Geldreich
323239a6a5 removing file v1_60 2025-01-21 13:36:41 -05:00
Richard Geldreich
00fec43334 re-adding file 2025-01-21 13:35:11 -05:00
Richard Geldreich
d8028601e8 removing file 2025-01-21 13:34:33 -05:00
Richard Geldreich
b0801ecd2c adding .gitattributes 2025-01-21 13:23:26 -05:00
Rich Geldreich
94d783e793 Update README.md 2025-01-21 12:47:13 -05:00