Commit Graph

52 Commits

Author SHA1 Message Date
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
walbourn_cp
3cc014ec76 DDSTextureLoader/WICTextureLoader /analyze fixes 2013-03-20 15:48:55 -07:00
walbourn_cp
2bdd90ddfc Added WIC_USE_FACTORY_PROXY build option to use entry-point in WindowsCodecs.dll rather than CoCreateInstance for the WIC factory 2013-02-03 16:06:01 -08: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
72a1f29d1f DirectXTex: WIC2 support for ScreenGrab & WICTextureLoader 2012-11-14 14:09:35 -08:00
walbourn_cp
0ef4a78e4a Updated WICTextureLoader and ScreenGrab with Windows Phone 8 guards 2012-10-30 17:31:19 -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
37a80354e3 - DirectXTex WIC image loading and WICTextureLoader updated with some additional 96bpp float format handling on Windows 8 2012-06-10 14:23:37 -07:00