From 419e31491496d7af58ab862b50558668704abebb Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Tue, 5 Sep 2023 12:36:33 -0700 Subject: [PATCH] September 1, 2023 (#389) --- .nuget/directxtex_desktop_2019.nuspec | 2 +- .nuget/directxtex_desktop_win10.nuspec | 2 +- .nuget/directxtex_uwp.nuspec | 2 +- CMakeLists.txt | 2 +- DirectXTex/DirectXTex.h | 2 +- HISTORY.md | 9 +++++++++ README.md | 2 +- 7 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.nuget/directxtex_desktop_2019.nuspec b/.nuget/directxtex_desktop_2019.nuspec index 4b7550f..9f17efb 100644 --- a/.nuget/directxtex_desktop_2019.nuspec +++ b/.nuget/directxtex_desktop_2019.nuspec @@ -10,7 +10,7 @@ This version is for Windows desktop applications using Visual Studio 2019 (16.11) or Visual Studio 2022 and supports Windows 7 / DirectX 11. DirectXTex, a shared source library for reading and writing .DDS files, and performing various texture content processing operations including resizing, format conversion, mip-map generation, block compression for Direct3D runtime texture resources, and height-map to normal-map conversion. This library makes use of the Windows Image Component (WIC) APIs. It also includes simple .TGA and .HDR readers and writers since these image file format are commonly used for texture content processing pipelines, but are not currently supported by a built-in WIC codec. - Matches the June 13, 2023 release on GitHub. + Matches the September 1, 2023 release on GitHub. http://go.microsoft.com/fwlink/?LinkId=248926 images\icon.jpg diff --git a/.nuget/directxtex_desktop_win10.nuspec b/.nuget/directxtex_desktop_win10.nuspec index fce0793..4c24781 100644 --- a/.nuget/directxtex_desktop_win10.nuspec +++ b/.nuget/directxtex_desktop_win10.nuspec @@ -10,7 +10,7 @@ This version is for Windows desktop applications using Visual Studio 2019 (16.11) or Visual Studio 2022 and supports Windows 10 / Windows 11 including both DirectX 11 and DirectX 12. DirectXTex, a shared source library for reading and writing .DDS files, and performing various texture content processing operations including resizing, format conversion, mip-map generation, block compression for Direct3D runtime texture resources, and height-map to normal-map conversion. This library makes use of the Windows Image Component (WIC) APIs. It also includes simple .TGA and .HDR readers and writers since these image file format are commonly used for texture content processing pipelines, but are not currently supported by a built-in WIC codec. - Matches the June 13, 2023 release on GitHub. + Matches the September 1, 2023 release on GitHub. http://go.microsoft.com/fwlink/?LinkId=248926 images\icon.jpg diff --git a/.nuget/directxtex_uwp.nuspec b/.nuget/directxtex_uwp.nuspec index bf753df..11e1d60 100644 --- a/.nuget/directxtex_uwp.nuspec +++ b/.nuget/directxtex_uwp.nuspec @@ -10,7 +10,7 @@ This version is for Universal Windows Platform apps on Windows 10 / Windows 11 using Visual Studio 2019 (16.11) or Visual Studio 2022. DirectXTex, a shared source library for reading and writing .DDS files, and performing various texture content processing operations including resizing, format conversion, mip-map generation, block compression for Direct3D runtime texture resources, and height-map to normal-map conversion. This library makes use of the Windows Image Component (WIC) APIs. It also includes simple .TGA and .HDR readers and writers since these image file format are commonly used for texture content processing pipelines, but are not currently supported by a built-in WIC codec. - Matches the June 13, 2023 release on GitHub. + Matches the September 1, 2023 release on GitHub. http://go.microsoft.com/fwlink/?LinkId=248926 images\icon.jpg diff --git a/CMakeLists.txt b/CMakeLists.txt index 33a6238..368e7be 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required (VERSION 3.20) -set(DIRECTXTEX_VERSION 1.9.9) +set(DIRECTXTEX_VERSION 2.0.0) if(DEFINED XBOX_CONSOLE_TARGET) set(CMAKE_TRY_COMPILE_TARGET_TYPE "STATIC_LIBRARY") diff --git a/DirectXTex/DirectXTex.h b/DirectXTex/DirectXTex.h index 6f9a335..eae8e62 100644 --- a/DirectXTex/DirectXTex.h +++ b/DirectXTex/DirectXTex.h @@ -47,7 +47,7 @@ struct IWICImagingFactory; struct IWICMetadataQueryReader; #endif -#define DIRECTX_TEX_VERSION 199 +#define DIRECTX_TEX_VERSION 200 namespace DirectX diff --git a/HISTORY.md b/HISTORY.md index 2f92ff1..5965fe9 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -6,6 +6,15 @@ Release available for download on [GitHub](https://github.com/microsoft/DirectXT ## Release History +### September 1, 2023 +* ``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 + ### June 13, 2023 * Added ``TEX_FILTER_RGB_COPY_ALPHA`` flag and support for ``DXGI_FORMAT_A4B4G4R4_UNORM`` * DDS loader now supports 'swizzled' DXT5 variant FourCCs diff --git a/README.md b/README.md index aee0a3b..1d180b9 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ http://go.microsoft.com/fwlink/?LinkId=248926 Copyright (c) Microsoft Corporation. -**June 13, 2023** +**September 1, 2023** This package contains DirectXTex, a shared source library for reading and writing ``.DDS`` files, and performing various texture content processing operations including resizing, format conversion, mip-map generation, block compression for Direct3D runtime texture resources, and height-map to normal-map conversion. This library makes use of the Windows Image Component (WIC) APIs. It also includes ``.TGA`` and ``.HDR`` readers and writers since these image file formats are commonly used for texture content processing pipelines, but are not currently supported by a built-in WIC codec.