forked from KhronosGroup/KTX-Software
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport 43 fixes for input from pipes on Windows and issue KhronosGr…
…oup#727 (KhronosGroup#760) * Fix legacy app input from pipes on Windows. From commit 3e7fd0a. Was always broken for pipes created by Windows' shells (PowerShell and Command). Became broken in cygwin 3.4.x for pipes created by cygwin/MSYS2/Git for Windows shells when cygwin started mimicking the way Windows shells create pipes. The cause is that setting the `FILE_SYNCHRONOUS_IO_NONALERT` option when creating a pipe causes `cin.seekg(0)` on the pipe to return success when in fact seek is not supported. Add launchDebugger function and --ld option to invoke it to `ktxApp` class and ktx tool as helpers for debugging pipes on Windows. These are only added when _WIN32 and DEBUG are defined. * Do target_type changes only in toktx. They were being done in both `toktx` and the `imageinput` plugin. Fixes KhronosGroup#727. From commit 2cf053c. Changes included with above fix: - Move image-related utilities and image.hpp from `ktxtools` to `imageio` target for sharing between new and legacy tools. - Change `toktx` and `unittests` to use the updated version of image.hpp. * Changes to make build work with latest compilers in CI services: - Fix mismatched `new[]` and `delete` in `glloadtests`. From commit 3e7fd0a - Warning fixes for clang 14 and cmake 3.26. - Make other_include a SYSTEM include for loadtests (KhronosGroup#762) to stop warnings in assimp files. Clang 16.0.5 has a new warning it raises on some of the assimp headers. From commit 0feeda6.
- Loading branch information
1 parent
f24e8eb
commit ce8b030
Showing
4 changed files
with
79 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters