70 Commits

Author SHA1 Message Date
Chuck Walbourn
25ee5b4f91
Adds BytesPerBlock helper (#516)
Some checks are pending
MSBuild / build (Release, x86, 2019) (push) Waiting to run
MSBuild / build (Release, x86, 2022) (push) Waiting to run
Microsoft C++ Code Analysis / Analyze (push) Waiting to run
CTest (Windows) / build (amd64, x64-Debug, windows-2019) (push) Waiting to run
CTest (Windows) / build (amd64, x64-Debug, windows-2022) (push) Waiting to run
CTest (Windows) / build (amd64, x64-Debug-Clang, windows-2022) (push) Waiting to run
CTest (Windows) / build (amd64, x64-Release, windows-2019) (push) Waiting to run
CTest (Windows) / build (amd64, x64-Release, windows-2022) (push) Waiting to run
CTest (Windows) / build (amd64, x64-Release-Clang, windows-2022) (push) Waiting to run
CTest (Windows) / build (amd64_arm64, arm64-Debug, windows-2022) (push) Waiting to run
CTest (Windows) / build (amd64_arm64, arm64-Release, windows-2022) (push) Waiting to run
CTest (Windows) / build (amd64_arm64, arm64ec-Debug, windows-2022) (push) Waiting to run
CTest (Windows) / build (amd64_arm64, arm64ec-Release, windows-2022) (push) Waiting to run
CTest (Windows) / build (amd64_x86, x86-Debug, windows-2019) (push) Waiting to run
CTest (Windows) / build (amd64_x86, x86-Debug, windows-2022) (push) Waiting to run
CTest (Windows) / build (amd64_x86, x86-Debug-Clang, windows-2022) (push) Waiting to run
CTest (Windows) / build (amd64_x86, x86-Release, windows-2019) (push) Waiting to run
CTest (Windows) / build (amd64_x86, x86-Release, windows-2022) (push) Waiting to run
CTest (Windows) / build (amd64_x86, x86-Release-Clang, windows-2022) (push) Waiting to run
CMake (Windows using VCPKG) / build (amd64, x64-Debug-Clang-VCPKG, windows-2022) (push) Waiting to run
CMake (Windows using VCPKG) / build (amd64, x64-Debug-VCPKG, windows-2019) (push) Waiting to run
CMake (Windows using VCPKG) / build (amd64, x64-Debug-VCPKG, windows-2022) (push) Waiting to run
CMake (Windows using VCPKG) / build (amd64_arm64, arm64-Debug-VCPKG, windows-2022) (push) Waiting to run
CMake (Windows using VCPKG) / build (amd64_x86, x86-Debug-VCPKG, windows-2022) (push) Waiting to run
CMake (WSL) / build (x64-Debug-Linux, 11) (push) Waiting to run
CMake (WSL) / build (x64-Debug-Linux, 12) (push) Waiting to run
CMake (WSL) / build (x64-Debug-Linux, 10) (push) Waiting to run
CMake (WSL) / build (x64-Release-Linux, 10) (push) Waiting to run
CMake (WSL) / build (x64-Release-Linux, 11) (push) Waiting to run
CMake (WSL) / build (x64-Release-Linux, 12) (push) Waiting to run
2024-09-19 18:08:58 -07:00
Chuck Walbourn
af1c8b3cb4
Fix build break when building for Xbox using latest Windows SDK (#480) 2024-06-06 11:11:41 -07:00
Chuck Walbourn
bcb687ee65
Fix D3DX12 warnings (#478) 2024-05-30 12:39:25 -07:00
Chuck Walbourn
e9e293c0c5
Fixed unreferenced formal parameter warning (#460) 2024-02-28 15:16:02 -08:00
Chuck Walbourn
aae41e425b
Xbox auxiliary optimization for tiling (#459) 2024-02-28 11:21:43 -08:00
Chuck Walbourn
7fbe35ff34
Update CMake to work with Intel compilers (#451) 2024-02-09 11:52:49 -08:00
Chuck Walbourn
e0a7be5a4b
Add support for new DXGI 16bpp format (#348) 2023-05-11 09:58:28 -07:00
Chuck Walbourn
278e708f25
ConvertToSinglePlane memory overrwrite bug fix (#307) 2023-01-25 23:25:26 -08:00
Chuck Walbourn
f904ecf09b Added MakeLinear utility function 2022-07-27 16:56:43 -07:00
Chuck Walbourn
9c72f2c6cd
CMake support added for building with MinGW (#275) 2022-05-05 14:50:13 -07:00
Chuck Walbourn
a6b1c557dc Another warning suppression for VS 2022 17.2 2022-04-21 21:31:43 -07:00
Chuck Walbourn
b1001d15b3
.edtiorconfig driven reformat of source (#271) 2022-04-04 15:03:02 -07:00
Chuck Walbourn
1c20d528d4
Add support for HEIF and WEBP to command-line tools (#268) 2022-03-02 14:25:27 -08:00
Chuck Walbourn
174539feb3 Constify variables 2022-02-21 01:10:19 -08:00
Chuck Walbourn
469c65406a
Convert internal functions to use Internal namespace instead of leading underscore (#266)
Fixes clang v13 -Wreserved-identifier warning
2022-02-20 14:47:07 -08:00
Chuck Walbourn
60fde45d28 Replaced use of CreateStreamOnHGlobal with a custom IStream 2021-04-06 17:52:47 -07:00
Chuck Walbourn
7df49719a1 Updated copyright banner 2021-02-26 22:59:42 -08:00
Chuck Walbourn
234eee8a01
Support for Windows Subsystem for Linux (#208) 2021-01-08 02:20:55 -08:00
Chuck Walbourn
f764da5176 Replaced _countof / ARRAYSIZE with std::size 2021-01-02 12:44:35 -08:00
Chuck Walbourn
216e2b0388 Avoid static initialization order fiasco (#196) 2020-09-18 14:06:27 -07:00
Chuck Walbourn
b0667d7da9 Updates for Xbox 2020-08-12 14:35:39 -07:00
Chuck Walbourn
e53a13e8c1 Fixed PVS Studio V1037 warning 2020-06-13 14:02:40 -07:00
Chuck Walbourn
17aeb40917
Switched to using strongly typed flags (#179) 2020-06-01 00:42:02 -07:00
Chuck Walbourn
20a685d62f Minor code review 2020-01-17 12:20:39 -08:00
Chuck Walbourn
316f65649b More noexcept annotation 2019-12-13 00:01:17 -08:00
Chuck Walbourn
79020d0f1e Added noexcept to public functions 2019-12-11 19:52:48 -08:00
Chuck Walbourn
5f125c6b8d
Add CMake project and fix clang warnings (#139) 2019-05-25 16:00:32 -07:00
Chuck Walbourn
86b2bb5194 Enable compilation with clang-cl (LLVM on Windows) (#135) 2019-04-16 17:38:37 -07:00
Chuck Walbourn
b207e278e7 Minor code review 2018-10-10 15:31:00 -07:00
Chuck Walbourn
114a0acf6b
ComputePitch now returns an HRESULT (#113) 2018-08-03 16:49:30 -07:00
Chuck Walbourn
0d94e9469b
Fix compiler errors (Clang 6) (#37) 2018-06-12 18:07:34 -07:00
Chuck Walbourn
e62bbb24f8
Retire Windows 8.1 Store, Windows phone 8.1. and VS 2013 projects (#96)
* Retire VS 2013 projects
* Cleaned up warning suppression
* Use ``noexcept`` instead of ``throw()``
* Can use ``%zu`` instead of ``%Iu``
* More uniform initialization
2018-05-01 17:34:54 -07:00
Chuck Walbourn
32619fb627 Don't need to use DIRECTX_NOEXCEPT macro 2018-04-17 10:49:53 -07:00
Chuck Walbourn
4724707546 VS 2017 (15.7 preview) /analyze cleanup 2018-03-29 10:17:31 -07:00
Chuck Walbourn
327586970d Reformat code 2018-03-16 12:52:21 -07:00
Chuck Walbourn
3b05453e98 Fixed up comment header block 2018-02-23 22:24:46 -08:00
Chuck Walbourn
09e19e15b6 Cleaned up some warnings 2017-12-05 13:49:15 -08:00
Chuck Walbourn
7be023e608 DXGI_FORMAT_R32G8X24_TYPELESS and DXGI_FORMAT_R24G8_TYPELESS are stencil typeless formats 2017-01-28 17:58:54 -08:00
Chuck Walbourn
7275893dbe badtails flag to enable loading of legacy DXTn DDS files with incomplete mipchain tails 2016-09-11 14:29:10 -07:00
Chuck Walbourn
04143d621c Added HDR readers and writes and Evaluate function 2016-09-10 20:43:33 -07:00
Chuck Walbourn
51bc3d5b16 General code cleanuP 2016-09-08 19:09:46 -07:00
Chuck Walbourn
0bbee8c588 Code review feedback 2016-09-01 16:54:42 -07:00
Chuck Walbourn
25dbe0e547 Code review feedback 2016-09-01 01:33:23 -07:00
Chuck Walbourn
4dd440e775 Normalize line endings 2016-08-22 11:26:36 -07:00
Chuck Walbourn
d3e3a12bba Minor code fix 2016-07-10 01:59:06 -07:00
Chuck Walbourn
51e92d4e5d Use IID_PPV_ARGS macro 2016-04-18 14:45:56 -07:00
Chuck Walbourn
e3d21fc8c6 Fixed problems with WIC1 codepaths 2015-08-19 18:00:26 -07:00
Chuck Walbourn
7093178481 Added Get/SetWICFactory 2015-08-18 16:14:09 -07:00
Chuck Walbourn
4a223dd8ad Updated for DXGI 1.3 types 2015-08-14 12:20:40 -07:00
Chuck Walbourn
1167ebb9c7 DXGI_FORMAT_A8_UNORM is not compatible with DXGI_FORMAT_R8_TYPELESS 2015-05-20 14:17:44 -07:00