Commit Graph

56 Commits

Author SHA1 Message Date
a77543886f 53% 2020-09-12 01:21:56 +01:00
Chuck Walbourn
b0667d7da9 Updates for Xbox 2020-08-12 14:35:39 -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
d628e4427f Fixed -Wextra-semi-stmt warnings 2019-06-26 12:47:34 -07:00
Chuck Walbourn
5efd9bde8b Fixed -Wmissing-prototypes 2019-05-29 15:52:15 -07:00
Chuck Walbourn
5f125c6b8d
Add CMake project and fix clang warnings (#139) 2019-05-25 16:00:32 -07:00
Chuck Walbourn
a35fb23349 Guard for divide by zero 2019-01-28 23:11:35 -08:00
Chuck Walbourn
cded42acfc Code review feedback 2019-01-28 15:58:59 -08:00
Julian McKinlay
f2c4d94a35 [texconv] Implemented alpha coverage preservation option (#82) 2019-01-28 11:57:19 -08: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
8480f4fe5a Additional C++ Core Checker cleanup 2018-03-29 12:00:16 -07:00
Chuck Walbourn
3b05453e98 Fixed up comment header block 2018-02-23 22:24:46 -08:00
Chuck Walbourn
fddcbb0fc8 minor code review 2017-10-12 16:02:44 -07: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
Chuck Walbourn
a30c37220b Support premultiply reverse and -alpha switch 2016-09-14 00:03:22 -07:00
Chuck Walbourn
51bc3d5b16 General code cleanuP 2016-09-08 19:09:46 -07:00
Chuck Walbourn
4dd440e775 Normalize line endings 2016-08-22 11:26:36 -07:00
Chuck Walbourn
de51bd7fcf Use brace initialization instead of memset 0 2016-05-18 13:57: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
walbourn_cp
5541a2cbcf Fixed bug with GenerateMipMaps for WIC-based generation of non-WIC supported formats. 2015-03-16 16:34:27 -07:00
walbourn_cp
27020cce7b Minor code review feedback
- Don't need to use ".get()[" pattern when using std::unique_ptr<T[]> specialization
2014-11-20 13:44:59 -08:00
walbourn_cp
0922ab3f94 Fix for C++14 with std::vector<const T> 2014-09-18 11:26:01 -07:00
walbourn_cp
48e969aac7 Xbox One platform changes 2014-09-11 15:26:14 -07:00
walbourn_cp
c568c51408 DirectXTex: GenerateMips fails if asked to not generate any mips 2014-07-11 16:57:54 -07:00
walbourn_cp
5336f904da DirectXTex: Support for Direct3D 11 video and Xbox One extended formats
- New APIs: IsPlanar, IsPalettized, IsDepthStencil, ConvertToSinglePlane
2014-02-14 13:33:01 -08:00
walbourn_cp
c43f736184 DirectXTex: Added IsVolumemap() helper to TexMetadata 2014-01-30 16:48:52 -08:00
walbourn_cp
b4b63a3557 Eliminate ScopedObject in favor of standard Microsoft::WRL::ComPtr 2014-01-15 17:08:08 -08:00
walbourn_cp
1d3e1d0904 DirectXTex: Make ScopedObject match Microsoft::WRL::ComPtr, use Microsoft::WRL::ComPtr when possible 2013-07-26 16:44:00 -07:00
walbourn_cp
70afb86830 DirectXTex: VS 2013 /analyze fix 2013-07-25 16:53:48 -07:00
walbourn_cp
98b4e32ce6 Use of _WIN32_WINNT_WIN8 with compat shim for older Windows SDKs 2013-07-24 16:45:33 -07:00
walbourn_cp
51af8e4af5 DirectXTex: Code Review feedback 2013-07-09 16:16:38 -07:00
walbourn_cp
0aa54a8045 DirectXTex: Workaround to avoid ICE when building VS 2013 preview Debug ARM config 2013-07-02 12:53:52 -07:00
walbourn_cp
0678c2b5f9 DirectxTex: Need to slightly bias results floating-point error introduced by TRIANGLE filter
- Avoids problem with harshly quantized formats like 2-bit alpha
- Defaults to TRIANGLE filter for non-pow-2 volume maps
2013-06-15 11:55:07 -07:00
walbourn_cp
2fdf1f6d0a DirectXTex: added finite low-pass triangle custom filter
- TEX_FILTER_TRIANGLE
- texconv updated -if image filter options
2013-06-14 16:17:16 -07:00
walbourn_cp
76bd58ecb0 DirectXTeX: Removed some debug code that upset /analyze 2013-06-06 18:03:58 -07:00
walbourn_cp
a9c0c4320e DirectXTex: sRGB correct filtering for mipmap generation 2013-06-06 17:58:23 -07:00
walbourn_cp
0853752b5d DirectXTex: code review feedback 2013-06-06 16:22:07 -07:00
walbourn_cp
4e1e8b49c1 DirectXTex: non-power-of-2 error should be in 2DBox, not 2DPoint 2013-06-06 14:46:28 -07:00
walbourn_cp
5264ae6503 DirectXTex: 2D & 3D linear and cubic filtering with optional mirror/wrap vs. clamp 2013-06-06 14:02:17 -07:00
walbourn_cp
add7763d9c DirectXTex: Added TEX_FILTER_BOX (which is an alias for FANT) 2013-06-03 15:32:00 -07:00
walbourn_cp
f6cace44e8 DirectXTex: Minor code cleanup 2013-06-03 15:11:47 -07:00