Commit Graph

903 Commits

Author SHA1 Message Date
Richard Geldreich
2191785570 new files 2026-01-19 02:01:02 -05:00
Richard Geldreich
e93d3beb36 merging v2.0 from xuastc_private 2026-01-19 01:59:54 -05:00
Richard Geldreich
ea6778b2b5 adding new files 2026-01-19 01:59:35 -05:00
Richard Geldreich
9d87991078 adding new files 2026-01-19 01:57:12 -05:00
Richard Geldreich
2d096d935e adding new files 2026-01-19 01:57:04 -05:00
Richard Geldreich
21c71a32e2 adding new file 2026-01-19 01:56:47 -05:00
Richard Geldreich
69c26e14d4 adding new files 2026-01-19 01:56:32 -05:00
Richard Geldreich
0b141838e7 removing unused file 2026-01-19 01:56:17 -05:00
Rich Geldreich
c54f46f8aa Clean up links section in README.md
Removed several links from the README.
v1_60_snapshot_final
2026-01-18 23:43:01 -05:00
Rich Geldreich
09733432c8 Update links in README.md for testbed and examples
Updating web testbed links for v2.0
2026-01-18 23:21:01 -05:00
Richard Geldreich
5c511882f1 changing CMAKE_SOURCE_DIR to CMAKE_CURRENT_SOURCE_DIR for Windows OpenCL builds v1_60_snapshot 2025-12-04 09:26:47 -05:00
Rich Geldreich
d8148274b3 Merge pull request #417 from BluFedora/master
Switch from using "CMAKE_SOURCE_DIR" to CMAKE_CURRENT_SOURCE_DIR for "basisu.manifest".
2025-12-04 09:18:35 -05:00
Shareef Raheem
f19a5e32c2 Switch from using "CMAKE_SOURCE_DIR" to CMAKE_CURRENT_SOURCE_DIR to fix usage as a submodule. 2025-12-04 04:48:58 -08:00
Richard Geldreich
fc59cab71d unbreaking the purposely broken build for testing purposes 2025-11-23 15:37:58 -05:00
Richard Geldreich
593b1146d3 purposely breaking the build for testing purposes 2025-11-23 15:35:46 -05:00
Richard Geldreich
8a12abc5d8 Fixing the build I purposely broke for testing purposes 2025-11-23 15:25:08 -05:00
Richard Geldreich
65c8e112bd appveyor fixes to detect broken builds - hopefully 2025-11-23 15:14:17 -05:00
Richard Geldreich
952e8622ff purposely breaking the build to see if appveyor detects it 2025-11-23 14:56:39 -05:00
Rich Geldreich
fbb7de77f2 Merge pull request #412 from Skullheadx/Fix-Missing-cfloat-Include
Fix missing cfloat include in basisu_astc_hdr_6x6_enc.cpp
2025-11-21 21:34:55 -05:00
Richard Geldreich
204d7525ad fixing merge issues 2025-11-21 21:30:58 -05:00
Rich Geldreich
3decad24c3 Merge pull request #200 from aaronfranke/format-gh-actions
Update formatting script and use GitHub Actions
2025-11-21 21:22:45 -05:00
Aaron Franke
528ac92b7b Update formatting script to use pre-commit and GitHub Actions 2025-11-21 11:52:39 -08:00
Aaron Franke
f3a63a3f54 Remove trailing space characters 2025-11-21 11:52:38 -08:00
Skullheadx
67886898e6 Add missing cfloat include 2025-11-19 09:51:47 -05:00
Richard Geldreich
717c3fec70 disabling image save here, not needed 2025-11-18 22:09:39 -05:00
Richard Geldreich
6000fedf62 compressor fuzzing: fixing rare overflow in RDO candidate picker 2025-11-18 21:54:27 -05:00
Richard Geldreich
d7ef7030a0 Porting ETC1S colorspace very rare calculation overflow fix into OpenCL program 2025-11-18 17:38:20 -05:00
Richard Geldreich
5a1ae5d65d Fixing a very rare 1-bit overflow in ETC1S SSE optimized colorspace error calculations (which are 32-bit vs. the plain C++ code's 64-bit). Ultimately the output would still be correct and transcodable, but this could cause a compressor assertion check to fail. Found during compressor fuzz testing. 2025-11-18 17:27:51 -05:00
Richard Geldreich
6e54503437 adding compressor validate output flag from XUASTC branch 2025-11-18 17:25:32 -05:00
Richard Geldreich
f7d0925f96 Adding rel tolerance to this assert, found during compressor fuzzing 2025-11-18 17:25:06 -05:00
Richard Geldreich
3fa2ceb26c Adding compressor/transcoder fuzz testing from XUASTC branch 2025-11-18 17:24:44 -05:00
Richard Geldreich
5179a06343 rebuild WASM 2025-11-18 17:24:25 -05:00
Richard Geldreich
221d2230e5 yet another warning fix before_xuastc 2025-11-08 12:55:41 -05:00
Richard Geldreich
cbb8ebefa4 Fixing ftell() error handling issue introduced by warning merge from PR 408 2025-11-08 11:28:34 -05:00
Richard Geldreich
703d05cc7a Adding MSVC .manifest to cmake build 2025-11-08 09:09:30 -05:00
Richard Geldreich
f4614b0a3d Adding EXAMPLES option so they can be optionally compiled (partially from PR 383) 2025-11-08 09:05:15 -05:00
Richard Geldreich
e31e3e1a3f adding newline to end of file 2025-11-06 13:38:44 -05:00
Richard Geldreich
196db8cbe2 Merging as much of PR #408 as we safely can.
PR 408's cmakelists.txt file has too many issues (OpenCL breaks on Windows/OSX) and changing our options to have the "BASISU_" prefix will break upstream builds.
2025-11-06 13:19:40 -05:00
Richard Geldreich
b1110111d4 adding -O3 to wasm linker options 2025-09-20 10:41:16 -04:00
Rich Geldreich
1e8fbb14fb Merge pull request #401 from needle-tools/fix/add-link-flags-o3
Fix: bring back -O3 in LINK_FLAGS for 150kB smaller JS+WASM build
2025-09-20 10:34:30 -04:00
Richard Geldreich
e8855f8840 Compiler warning fixes.
Cleaning up handling of 8-byte lengths/offsets in KTX2 files. (In practice, we don't currently accept files this large anyway.)
2025-09-20 10:10:08 -04:00
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