Commit Graph

44 Commits

Author SHA1 Message Date
Chuck Walbourn
8ae822241a ScreenGrab updated to use non-sRGB metadataa for PNG 2017-09-19 11:39:39 -07:00
Chuck Walbourn
0a85ac75a0 WIC format converter should use WICBitmapPaletteTypeMedianCut 2017-07-03 16:04:01 -07:00
Chuck Walbourn
b9bf00c0ea DirectX 12 planar resource handling 2017-01-30 22:29:45 -08:00
Chuck Walbourn
8fcd276eba permissive- code cleanup 2017-01-10 14:51:52 -08:00
Chuck Walbourn
ccbaeb528d ScreenGrab12 missing some error handling 2016-10-03 12:27:11 -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
16ca163519 Added ScreenGrab for DX12 2016-07-07 18:36:23 -07:00
Chuck Walbourn
51e92d4e5d Use IID_PPV_ARGS macro 2016-04-18 14:45:56 -07:00
Chuck Walbourn
eca2005ac5 Removed obsolete adapter code for VS 2010/2012 2016-04-08 18:01:05 -07:00
Chuck Walbourn
f732044b20 Resync'd ScreenGrab 2016-02-23 12:21:38 -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
walbourn_cp
e23c8e19fd Code review feedback 2015-01-30 17:31:49 -08:00
walbourn_cp
48a430b382 Fixed warnings found by Dev14 CTP 2014-10-01 12:08:13 -07:00
walbourn_cp
91951178e0 Fixed warnings found by Dev14 CTP 2014-09-18 16:29:08 -07: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
b2f914f26d ScreenGrab: Minor code-review fix 2014-04-02 11:39:33 -07:00
walbourn_cp
b67a8ef792 ScreenGrab: Fixed computing for NV11 which requires width multiple of 4, but height can be odd 2014-02-14 12:56:11 -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
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
61a0a1a19c SaveToWIC* functions updated with optional setCustomProps parameter for setting custom encoding options 2013-06-27 11:05:15 -07:00
walbourn_cp
32b06b3e5c DirectXTK/DirectXTex: Minor code review feedback 2013-06-21 14:12:39 -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
24ead31a39 Added error check to SaveWIC functions if requested optional targetFormat is not supported by the WIC codec 2013-06-01 10:55:18 -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
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
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
42e9ba96a3 DirectXTex/DirectXTK: Extra validation and typeless handling for capturing MSAA textures 2012-10-18 15:23:51 -07:00
walbourn_cp
e57fcf3817 Screengrab: Updated to handle SRGB formats
See http://directxtk.codeplex.com/workitem/780
2012-10-09 14:52:02 -07:00
walbourn_cp
5375b7e0ab Added ScreenGrab runtime utility for making screenshots for Direct3D 11 apps 2012-09-28 12:07:28 -07:00