Commit Graph

17 Commits

Author SHA1 Message Date
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