Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[directxtex] Update for March 2024 release #37233

Merged
merged 9 commits into from
Mar 12, 2024

Conversation

walbourn
Copy link
Member

@walbourn walbourn commented Mar 7, 2024

In addition to updating for the latest release on GitHub, this adds support for three new features:

  • jpeg this adds JPEG support for Linux (Windows already supports JPEG via the built-in WIC codec)
  • png this adds PNG support for Linux (Windows already supports PNG via the built-in WIC codec)
  • xbox this builds the library for PC but with Xbox extensions for development. Requires the Microsoft GDKX. By default it targets Xbox Series X|S. To target Xbox One instead, you can use a triplet variable as described in the update usage.

@walbourn
Copy link
Member Author

walbourn commented Mar 7, 2024

Verified all supported triplets and features:

.\vcpkg install directxtex[core]:x86-windows
.\vcpkg install directxtex:x86-windows --recurse
.\vcpkg install directxtex[tools]:x86-windows --recurse
.\vcpkg install directxtex[dx12]:x86-windows --recurse
.\vcpkg install directxtex[openexr,tools]:x86-windows --recurse
.\vcpkg install directxtex[spectre]:x86-windows --recurse
.\vcpkg install directxtex:x86-windows-static
.\vcpkg install directxtex:x86-windows-static-md

.\vcpkg install directxtex[core]:x64-windows
.\vcpkg install directxtex:x64-windows --recurse
.\vcpkg install directxtex[tools]:x64-windows --recurse
.\vcpkg install directxtex[dx12]:x64-windows --recurse
.\vcpkg install directxtex[openexr,tools]:x64-windows --recurse
.\vcpkg install directxtex[spectre]:x64-windows --recurse
.\vcpkg install directxtex:x64-windows-static
.\vcpkg install directxtex:x64-windows-static-md

.\vcpkg install directxtex:arm64-windows
.\vcpkg install directxtex[tools]:arm64-windows --recurse 
.\vcpkg install directxtex[spectre]:arm64-windows --recurse
.\vcpkg install directxtex:arm64-windows-static
.\vcpkg install directxtex:arm64-windows-static-md

.\vcpkg install directxtex:x86-uwp 
.\vcpkg install directxtex:x64-uwp 
.\vcpkg install directxtex:arm64-uwp 

.\vcpkg install directxtex:x64-mingw-static
.\vcpkg install directxtex[dx12]:x64-mingw-static --recurse
.\vcpkg install directxtex[tools]:x64-mingw-static --recurse

.\vcpkg install directxtex:x86-mingw-static
.\vcpkg install directxtex[dx12]:x86-mingw-static --recurse
.\vcpkg install directxtex[tools]:x86-mingw-static --recurse

./vcpkg install directxtex:x64-linux
./vcpkg install directxtex[dx12]:x64-linux --recurse
./vcpkg install directxtex[openexr]:x64-linux --recurse
./vcpkg install directxtex[jpeg]:x64-linux --recurse
./vcpkg install directxtex[png]:x64-linux --recurse

./vcpkg install directxtex:arm64-linux
./vcpkg install directxtex[dx12]:arm64-linux --recurse
./vcpkg install directxtex[openexr]:arm64-linux --recurse
./vcpkg install directxtex[jpeg]:arm64-linux --recurse
./vcpkg install directxtex[png]:arm64-linux --recurse

Windows on ARM (32-bit) triplets build, although this platform has been deprecated:

.\vcpkg install directxtex:arm-windows
.\vcpkg install directxtex[tools]:arm-windows --recurse
.\vcpkg install directxtex[spectre]:arm-windows --recurse

.\vcpkg install directxtex:arm-uwp 

The following are supported on systems with the Microsoft GDK with Xbox Extensions installed:

.\vcpkg install directxtex:x64-xbox-scarlett
.\vcpkg install directxtex:x64-xbox-scarlett-static

.\vcpkg install directxtex:x64-xbox-xboxone
.\vcpkg install directxtex:x64-xbox-xboxone-static

.\vcpkg install directxtex[xbox,tools]:x64-windows --recurse

Also verified with proposed Clang/CL community triplets (#31028):

.\vcpkg install directxtex[core]:x64-clangcl-dynamic
.\vcpkg install directxtex:x64-clangcl-dynamic --recurse
.\vcpkg install directxtex[tools]:x64-clangcl-dynamic --recurse
.\vcpkg install directxtex[dx12]:x64-clangcl-dynamic --recurse
.\vcpkg install directxtex:x64-clangcl-static
.\vcpkg install directxtex:arm64-clangcl-dynamic
.\vcpkg install directxtex[tools]:arm64-clangcl-dynamic --recurse 
.\vcpkg install directxtex:arm64-clangcl-static
.\vcpkg install directxtex:x64-clangcl-uwp 
.\vcpkg install directxtex:arm64-clangcl-uwp 

.\vcpkg install directxtex:x64-clangcl-scarlett
.\vcpkg install directxtex:x64-clangcl-scarlett-static
.\vcpkg install directxtex:x64-clangcl-xboxone
.\vcpkg install directxtex:x64-clangcl-xboxone-static

.\vcpkg install directxtex:x64-clangcl-dynamic[xbox,tools] --recursive

@JonLiu1993 JonLiu1993 added category:port-update The issue is with a library, which is requesting update new revision category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist labels Mar 8, 2024
JonLiu1993
JonLiu1993 previously approved these changes Mar 8, 2024
@JonLiu1993 JonLiu1993 added the info:reviewed Pull Request changes follow basic guidelines label Mar 8, 2024
ports/directxtex/portfile.cmake Outdated Show resolved Hide resolved
@vicroms vicroms marked this pull request as draft March 8, 2024 06:33
@JonLiu1993 JonLiu1993 removed the info:reviewed Pull Request changes follow basic guidelines label Mar 8, 2024
@walbourn walbourn marked this pull request as ready for review March 9, 2024 20:07
@JonLiu1993 JonLiu1993 added the info:reviewed Pull Request changes follow basic guidelines label Mar 11, 2024
@BillyONeal BillyONeal merged commit 2f29964 into microsoft:master Mar 12, 2024
16 checks passed
@BillyONeal
Copy link
Member

Thanks for the update!

@walbourn walbourn deleted the dxtexmar2024 branch March 12, 2024 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist category:port-update The issue is with a library, which is requesting update new revision info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants