Commit Graph

58 Commits

Author SHA1 Message Date
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
Chuck Walbourn
7245687c6c SAL annotation for switch fallthrough 2017-02-14 16:02:25 -08:00
Chuck Walbourn
f45b7fb93b Code review feedback 2016-10-27 17:45:47 -07:00
Chuck Walbourn
33e97528ff Code review feedback 2016-09-30 00:29:19 -07:00
Chuck Walbourn
a7b3393d4d added -x2bias switch for texconv 2016-09-30 00:16:56 -07:00
Chuck Walbourn
a30c37220b Support premultiply reverse and -alpha switch 2016-09-14 00:03:22 -07:00
Chuck Walbourn
50e4e6552e Transform function and texconv -c switch 2016-09-13 18:09:46 -07:00
Chuck Walbourn
51bc3d5b16 General code cleanuP 2016-09-08 19:09:46 -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
0f75b5d268 Fix for bug with XMStoreFloat3SE 2016-07-07 17:50:21 -07:00
Chuck Walbourn
990b989be9 Removed DirectXMath adapter for the Windows 8.0 SDK 2016-03-22 16:12:08 -07:00
Chuck Walbourn
2b22bfed1c Cleaned up /analyze warnings with VS 2015 Update 2 2016-03-18 00:48:24 -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
847ab8940a Fixed round problem with 32-bit RGBA/BGRA formats 2015-07-07 14:25:48 -07:00
walbourn_cp
367db3de30 DirectXTex: Improved format conversions
- depth/stencil conversions incl fix for stencil data handling
- alpha only conversions
- fixed bug with half-precision (float16) format conversions
- fixed bug with RGB -> 1 channel conversion for non-UNORM sources
2014-09-22 12:39:24 -07:00
walbourn_cp
91951178e0 Fixed warnings found by Dev14 CTP 2014-09-18 16:29:08 -07:00
walbourn_cp
48e969aac7 Xbox One platform changes 2014-09-11 15:26:14 -07:00
walbourn_cp
c3ac93db96 Code Review feedback 2014-07-01 12:36:30 -07:00
walbourn_cp
8a597ef59b DirectXTex: minor fix (no codegen impact) 2014-06-04 15:56:21 -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
c72e6ccc22 DirectXTex: Fixed bug with application of ordered dithering in non-WIC codepaths 2014-02-13 11:28:26 -08:00
walbourn_cp
b4b63a3557 Eliminate ScopedObject in favor of standard Microsoft::WRL::ComPtr 2014-01-15 17:08:08 -08:00
walbourn_cp
f1ff6f10f2 DirectXTex: Dropped support for VS 2010 + legacy DirectX SDK without Windows 8.x SDK
- Removed DXGI_1_2_FORMATS and USE_XNAMATH control defines
- Deleted *Desktop_2010_SDK81.* project files, updated *Desktop_2010.* project files to use Windows 8.1 SDK
2014-01-15 13:14:48 -08:00
walbourn_cp
7523b2bb9b DirectXTex: Updated to use DirectXMath 3.06 when available 2013-09-09 12:45:36 -07:00
walbourn_cp
887d87bf91 DirectXTex: /analyze cleanup 2013-06-27 16:21:01 -07:00
walbourn_cp
32b06b3e5c DirectXTK/DirectXTex: Minor code review feedback 2013-06-21 14:12:39 -07:00
walbourn_cp
fb6f5aac2e DirectXTex: Integrated some Code Review feedback (no code impact) 2013-06-17 12:32:11 -07:00
walbourn_cp
98699f90f9 DirectXTex: Replace D3DX's table sRGB encoding/decoding with gamma correct implementation 2013-06-12 16:28:11 -07:00
walbourn_cp
bdb7d21088 DirectXTex: Implemented dithering for non-WIC codepaths
- Reworked texconv options for -if for dithering
2013-06-11 13:18:23 -07:00
walbourn_cp
8a267b10b2 DirectXTex: some code cleanup 2013-06-10 15:16:08 -07:00
walbourn_cp
0a6e75fe5a DirectXTex: Convert threshold parameter was not being used correctly
Convert needs to use non-WIC paths for -sepalpha cases
2013-06-07 18:07:08 -07:00
walbourn_cp
a9c0c4320e DirectXTex: sRGB correct filtering for mipmap generation 2013-06-06 17:58:23 -07:00