diff --git a/.nuget/directxtex_desktop_2015.nuspec b/.nuget/directxtex_desktop_2015.nuspec index c1ec5c8a..c7a43b20 100644 --- a/.nuget/directxtex_desktop_2015.nuspec +++ b/.nuget/directxtex_desktop_2015.nuspec @@ -3,14 +3,14 @@ directxtex_desktop_2015 0.0.0-SpecifyVersionOnCommandline - DirectXTex Library (VS 2015/VS 2017 Win32) + DirectXTex Library (VS 2015/2017/2019 Win32) Microsoft microsoft,directxtk DirectXTex texture processing library - This version is for Windows desktop applications using Visual Studio 2015 Update 3 or Visual Studio 2017 and supports Windows 7 / DirectX 11. + This version is for Windows desktop applications using Visual Studio 2015 Update 3, Visual Studio 2017, or Visual Studio 2019 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 February 7, 2019 release on GitHub. + Matches the April 26, 2019 release on GitHub. http://go.microsoft.com/fwlink/?LinkId=248926 https://github.com/Microsoft/DirectXTex/wiki/X_jpg.jpg http://opensource.org/licenses/MIT diff --git a/.nuget/directxtex_desktop_win10.nuspec b/.nuget/directxtex_desktop_win10.nuspec index bd4e5cb2..ecfeaa5f 100644 --- a/.nuget/directxtex_desktop_win10.nuspec +++ b/.nuget/directxtex_desktop_win10.nuspec @@ -7,10 +7,10 @@ Microsoft microsoft,directxtk DirectXTex texture processing library - This version is for Windows desktop applications using Visual Studio 2015 Update 3 or Visual Studio 2017 and supports Windows 10 including both DirectX 11 and DirectX 12. + This version is for Windows desktop applications using Visual Studio 2015 Update 3, Visual Studio 2017, or Visual Studio 2019 and supports Windows 10 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 February 7, 2019 release on GitHub. + Matches the April 26, 2019 release on GitHub. http://go.microsoft.com/fwlink/?LinkId=248926 https://github.com/Microsoft/DirectXTex/wiki/X_jpg.jpg http://opensource.org/licenses/MIT diff --git a/.nuget/directxtex_uwp.nuspec b/.nuget/directxtex_uwp.nuspec index ad776e07..220eef69 100644 --- a/.nuget/directxtex_uwp.nuspec +++ b/.nuget/directxtex_uwp.nuspec @@ -7,10 +7,10 @@ Microsoft microsoft,directxtk DirectXTex texture processing library - This version is for Universal Windows Platform apps on Windows 10 using Visual Studio 2015 Update 3 or Visual Studio 2017. + This version is for Universal Windows Platform apps on Windows 10 using Visual Studio 2017 or Visual Studio 2019. 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 February 7, 2019 release on GitHub. + Matches the April 26, 2019 release on GitHub. http://go.microsoft.com/fwlink/?LinkId=248926 https://github.com/Microsoft/DirectXTex/wiki/X_jpg.jpg http://opensource.org/licenses/MIT diff --git a/ReadMe.txt b/ReadMe.txt index 69033191..1bd2158f 100644 --- a/ReadMe.txt +++ b/ReadMe.txt @@ -3,7 +3,7 @@ DIRECTX TEXTURE LIBRARY (DirectXTex) Copyright (c) Microsoft Corporation. All rights reserved. -February 7, 2019 +April 26, 2019 This package contains DirectXTex, a shared source library for reading and writing DDS files, and performing various texture content processing operations including @@ -13,10 +13,14 @@ use of the Windows Image Component (WIC) APIs. It also includes simple .TGA and 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. -This code is designed to build with Visual Studio 2015 Update 3 or Visual Studio 2017. -It is recommended that you make use of VS 2015 Update 3, Windows Tools 1.4.1, and the -Windows 10 Anniversary Update SDK (14393) -or- VS 2017 (15.9 update) with the -Windows 10 October 2018 Update SDK (17763). +This code is designed to build with Visual Studio 2015 Update 3, Visual Studio 2017, +or Visual Studio 2019. It is recommended that you make use of VS 2015 Update 3, +Windows Tools 1.4.1, and the Windows 10 Anniversary Update SDK (14393) -or- +VS 2017 (15.9 update) / VS 2019 with the Windows 10 October 2018 Update SDK (17763). + +These components are designed to work without requiring any content from the +legacy DirectX SDK. For details, see "Where is the DirectX SDK?" +. DirectXTex\ This contains the DirectXTex library. This includes a full-featured DDS reader and writer @@ -36,7 +40,6 @@ Texconv\ SDK utility. The primary differences are the -10 and -11 arguments are not applicable and the filter names (POINT, LINEAR, CUBIC, FANT or BOX, TRIANGLE, *_DITHER, *_DITHER_DIFFUSION). This also includes support for the JPEG XR (HD Photo) bitmap format. - (see ) See for details. @@ -100,44 +103,56 @@ https://opensource.microsoft.com/codeofconduct/ ------------------------------------ RELEASE NOTES -* The alpha mode specification for DDS files was updated between the March 2013 and April 2013 releases. Any - DDS files created using the DDS_FLAGS_FORCE_DX10_EXT_MISC2 flag or the texconv -dx10 switch using the - March 2013 release should be refreshed. +* The alpha mode specification for DDS files was updated between the March 2013 + and April 2013 releases. Any DDS files created using the DDS_FLAGS_FORCE_DX10_EXT_MISC2 + flag or the texconv -dx10 switch using the March 2013 release should be refreshed. -* Due to the underlying Windows BMP WIC codec, alpha channels are not supported for 16bpp or 32bpp BMP pixel format - files. The Windows 8.x and Windows 10 version of the Windows BMP WIC codec does support 32bpp pixel formats with - alpha when using the BITMAPV5HEADER file header. Note the updated WIC is available on Windows 7 SP1 with KB 2670838 - installed. +* Due to the underlying Windows BMP WIC codec, alpha channels are not supported for 16bpp + or 32bpp BMP pixel format files. The Windows 8.x and Windows 10 version of the Windows + BMP WIC codec does support 32bpp pixel formats with alpha when using the BITMAPV5HEADER + file header. Note the updated WIC is available on Windows 7 SP1 with KB 2670838 installed. -* While DXGI 1.0 and DXGI 1.1 include 5:6:5 (DXGI_FORMAT_B5G6R5_UNORM) and 5:5:5:1 (DXGI_FORMAT_B5G5R5A1_UNORM) - pixel format enumerations, the DirectX 10.x and 11.0 Runtimes do not support these formats for use with Direct3D. - The DirectX 11.1 runtime, DXGI 1.2, and the WDDM 1.2 driver model fully support 16bpp formats (5:6:5, 5:5:5:1, and - 4:4:4:4). +* While DXGI 1.0 and DXGI 1.1 include 5:6:5 (DXGI_FORMAT_B5G6R5_UNORM) and + 5:5:5:1 (DXGI_FORMAT_B5G5R5A1_UNORM) pixel format enumerations, the DirectX 10.x and + 11.0 Runtimes do not support these formats for use with Direct3D. The DirectX 11.1 runtime, + DXGI 1.2, and the WDDM 1.2 driver model fully support 16bpp formats (5:6:5, 5:5:5:1, and + 4:4:4:4). -* WICTextureLoader cannot load .TGA or .HDR files unless the system has a 3rd party WIC codec installed. You - must use the DirectXTex library for TGA/HDR file format support without relying on an add-on WIC codec. +* WICTextureLoader cannot load .TGA or .HDR files unless the system has a 3rd party WIC + codec installed. You must use the DirectXTex library for TGA/HDR file format support + without relying on an add-on WIC codec. -* Loading of 96bpp floating-point TIFF files results in a corrupted image prior to Windows 8. This fix is available - on Windows 7 SP1 with KB 2670838 installed. +* Loading of 96bpp floating-point TIFF files results in a corrupted image prior to Windows 8. + This fix is available on Windows 7 SP1 with KB 2670838 installed. -* The VS 2017 projects make use of /permissive- for improved C++ standard conformance. Use of a Windows 10 SDK prior to - the Fall Creators Update (16299) or an Xbox One XDK prior to June 2017 QFE 4 may result in failures due to problems - with the system headers. You can work around these by disabling this switch in the project files which is found - in the elements. +* The VS 2017/2019 projects make use of /permissive- for improved C++ standard + conformance. Use of a Windows 10 SDK prior to the Fall Creators Update (16299) + or an Xbox One XDK prior to June 2017 QFE 4 may result in failures due to + problems with the system headers. You can work around these by disabling this + switch in the project files which is found in the elements. -* The VS 2017 projects require the 15.5 update or later. For UWP and Win32 classic desktop projects with the 15.5 - - 15.7 updates, you need to install the standalone Windows 10 SDK (17763) which is otherwise included in the 15.8.6 or - later update. Older VS 2017 updates will fail to load the projects due to use of the element. - If using the 15.5 or 15.6 updates, you will see "warning D9002: ignoring unknown option '/Zc:__cplusplus'" because - this switch isn't supported until 15.7. It is safe to ignore this warning, or you can edit the project files - elements. +* The VS 2017 projects require the 15.5 update or later. For UWP and Win32 + classic desktop projects with the 15.5 - 15.7 updates, you need to install the + standalone Windows 10 SDK (17763) which is otherwise included in the 15.8.6 or + later update. Older VS 2017 updates will fail to load the projects due to use + of the element. If using the 15.5 or 15.6 updates, you will + see "warning D9002: ignoring unknown option '/Zc:__cplusplus'" because this + switch isn't supported until 15.7. It is safe to ignore this warning, or you + can edit the project files elements. -* The UWP projects include configurations for the ARM64 platform. These require VS 2017 (15.9 update) to build. +* The UWP projects include configurations for the ARM64 platform. These require + VS 2017 (15.9 update) or VS 2019 to build. ------------------------------------ RELEASE HISTORY +April 26, 2019 + Added VS 2019 desktop projects + Code cleanup for texture loaders + Officially dropped Windows Vista support + Minor code cleanup + February 7, 2019 Added ScaleMipMapsAlphaForCoverage function to the library WIC Writer now has two new flags: WIC_FLAGS_FORCE_SRGB and WIC_FLAGS_FORCE_LINEAR