Commit Graph

63 Commits

Author SHA1 Message Date
Chuck Walbourn
2873a800d0 Added WIC_LOADER_SRGB_DEFAULT flag to WICTextureLoader 2020-06-01 19:00:09 -07:00
Chuck Walbourn
21f7e28b80
Added WIC_FLAGS_DEFAULT_SRGB flag (#178) 2020-05-27 02:29:55 -07:00
Chuck Walbourn
91d783dc22 Reformat code 2020-05-09 17:41:45 -07:00
Chuck Walbourn
45fb8623d2
Direct3D 9 versions of texture loaders (#176) 2020-05-09 17:22:35 -07:00
Chuck Walbourn
fc1a420f06 noexcept for texture loaders 2020-05-07 22:27:01 -07:00
Chuck Walbourn
90cc562f9c Added WIC_LOADER_FORCE_RGBA32 to WICTextureLoader 2020-04-20 23:35:43 -07:00
Chuck Walbourn
dbaaffbefb Code review feedback for standalone texture loaders 2020-03-10 01:05:10 -07:00
Chuck Walbourn
20a685d62f Minor code review 2020-01-17 12:20:39 -08: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
45ebdc46c5 A few SDL fixes for memcpy_s usage 2018-10-16 14:10:34 -07:00
Chuck Walbourn
3f8b8d36b9 Resync DDSTextureLoader, ScreenGrab, WICTextureLoader 2018-08-02 15:24:25 -07:00
Chuck Walbourn
094988727e Minor code review feedback 2018-06-11 12:22:52 -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
0a85ac75a0 WIC format converter should use WICBitmapPaletteTypeMedianCut 2017-07-03 16:04:01 -07:00
Chuck Walbourn
5db16bd5bb 40bppCMYKAlpha should be read as R8G8B8A8 2017-01-12 11:11:34 -08:00
Chuck Walbourn
8fcd276eba permissive- code cleanup 2017-01-10 14:51:52 -08:00
Chuck Walbourn
b47a7d13d9 Code review feedback 2017-01-06 17:16:43 -08:00
Chuck Walbourn
101c306eaf Minor fixes for WICTextureLoader 2016-12-08 14:26:41 -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
fd11ad4533 Fixed crash on exit for Win32 2016-09-02 01:29:53 -07:00
Chuck Walbourn
0bbee8c588 Code review feedback 2016-09-01 16:54:42 -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
3c96fdf0b6 Minor code fix 2016-07-10 01:59:56 -07:00
Chuck Walbourn
3e493747fc Minor code fix 2016-07-10 01:53:19 -07:00
Chuck Walbourn
64c5bc5893 Added WICTextureLoader for DX12 2016-07-07 18:14:10 -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
b9235ea808 Resync'd WICTextureLoader 2016-02-23 12:25:01 -08:00
walbourn_cp
e23c8e19fd Code review feedback 2015-01-30 17:31:49 -08:00
walbourn_cp
7ba4a6504f Added explicit test of CanConvert for all use of IWICFormatConverter 2014-09-11 15:32:07 -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
b22fa640b4 WICTextureLoader: Added overloads that do not take a D3D11DeviceContext (i.e. no autogen mips) to be consistent with DDSTextureLoader 2014-02-24 16:12:01 -08:00
walbourn_cp
8d3dbe1fc0 Added comment explaining reason for supressing 4005 warning 2014-01-21 12:50:14 -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
1d3e1d0904 DirectXTex: Make ScopedObject match Microsoft::WRL::ComPtr, use Microsoft::WRL::ComPtr when possible 2013-07-26 16:44:00 -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
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
72c9103b1d WIC_USE_FACTORY_PROXY workaround no longer needed. 2013-06-18 14:18:07 -07:00
walbourn_cp
3474bcbab9 DirectXTex: WIC metadata usage
- Check/writes the sRGB information for DXGI_FORMAT_*_SRGB formats
- Updated WICTextureLoader & ScreenGrab
2013-06-10 15:34:13 -07:00
walbourn_cp
dff2427bbb WIC 32bpp RGBE is 8:8:8:8, not the same as DXGI SHAREDEXP 9:9:9:5
See https://directxtex.codeplex.com/workitem/913
2013-04-10 17:04:56 -07:00