1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-12-29 12:41:07 +00:00
Commit Graph

50 Commits

Author SHA1 Message Date
Chuck Walbourn
dbaaffbefb Code review feedback for standalone texture loaders 2020-03-10 01:05:10 -07:00
Filip Strugar
1f77e40045 Added #ifdef around 'enum DDS_ALPHA_MODE' definition Allow DDSTextureLoader.h and DDSTextureLoader12.h to be included together. The same for 'enum WIC_LOADER_FLAGS'. (#153) 2019-12-11 12:04:52 -08:00
Chuck Walbourn
bc0325b806 Cleaned up clang warnings in DDSTextureLoader, ScreenGrab, WICTextureLoader 2019-07-31 17:05:23 -07:00
Chuck Walbourn
f55158d557
Ex texture loaders updated with additional parameter validation (#142) 2019-06-18 16:56:52 -07:00
Chuck Walbourn
56d86325b6
Code refactor and reformat for texture loaders (#137) 2019-04-17 14:14:01 -07:00
Chuck Walbourn
3a73844dde Use UTF-8 instead of ANSI 2018-10-24 18:03:48 -07:00
Chuck Walbourn
114a0acf6b
ComputePitch now returns an HRESULT (#113) 2018-08-03 16:49:30 -07:00
Chuck Walbourn
3f8b8d36b9 Resync DDSTextureLoader, ScreenGrab, WICTextureLoader 2018-08-02 15:24:25 -07:00
Chuck Walbourn
94c68685a2 Minor code review feedback 2018-06-07 18:25:52 -07:00
Chuck Walbourn
31476315a0 Minor code review feedback 2018-06-06 01:41:15 -07:00
Chuck Walbourn
3b05453e98 Fixed up comment header block 2018-02-23 22:24:46 -08:00
Chuck Walbourn
86a0750869 Fix references to d3dx12 2018-01-16 15:05:51 -08:00
Chuck Walbourn
df239abdd1 Fixed DDSTextureLoader12 planar resource error 2017-01-30 23:06:07 -08:00
Chuck Walbourn
b9bf00c0ea DirectX 12 planar resource handling 2017-01-30 22:29:45 -08:00
Chuck Walbourn
0abee99a11 DDS support for L8A8 with bitcount 8 instead of 16 2016-12-08 13:14:27 -08:00
Chuck Walbourn
2f31eb519c Resync DDSTextureLoader, WICTextureLoader 2016-09-22 22:34:50 -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
64c5bc5893 Added WICTextureLoader for DX12 2016-07-07 18:14:10 -07:00
Chuck Walbourn
5278803345 Added DDSTextureLoader for DX12 2016-07-07 17:51:28 -07:00
Chuck Walbourn
de51bd7fcf Use brace initialization instead of memset 0 2016-05-18 13:57:56 -07:00
Chuck Walbourn
eca2005ac5 Removed obsolete adapter code for VS 2010/2012 2016-04-08 18:01:05 -07: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
walbourn_cp
b036f8906b Fixed typo 2015-03-27 16:47:22 -07:00
walbourn_cp
7ee5e66ac9 Fixed typo 2015-03-27 16:42:59 -07:00
walbourn_cp
ee870efb9e Standalone DDSTextureLoader, WICTextureLoader, ScreenGrab sync'd; removed partial XBox One support 2014-08-12 15:01:09 -07:00
walbourn_cp
57b4ae994d Removed all use of MONOLITHIC driver variable 2014-05-08 13:44:39 -07:00
walbourn_cp
3b396e2303 Sync with latest DirectXTK versions of DDSTextureLoader, ScreenGrab, and WICTextureLoader 2014-04-03 12:43:46 -07:00
walbourn_cp
cff826adad DDSTextureLoader: Attempt to use autogen mips for DDS files without mipmaps if a Direct3D 11 context is provided 2014-02-24 16:11:22 -08:00
walbourn_cp
9b334ab768 DDSTextureLoader: Fixed computing for NV11 which requires width multiple of 4, but height can be odd 2014-02-14 11:59:13 -08:00
walbourn_cp
9f13dd26f9 DDSTextureLoader/ScreenGrab: Updated with support for Direct3D 11 video formats including legacy 'YUY2' DDS files 2014-02-04 12:33:47 -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
177351faa2 Some minor cleanup for DDSTextureLoader 2013-06-20 21:19:42 -07:00
walbourn_cp
8c508c9b58 DDSTextureLoader, ScreenGrab, WICTextureLoader trimmed of some unused defines and fixed /W4 problem in release mode 2013-06-19 13:05:55 -07:00
walbourn_cp
fb76f38a49 DDSTextureLoader fix for 1D/2D texture and cubemap arrays when skipping mips 2013-04-26 15:15:47 -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
ee978ad449 Updated DDSTextureLoader to optionall return Alpha Mode metadata if available 2013-03-22 17:24:05 -07:00
walbourn_cp
3cc014ec76 DDSTextureLoader/WICTextureLoader /analyze fixes 2013-03-20 15:48:55 -07:00
walbourn_cp
6b8936dc50 DDSTextureLoader/WICTextureLoader: Fixed forceSRGB logic (DirectxTK Codeplex issue 851)
Integrated some code review feedback
2013-01-28 14:24:03 -08:00
walbourn_cp
c8bb338548 DirectXTex: converted DDSTextureLoader & WICTextureLoader to SAL2 2012-12-11 13:26:14 -08:00
walbourn_cp
db135329b2 DirectXTex: Add 'forceSRGB' option to Ex versions of CreateSRV, DDSTextureLoader, & WICTextureLoader 2012-12-11 12:24:03 -08:00
walbourn_cp
1168867270 Ex versions of DDSTextureLoader & WICTextureLoader for advanced / expert scenarios 2012-11-29 17:38:29 -08:00
walbourn_cp
3f64170a59 DDSTextureLoader: Minor code cleanup reported by Codeplex user 2012-10-18 11:44:10 -07:00
walbourn_cp
c7594d5265 DDSTextureLoader & WICTextureLoader updated to use SetDebugObjectName template introduced in Oct 12 2012 DirectXTK release 2012-10-12 12:48:53 -07:00
walbourn_cp
051f865120 Put DDSTextureLoader & WICTextureLoader routines into DirectX C++ namespace 2012-10-02 14:03:22 -07:00
walbourn_cp
505949d763 DDSTextureLoader - cleaned up debug sdk layer name setting 2012-05-23 15:44:09 -07:00
walbourn_cp
e85504e967 10level9 drivers can return something other than E_INVALIDARG for this case, so we retry for any failure 2012-05-02 16:49:10 -07:00
walbourn_cp
a6c5c5939a April 20, 2012 source 2012-05-01 13:00:24 -07:00