DirectXTex

DirectXTex texture processing library

MIT License

Stars
1.7K
Committers
30

Bot releases are hidden (Show)

DirectXTex - March 2024 Latest Release

Published by walbourn 8 months ago

  • Xbox Auxiliary tiling/detiling code optimization
DirectXTex - February 2024

Published by walbourn 8 months ago

  • TGA reader now limited to 4 GB for maximum image size for security hardening
  • Project updates for improved logging of shader compilation errors and GDK validation
  • CMake project updates and refactor
  • Minor code review for Clang, MinGW, and Intel compilers
  • Auxiliary updated with LIBJPEG and LIBPNG implementations for use on WSL which lacks WIC
  • texassemble: new from-mips command
  • texconv: Updated to support Xbox extension functionality
DirectXTex - December 31, 2023

Published by walbourn 10 months ago

  • TGA reader bug fix for offset boundary check
  • PPM/PFM reader bug fixes for bounds checking
  • Xbox-specific functionality added to Auxiliary folder
  • CMake project updates including pkg-config file generation
  • Code review

This version is also available on NuGet as version 2024.1.1

DirectXTex - October 28, 2023

Published by walbourn 12 months ago

  • New DDS_PERMISSIVE_FLAG to allow reading of various DDS DX9 file variants
    • breaking change required to accept reading Unreal Tournament 2004 DDS files
    • Allows cases where DDS_HEADER size is incorrectly set to 24
    • Allows cases where DDPIXELFORMAT size is incorrectly set to 24
    • Allows cases where DDS_HEADER.MipMapCount is set to the wrong value
  • texassemble/texconv/texdiag: -flist option updated to support filenames with spaces
  • texconv: -permissive switch added to opt-in use of new flag when reading DDS files

This version is also available on NuGet as version 2023.10.31

DirectXTex - September 2023

Published by walbourn about 1 year ago

  • CompressEx and ConvertEx functions added with status callback and options structs
  • Added optional DDSMetaData return for Ex versions of DDS loader functions
  • Added TEX_ALPHA_WEIGHT_DEFAULT constant (set to 1.0)
  • DDS reader updated to support variant used by Unreal Tournament 2004
  • Fixed overvalidation bug with BC7 GPU compressor with SRGB formats
  • Retired ARM (32-bit) support for the UWP platform
  • CMake project updates

This version is also available on NuGet as version 2023.9.6

This version is available via vcpkg.

DirectXTex - June 2023

Published by walbourn over 1 year ago

  • Added TEX_FILTER_RGB_COPY_ALPHA flag and support for DXGI_FORMAT_A4B4G4R4_UNORM
  • DDS loader now supports 'swizzled' DXT5 variant FourCCs
  • CMake project updates
  • texconv: Added -f BC3n, -f DXT5nm, and -f RXBG support; .ddx file extension; and -tgazeroalpha switch
  • texassemble/texconv/texdiag: Fix minor display issue with error messages
  • texassemble/texconv/texdiag: Supports Long Paths on Windows 10, Version 1607 or later

This version is also available on NuGet as version 2023.6.14

This version is available via vcpkg.

DirectXTex - April 2023

Published by walbourn over 1 year ago

  • Updated D3DX12 internal copy with latest changes from DirectX-Headers GitHub
  • CMake project updates and fixes for clang/LLVM v16 warnings
  • texassemble/texconv/texdiag: Windows on ARM64 version

This version is also available on NuGet as version 2023.4.28

This version is available via vcpkg.

DirectXTex - March 2023

Published by walbourn over 1 year ago

  • Fix for SRGB_IN / SRGB_OUT flag handling for GPU BC7 compressor
  • Fix to clamp negative values when encoding with the GPU BC6H compressor
  • GPU BC6H/BC7 encoder updated to make optional use of DirectCompute 5.0
  • CMake project updates
  • Code review
  • Retired VS 2017 legacy Xbox One XDK projects
  • texassemble/texconv/texdiag: Updated to support Windows or UNIX-style path separators

This version is also available on NuGet as version 2023.3.30

This version is available via vcpkg. Note this update to the port adds a tools feature for the installation of the command-line tools.

DirectXTex - January 2023

Published by walbourn over 1 year ago

  • Fixed memory overwrite bug in ConvertToSinglePlane that can lead to a potential security issue for untrusted planar video format DDS files
  • Make sure ScratchImage zero-fills image memory
  • Fix DirectX12 GPU-validation warnings for texture loaders
  • Minor fix for non-Win32 builds
  • ddsview: Updated sample app with a -forcesrgb command-line switch

This version is also available on NuGet as version 2023.1.31

This version is available via vcpkg.

This is the last release that will support building for the legacy Xbox One XDK using VS 2017. See this issue for details or feedback.

DirectXTex - December 2022

Published by walbourn almost 2 years ago

  • ARM/ARM64 platform fix for 16bpp pixel conversion
  • Updated D3DX12 internal copy with latest changes from DirectX-Headers GitHub
  • CMake project updated to require 3.20 or later
  • CMake and MSBuild project updates
  • Added Azure Dev Ops Pipeline YAML files
  • Auxiliary folder added with DirectXEXR.h/.cpp optional module
  • Test suite updated with CTest support
  • Spectre-mitigated libraries added to NuGet packages
  • texassemble: added commands v-cross-fnz, h-tee, and cube-from-*
  • texconv: Fixed minor printf output issue

This version is also available on NuGet as version 2022.12.18

This version is available via vcpkg.

DirectXTex - October 2022

Published by walbourn about 2 years ago

  • Minor fix for CompileShaders.cmd to address additional 'paths with spaces' issues
  • Minor CMake and CMakePresets updates
  • Code review

This version is also available on NuGet as version 2022.10.18

This version is available via vcpkg.

DirectXTex - July 2022

Published by walbourn about 2 years ago

  • Added MakeLinear DXGI_FORMAT utility function.
  • breaking change CreateTextureEx and CreateShaderResourceViewEx functions now use CREATETEX_FLAGS instead of a bool forceSRGB parameter.
  • Updates for MinGW ABI fixes for DirectX12 in the latest DirectX-Headers.
  • CMake and MSBuild project updates
  • Code review
  • DDSTextureLoader11 and DDSTextureLoader12 sync'd up with DirectX Tool Kit July 2022 changes.

This version is also available on NuGet as version 2022.7.30

This version is available via vcpkg.

DirectXTex - May 2022

Published by walbourn over 2 years ago

  • TGA reader updated to support 24-bit paletted uncompressed color-mapped images (used by a DCC application)
  • Added IsBGR utility method
  • Workaround for driver issue on some systems using DirectX 11 Capture method
  • Fix for problem with resizing/mipmaps generation for HDR content using box/fant filter which should avoid going through WIC code paths
  • Minor updates for VS 2022 (17.2)
  • CMake project updates (now supports MSVC, clang/LLVM, and MinGW)
  • Updated D3DX12 internal copy with latest changes from DirectX-Headers GitHub
  • Retired VS 2017 projects
  • Code cleanup
  • Reformat source using updated .editorconfig settings
  • texconv: Improve -nmap handling for 16-bit sources going to BC formats

This version is also available on NuGet as version 2022.5.10

This version is available via vcpkg.

DirectXTex - March 2022

Published by walbourn over 2 years ago

  • Fixed end-point bounds issue with BC6H CPU compressor if none of the pixels are in 0-1 range
  • Fixed bug in alpha-to-coverage computation
  • Add support for installable WIC codecs for HEIF and WEBP (if present)
  • Update build switches for SDL recommendations
  • CMake project updates and UWP platform CMakePresets
  • Code cleaup for tools
  • Optional C++17 usage in a few places

This version is also available on NuGet as version 2022.3.24

This version is available via vcpkg.

This is the last release I plan to support for VS 2017. See this issue for details and feedback.

DirectXTex - November 17, 2021

Published by walbourn over 2 years ago

CMake only release of November 2021 for vcpkg.

DirectXTex - February 2022

Published by walbourn over 2 years ago

  • Updated D3DX12 internal copy with latest changes from GitHub
  • Code and project review including fixing clang v13 warnings
  • Added CMakePresets.json

This version is also available on NuGet as version 2022.3.1

This version is available via vcpkg.

DirectXTex - November 8, 2021

Published by walbourn almost 3 years ago

  • VS 2022 support
  • Updated D3DX12 internal copy with latest change from GitHub
  • Minor code and project review
  • VS 2017 projects updated to require the Windows 10 SDK (19401)
  • texassemble/texconv: Updated with 12.2 for -fl switch
  • texassemble/texconv/texdiag: Fixed potential locale issue with -flist

This version is also available on NuGet as version 2021.11.8

This version is available via vcpkg.

DirectXTex - September 2021

Published by walbourn about 3 years ago

  • Minor code and project cleanup

This version is available via vcpkg.

DirectXTex - August 2021

Published by walbourn about 3 years ago

  • Fixed weighting bug in custom linear filtering for wrap/mirroring
  • Added VS 2022 Preview projects
  • texconv: Made default output extension to be lower-case like most Windows applications
  • texconv: updated colorspace rotation names for -rotatecolor switch
  • texassemble, texconv: Order of operations fix for -swizzle using 0, 1
  • Minor code review

This version is also available on NuGet as version 2021.8.2

This version is available via vcpkg.

DirectXTex - June 9, 2021

Published by walbourn over 3 years ago

  • Minor bug fix for metadata behavior when using DDS_FLAGS_NO_16BPP flag for B5G6R5 content
  • texdiag: added -c and -t switches for diff command
  • texconv: Fixed bug in -m switch handling when resizing changes the max mipmap count
  • texconv et al: improved -flist switch to support wildcards and file exclusions
  • texconv et al: Added 'BGR' alias to -f switch for the B8G8R8X8_UNORM format
  • WICTextureLoader / DDSTextureLoader12 updated to use typed enum bitmask flags for loadFlags parameter
  • Minor code review

This version is also available on NuGet as version 2021.6.10

This version is available via vcpkg.

Related Projects