DirectXTex

DirectXTex texture processing library

MIT License

Stars
1.7K
Committers
30

Bot releases are visible (Hide)

DirectXTex - January 14, 2021

Published by walbourn over 3 years ago

This was a CMake only release of January 2021 for vcpkg.

DirectXTex - April 6, 2021

Published by walbourn over 3 years ago

  • DDS reader updated to accept nVidia Texture Tool v1 single-channel and dual-channel files marked as RGB instead of LUMINANCE
  • Fixed TGA reader regression with files smaller than 26 bytes total
  • Removed use of CreateStreamOnHGlobal, CreateStreamOverRandomAccessStream, and SHCreateMemStream for WICToMemory functions
  • Fix for the DirectX 12 CaptureTexture for reserved and MSAA resources
  • Minor code and project cleanup
  • texassemble: added -stripmips switch
  • texassemble, texconv: the swizzle switch now accepts 0 and 1 values in swizzle masks
  • texconv: added "709toDisplayP3" and "DisplayP3to709" to -rotatecolor switch
  • texconv: Fixed -reconstructz for UNORM formats
  • texassemble, texconv, texdiag: Updated with descriptions for HRESULT failure codes, and always uses exit code 1 on failure

This version is also available on NuGet as version 2021.4.7

DirectXTex - December 24, 2020

Published by walbourn almost 4 years ago

This was a CMake only release of November 2020 for vcpkg.

DirectXTex - January 9, 2021

Published by walbourn almost 4 years ago

  • Windows Subsystem for Linux support (see this blog post)
  • Code review for improved conformance
  • CMake updated to support package install
  • texassemble: Merge command now supports -swizzle option
  • texconv: Updated with -r:keep and -swizzle options

This version is also available on NuGet as version 2021.1.10

DirectXTex - November 11, 2020

Published by walbourn almost 4 years ago

  • Use SHCreateMemStream instead of CreateStreamOnHGlobal for Win32 on Windows 8.x or Windows 10
  • Updated D3DX12 internal copy with latest change from GitHub
  • Minor code and project cleanup

This version is also available on NuGet as version 2020.11.12

DirectXTex - September 30, 2020

Published by walbourn about 4 years ago

  • Added TGA_FLAGS flags to TGA reader/writer to control RGB vs. BGR, handling for all zero alpha channels, and TGA 2.0 colorspace metadata
    • TGA reader will now return a DXGI_FORMAT_*_SRGB format if TGA 2.0 colorspace metadata contains 2.2 or 2.4 gamma
    • Added forwarders for existing non-flags TGA functions, so there are no breaking changes
  • R16_SNORM and R8_SNORM pixel write code updated to round instead of truncate to better match DirectXMath behavior
  • Fixed bug in standalone WICTextureLoader for DX11/DX12 that resulted in WINCODEC_ERR_INSUFFICIENTBUFFER for some resize requests
  • Added Ex variants for DDSTextureLoader/WICTextureLoader for DX9 to support loading resources for non-DEFAULT pools
  • Minor code and project cleanup

This version is also available on NuGet as version 2020.9.30

DirectXTex - August 15, 2020

Published by walbourn about 4 years ago

  • Added DDS_FLAGS_ALLOW_LARGE_FILES flag for DDS loader to allow textures with dimensions that are too big for Direct3D
  • Added FormatDataType function
  • Fixed bug with DX12 Capture with 'small alignment' textures
  • Code review and project updates
  • Added GDK projects
  • texassemble: updated with -fl switch for feature level based warning
  • texconv: updated with -reconstructz switch for BC5 compressed normal map view conversion

This version is also available on NuGet as version 2020.8.15

DirectXTex - July 2, 2020

Published by walbourn over 4 years ago

  • Minor warning fixes for VS 2019 (16.7)
  • CMake updates
  • texassemble: Fixed animated gif handling with transparency

This version is also available on NuGet as version 2020.7.2

DirectXTex - June 15, 2020

Published by walbourn over 4 years ago

  • Code cleanup for some new VC++ 16.7 warnings and static code analysis
  • texconv: Updated with support for Portable Pix Map (ppm) & Portable Float Map (pfm) file formats

This version is also available on NuGet as version 2020.6.15

DirectXTex - June 1, 2020

Published by walbourn over 4 years ago

  • Converted to typed enum bitmask flags (see this blog post for details on this potential breaking change)
    • ComputePitch, xxxDDSxxx, xxxWICxxx, FlipRotate, Resize, Convert, GenerateMipMaps, GenerateMipMaps3D, PremultiplyAlpha, Compress, ComputeNormalMap, CopyRectangle, ComputeMSE
  • WIC_FLAGS_DEFAULT_SRGB / WIC_LOADER_SRGB_DEFAULT flag added when loading image via WIC without explicit colorspace metadata
  • WIC loader for PNG codec now checks gAMA chunk to determine colorspace if the sRGB chunk is not found for legacy sRGB detection.
  • Fixed conformance issues when using /Zc:preprocessor
  • CMake project updates

This version is also available on NuGet as version 2020.6.2

DirectXTex - May 10, 2020

Published by walbourn over 4 years ago

  • HDR (RGBE Radiance) file format writer updated to accept half16 input
  • Code cleanup
  • Updated D3DX12 internal copy to Windows 10 SDK (19041) version
  • texassemble, texconv, texdiag: Updated with -l switch for case-sensitive file systems
  • texconv: Added -dx9 switch to force legacy compatible DDS files
  • texconv: Collapsed -bcuniform, -bcdither, -bcquick, and -bcmax into one -bc switch
  • Updates to DDSTextureLoader, ScreenGrab, and WICTextureLoader including new DX9 version

This version is also available on NuGet as version 2020.5.11

DirectXTex - April 3, 2020

Published by walbourn over 4 years ago

  • Updated D3DX12 internal copy to latest version
  • DDS loader updated for another BC7 FourCC variant
  • Code review (constexpr / noexcept usage)
  • CMake updated for PCH usage with 3.16 or later
DirectXTex - February 14, 2020

Published by walbourn over 4 years ago

  • Fixed quality bug in BC4S/BC5S compressor
  • Guard for divide-by-zero case in PremultiplyAlpha
  • texconv: added -at switch for alpha threshold value with BC1 compression
  • texconv: Fixed -nmap when outputing compressed UNORM formats
  • Code and project cleaup
  • Retired VS 2015 projects

This version is also available on NuGet as version 2020.2.15

Note that NuGet package id directxtex_desktop_2017 replaced directxtex_desktop_2015.

See this blog post for more information.

DirectXTex - December 17, 2019

Published by walbourn almost 5 years ago

  • Added ARM64 platform to VS 2019 Win32 desktop Win10 project
  • Updated CMake project
  • Code cleaup

This version is also available on NuGet as version 2019.12.17

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

DirectXTex - October 17, 2019

Published by walbourn about 5 years ago

  • Codec readers updated to return TEX_ALPHA_MODE_OPAQUE if reader returned an alpha channel due to conversion
  • Added DDS reader support for 'non-standard' BC6H/BC7 FourCC codes used by nVidia texture tools
  • TGA codec updated for TGA 2.0
  • Minor code review
  • Updated ScreenGrab module
  • texconv: Added -fixbc4x4 switch

This version is also available on NuGet as version 2019.10.17

DirectXTex - August 21, 2019

Published by walbourn about 5 years ago

  • Updated D3DX12 internal copy to latest version
  • Added texassemble, texconv, and texdiag to CMake project
  • Code cleanup

This version is also available on NuGet as version 2019.8.23

DirectXTex - June 30, 2019

Published by walbourn over 5 years ago

  • Additional validation for Direct3D 11 texture loaders
  • Clang/LLVM warning cleanup
  • Renamed DirectXTex_Windows10.vcxproj to _Windows10_2017.vcxproj
  • Added VS 2019 UWP project
DirectXTex - May 30, 2019

Published by walbourn over 5 years ago

DirectXTex - April 26, 2019

Published by walbourn over 5 years ago

  • Added VS 2019 desktop projects
  • Code cleanup for texture loaders
  • Officially dropped Windows Vista support
  • Minor code cleanup

This version is also available on NuGet as version 2019.4.26

DirectXTex - February 7, 2019

Published by walbourn over 5 years ago

  • Added ScaleMipMapsAlphaForCoverage function to the library
  • WIC Writer now has two new flags: WIC_FLAGS_FORCE_SRGB and WIC_FLAGS_FORCE_LINEAR
  • texassemble: added array-strip command
  • texconv: added -inverty, -keepcoverage switches

This version is also available on NuGet as version 2019.2.7

Related Projects