Commit Graph

45 Commits

Author SHA1 Message Date
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
walbourn_cp
6323465f1f DirectXTex: Special-case optimization when doing RGBA 32bpp resize or 2D mipmap generation 2013-04-30 15:25:26 -07:00
walbourn_cp
e95ffd151d DirectXTex: cleanup of volume map custom point/box filters 2013-04-26 15:11:42 -07:00
walbourn_cp
91654fc9df Fixed bug with non-square volume mipmaps 2013-04-04 11:27:05 -07:00
walbourn_cp
cee58c4aed DirectXTex: Added VS 2010+Windows SDK 8.0 projects; updated to use SAL2 annotation 2012-12-07 17:30:49 -08:00
walbourn_cp
6a905106f2 DirectXTex: Added WIC2 support for downlevel builds to support Windows 8 and Windows 7 with KB 2670838 isntalled 2012-11-13 18:33:01 -08:00
walbourn_cp
a6c5c5939a April 20, 2012 source 2012-05-01 13:00:24 -07:00