Chuck Walbourn
cfd5f27126
Code review for const auto vs auto const ( #579 )
2025-02-04 12:12:59 -08:00
Chuck Walbourn
819c5b78f7
Workaround clang/LLVM bug with /fp:fast+SSE+float_control ( #449 )
2024-02-05 10:08:59 -08:00
Nicholas Hayes
1d1d4d0134
Add CompressEx and ConvertEx methods that report progress ( #375 )
2023-08-18 14:43:30 -07:00
Chuck Walbourn
f5d41447f8
Add TEX_FILTER_RGB_COPY_ALPHA for RGBA to R and RGBA to RG convert control ( #349 )
2023-05-12 11:27:02 -07: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
91df32232f
Bias added for ARM version of 16bpp format conversions to match existing output
2022-11-28 00:03:22 -08:00
Chuck Walbourn
536937fbf7
Minor code cleanup
2022-05-07 23:17:35 -07:00
Chuck Walbourn
9c72f2c6cd
CMake support added for building with MinGW ( #275 )
2022-05-05 14:50:13 -07:00
Chuck Walbourn
b1001d15b3
.edtiorconfig driven reformat of source ( #271 )
2022-04-04 15:03:02 -07:00
Chuck Walbourn
acbd901f3a
Fix build warning -Wimplicit-fallthrough when using clang in C++14 mode
2022-03-15 11:47:55 -07:00
Chuck Walbourn
5a1d284615
A few minor improvements when building with C++17
2022-03-13 15:13:45 -07: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
1c9148db32
Minor code review feedback
2021-10-19 15:52:12 -07:00
Chuck Walbourn
77f1a6fc86
Fixed /analyze warnings
2021-03-26 16:55:17 -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
95c4991486
Added make_AlignedArray helpers to scoped.h
2021-01-04 23:10:30 -08:00
Chuck Walbourn
f764da5176
Replaced _countof / ARRAYSIZE with std::size
2021-01-02 12:44:35 -08:00
Chuck Walbourn
7823346987
R16_SNORM, R8_SNORM pixel write code updated to round instead of truncate
2020-09-30 13:37:40 -07:00
Chuck Walbourn
b0667d7da9
Updates for Xbox
2020-08-12 14:35:39 -07:00
Chuck Walbourn
9ef44739a3
Added FormatDataType utility function
2020-07-12 23:00:17 -07:00
Chuck Walbourn
17aeb40917
Switched to using strongly typed flags ( #179 )
2020-06-01 00:42:02 -07:00
Chuck Walbourn
50abcdf121
Fixed -Wimplicit-int-float-conversion
2020-04-30 01:18:41 -07:00
Chuck Walbourn
e15f564ba7
Minor code review
2020-01-24 08:55:54 -08:00
Chuck Walbourn
316f65649b
More noexcept annotation
2019-12-13 00:01:17 -08:00
Chuck Walbourn
70d6a77e3c
Fixed -Wextra-semi-stmt warning
2019-07-08 02:08:11 -07:00
Chuck Walbourn
d628e4427f
Fixed -Wextra-semi-stmt warnings
2019-06-26 12:47:34 -07:00
Chuck Walbourn
5f125c6b8d
Add CMake project and fix clang warnings ( #139 )
2019-05-25 16:00:32 -07:00
Triang3l
c7261a0951
Prevent shift overflow in FloatTo7e3/FloatTo6e4 ( #129 )
2019-04-16 16:17:56 -07:00
Chuck Walbourn
b207e278e7
Minor code review
2018-10-10 15:31:00 -07:00
Chuck Walbourn
ba0280c500
Workaround when using WIC for F32 images that exceed 32-bits ( #112 )
2018-08-02 12:31:20 -07:00
Chuck Walbourn
2c82697c1b
Improved validation where WIC requires a cast to UINT for pitch/imageSize
2018-07-27 01:02:56 -07:00
Chuck Walbourn
0d94e9469b
Fix compiler errors (Clang 6) ( #37 )
2018-06-12 18:07:34 -07:00
Chuck Walbourn
094988727e
Minor code review feedback
2018-06-11 12:22:52 -07:00
Chuck Walbourn
e0457acb23
Force non-WIC paths for FP32->FP16 conversions ( #99 )
2018-05-11 18:56:05 -07:00
Chuck Walbourn
8a2847dc4e
Removed out of range characters from comments
2018-05-05 09:15:26 -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
8480f4fe5a
Additional C++ Core Checker cleanup
2018-03-29 12:00:16 -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
darwikey
534863cab1
Fix compiler errors (Clang 5.0.0) ( #65 )
2017-11-17 09:33:30 -08:00
Chuck Walbourn
9bac14c9b9
Use XMVectorMultiplyAdd in diffusion dither
2017-11-15 19:57:40 -08:00
Chuck Walbourn
983bb95575
Minor code cleanup
2017-07-13 19:24:22 -07:00
Chuck Walbourn
31b6c9309c
Minor code cleanup
2017-07-12 00:56:51 -07:00
Chuck Walbourn
0a85ac75a0
WIC format converter should use WICBitmapPaletteTypeMedianCut
2017-07-03 16:04:01 -07:00