| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 4 年前 | ||
Add clang-format support (#913) Adds the mechanics for using clang-format but does not reformat the sources or enable checking in CI. - A git-blame ignore file has been committed to the repo which instructs GitHub's blame functionality on the web interface to keep attribution of lines affected by formatting. Local clones may be [configured told similarly](https://www.stefanjudis.com/today-i-learned/how-to-exclude-commits-from-git-blame/). | 2 年前 | |
Always use same method to set language version. (#947) That method is target_compile_features. | 1 年前 | |
Change KTX_FEATURE_STATIC_LIBRARY to BUILD_SHARED_LIBS (#953) This changes KTX_FEATURE_STATIC_LIBRARY to the built-in cmake variable BUILD_SHARED_LIBS. Static builds are enforced for fmt and astc-encoder. Both libraries use BUILD_SHARED_LIBS themself, so this fixes issues if KTX-Software is used as dependecy in other projects (which set BUILD_SHARED_LIBS). Fixes #935 | 1 年前 | |
| 2 年前 | ||
Always use same method to set language version. (#947) That method is target_compile_features. | 1 年前 | |
Update ASTC encoder to 5.2.0. (#983) * git subrepo pull (merge) --branch=5.2.0 external/astc-encoder subrepo: subdir: "external/astc-encoder" merged: "21530b745" upstream: origin: "https://github.com/ARM-software/astc-encoder.git" branch: "5.2.0" commit: "2319d9c4d" git-subrepo: version: "0.4.3" origin: "https://github.com/MarkCallow/git-subrepo.git" commit: "c1f1132" * Regen golden ASTC files. * (Unrelated) Disable warnings raised by gcc 14 in BasisU code. | 1 年前 | |
Fix issues newly flagged by Doxygen 1.11.0 (#925) Some were genuine issues that surprisingly weren't flagged before: astc_encode.cpp, ktx2check.c. One is a change to an existing Doxygen issue that caused a previously working reference to not be found: vkloader.c. Includes these other documentation related changes: 1. Change several ktxTexture references in ktxTexture2 to ktxTexture2 references. 2. Update CI to install graphviz of which dot is part. With dot Doxygen provides nice include dependency, inverse include dependency, inheritance and other graphs. 3. Make Doxygen skip the documentation for the ktxTexture macro as the existence of a same-named macro causes Doxygen to fail to make intra-class cross-references in the ktxTexture class. 4. Fine tune the deprecation statements. 5. Remove names from @file commands. These are unnecessary and error-prone. Three mismatches were spotted during this work. **IMPORTANT** Documentation for releases must not be generated with Doxygen 1.11.0 as it has a bug that causes it to not add snippets to generated pages. See https://github.com/doxygen/doxygen/issues/10957. | 2 年前 | |
Change KTX_FEATURE_STATIC_LIBRARY to BUILD_SHARED_LIBS (#953) This changes KTX_FEATURE_STATIC_LIBRARY to the built-in cmake variable BUILD_SHARED_LIBS. Static builds are enforced for fmt and astc-encoder. Both libraries use BUILD_SHARED_LIBS themself, so this fixes issues if KTX-Software is used as dependecy in other projects (which set BUILD_SHARED_LIBS). Fixes #935 | 1 年前 | |
Fix issues newly flagged by Doxygen 1.11.0 (#925) Some were genuine issues that surprisingly weren't flagged before: astc_encode.cpp, ktx2check.c. One is a change to an existing Doxygen issue that caused a previously working reference to not be found: vkloader.c. Includes these other documentation related changes: 1. Change several ktxTexture references in ktxTexture2 to ktxTexture2 references. 2. Update CI to install graphviz of which dot is part. With dot Doxygen provides nice include dependency, inverse include dependency, inheritance and other graphs. 3. Make Doxygen skip the documentation for the ktxTexture macro as the existence of a same-named macro causes Doxygen to fail to make intra-class cross-references in the ktxTexture class. 4. Fine tune the deprecation statements. 5. Remove names from @file commands. These are unnecessary and error-prone. Three mismatches were spotted during this work. **IMPORTANT** Documentation for releases must not be generated with Doxygen 1.11.0 as it has a bug that causes it to not add snippets to generated pages. See https://github.com/doxygen/doxygen/issues/10957. | 2 年前 | |
Align naming (#938) Follow Python interface precedent for ASTC block dimension names. Use same name as native for ASTC quality levels enum. | 1 年前 | |
ktx create: Update transfer function handling (#982) * Support in ktx create the transfer function flexibility opened up by spec. revision 2. * Improve libktx checks for valid transfer functions. There are some unrelated changes: - mistakes I noticed in messages for other options - an error in the range of values usable for the --clevel parameter to encode for BasisU. I took the opportunity to fix these here rather than making another PR. | 1 年前 | |
Fix: ensure ktxdiff runs on macOS and enable CTS in Linux arm64 CI. (#946) Set INSTALL_RPATH in ktxdiff. Its absence meant macOS could not find libktx, if not installed on the system. Tests were succeeding on macOS x86_64 because all the outputs are exact matches for the golden files so ktxdiff was never invoked. Enable FEATURE_TOOLS_CTS for Linux arm64 build as https://github.com/KhronosGroup/KTX-Software-CTS/pull/30 fixes the previous failure. Fix syntax errors in Linux INSTALL_RPATH values. | 1 年前 | |
Validate BasisU Transcode (#532) * Validate BasisU transcoding. In order to keep supporting stdin, this now uses std::istream for input which can be from a std::ifstream, std::stringstream or std::cin. If seek fails on std:cin the entire file is read into a stringstream. A streambufStream class that wraps a std::streambuf in a ktxStream has been added as the way to pass the data to libktx for transcode validation. Fixes #374. * Fix handling of unicode filenames. * Add tests of transcode validation and reading from stdin. * Fix: return with non-zero code when --quiet and errors. The process of adding the new tests revealed a bug in ctest that it does not check exit codes when a {PASS,FAIL}_REGULAR_EXPRESSION is specified. That bug was hiding this and another bug in ktx2check. Fixes #531. * Workaround ctest bug of not checking exit code when a {PASS,FAIL}_REGULAR_EXPRESSION is specified. Done by essentially duplicating certain tests to separately check exit code and output. Also tighten RE for matching --version output. * Ensure correct RE match result on non-nul-terminated metadata value. Windows RE only matches when nul-terminated. Add more exit-code tests. | 4 年前 | |
Make test case names consistent (#780) This change makes test case names consistent and also adds a dot everywhere as a suite separator to be able to make work with testing tools easier. | 2 年前 | |
| 2 年前 | ||
| 2 年前 | ||
Always use same method to set language version. (#947) That method is target_compile_features. | 1 年前 | |
Add astc support (#433) This is the start of astc support using lib/astc-encoder, a git subrepo clone of ARM's ASTC encoder. Since ktx-software now supports multiple encoders this patch extracts out the common options into '--encode <encoding>' and removes redundant options. Also adds enums for astc compressor into ktx.h. Similarly the --threads option has been moved from the BasisU options to the common options so it can be used for any encoder. The --bcmp option has been renamed to --etc1s to reflect its actual use. A common '--normal_mode' option has been added replacing the ETC1S encoder's --normal_map. The new option is recognized by the ASTC and ETC1S encoders. A very useful feature of uploading the output files of broken toktx-tests to a cloud storage service has been added to .travis.yml. | 5 年前 | |
Update ASTC encoder to 5.2.0. (#983) * git subrepo pull (merge) --branch=5.2.0 external/astc-encoder subrepo: subdir: "external/astc-encoder" merged: "21530b745" upstream: origin: "https://github.com/ARM-software/astc-encoder.git" branch: "5.2.0" commit: "2319d9c4d" git-subrepo: version: "0.4.3" origin: "https://github.com/MarkCallow/git-subrepo.git" commit: "c1f1132" * Regen golden ASTC files. * (Unrelated) Disable warnings raised by gcc 14 in BasisU code. | 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 4 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 4 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 5 年前 | ||
| 1 年前 |