Commit Graph

44 Commits

Author SHA1 Message Date
Chuck Walbourn
49537314c5 Updated for legacy FourCC codes used by NVIDIA texture tools 2019-08-22 17:31:43 -07: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
43969ca15f Fixed problem loading DDS files that use FOURCC but have extra irrelevant bits set 2018-08-17 17:31:23 -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
8480f4fe5a Additional C++ Core Checker cleanup 2018-03-29 12:00:16 -07:00
Chuck Walbourn
327586970d Reformat code 2018-03-16 12:52:21 -07:00
Chuck Walbourn
56956f817a Sync DDS header 2018-02-23 23:46:30 -08:00
Chuck Walbourn
3b05453e98 Fixed up comment header block 2018-02-23 22:24:46 -08:00
Chuck Walbourn
46e7ad7020 Minor code review 2018-01-18 15:02:05 -08:00
Chuck Walbourn
6fcd00fdbd Support DDS files with non-standard nVidia Texture Tools flags 2017-07-14 00:44:00 -07:00
Chuck Walbourn
31b6c9309c Minor code cleanup 2017-07-12 00:56:51 -07:00
Chuck Walbourn
b47a7d13d9 Code review feedback 2017-01-06 17:16:43 -08:00
Chuck Walbourn
63b7a7cd43 DDS support for L8A8 with bitcount 8 instead of 16 2016-12-08 11:05:31 -08:00
Chuck Walbourn
98343c572f Fix for DDS header over-validation 2016-11-28 18:09:22 -08:00
Chuck Walbourn
f45b7fb93b Code review feedback 2016-10-27 17:45:47 -07: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
b0d443f526 clean up image files on failed write 2016-09-10 00:09:42 -07:00
Chuck Walbourn
51bc3d5b16 General code cleanuP 2016-09-08 19:09:46 -07:00
Chuck Walbourn
53e66ba1e9 DDS parsing error handling 2016-09-07 14:59:04 -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
990b989be9 Removed DirectXMath adapter for the Windows 8.0 SDK 2016-03-22 16:12:08 -07:00
Chuck Walbourn
ed8adb0c21 Minor code review 2016-02-19 22:10:04 -08:00
Chuck Walbourn
246bebc464 clean up image files on failed write 2016-02-10 14:11:05 -08:00
Chuck Walbourn
a121bc5c31 DDS support for legacy bumpmap formats D3DFMT_V8U8, D3DFMT_Q8W8V8U8, and D3DFMT_V16U16 2015-10-29 16:39:53 -07:00
Chuck Walbourn
4332a15dda Fixed file length validation problem in LoadDDSFromFile 2015-06-18 16:14:10 -07:00
walbourn_cp
d6976ed850 DirectXTex: support writing DDS files where input Image struct rowPitch is not 1-byte aligned 2014-02-20 15:24:34 -08: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
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
98b4e32ce6 Use of _WIN32_WINNT_WIN8 with compat shim for older Windows SDKs 2013-07-24 16:45:33 -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
ae8a8cfa9a DirectXTex: Added DDS_FLAGS_EXPAND_LUMINANCE support 2013-06-10 15:14:55 -07:00
walbourn_cp
33db361592 Update DDS alpha mode metadata
- Make alpha mode 3 bits instead of 2
- Rename 4TH_CHANNEL to CUSTOM
- Reorder enum
2013-04-11 15:23:54 -07:00
walbourn_cp
991b325f10 Code review feedback 2013-03-28 00:14:06 -07:00
walbourn_cp
0d382fbe25 DirectXTex updated to read & write new miscFlags2 alpha mode metadata for DDS files
- Added helper to see if a texure's alpha channel is all opaque
- Reads and writes DXT2 and DXT4 DDS files
- Updated PremultiplyAlpha function to set miscFlags2 appropriately
- Texconv updated for new feature, "-dx10" switch now allows write of miscFlags2 data
2013-03-22 17:52:43 -07:00
walbourn_cp
87880558bb Use no-throw new so out-of-memory returns an HRESULT; minor /analyze fix 2013-03-20 14:12:40 -07:00
walbourn_cp
171f49b741 DirectXTex: Minor code review fixes 2013-01-08 13:15:48 -08: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
cac1a2b2fa DirectXTex: Fix for correctly writing valid 1D files 2012-10-18 11:36:11 -07:00
walbourn_cp
fe9bb94d6c DirectXTex: fixed color order for 24bpp legacy DDS file expansions 2012-06-21 18:24:33 -07:00
walbourn_cp
a6c5c5939a April 20, 2012 source 2012-05-01 13:00:24 -07:00