1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-11-22 04:20:07 +00:00
Commit Graph

216 Commits

Author SHA1 Message Date
Chuck Walbourn
5d16f93f1f Code review feedback 2016-09-12 23:45:40 -07:00
Chuck Walbourn
e35e84f6e1 texassemble/texconv: added wildcard support 2016-09-12 21:54:08 -07:00
Chuck Walbourn
2d27b1447e texassemble/texconv: Code cleanup 2016-09-12 16:39:26 -07:00
Chuck Walbourn
4c5a4d3ee3 texconv: only emit non-pow2 warning if using -fl with a 9.x feature level 2016-09-12 12:48:27 -07:00
Chuck Walbourn
7275893dbe badtails flag to enable loading of legacy DXTn DDS files with incomplete mipchain tails 2016-09-11 14:29:10 -07:00
Chuck Walbourn
04143d621c Added HDR readers and writes and Evaluate function 2016-09-10 20:43:33 -07:00
Chuck Walbourn
4dd440e775 Normalize line endings 2016-08-22 11:26:36 -07:00
Chuck Walbourn
b6d2db759b Minor fix for when -gpu switch not provided 2016-08-18 16:57:03 -07:00
Chuck Walbourn
71d1471cab texconv updated with -gpu switch 2016-08-18 16:49:24 -07:00
Chuck Walbourn
e0a2f7f2fe texconv: Added -wicq and -wiclossless switches 2016-06-21 16:58:18 -07:00
Chuck Walbourn
649c5e53dc Purge WCHAR typedef 2016-05-11 11:36:27 -07:00
Chuck Walbourn
ab9fd446ee Minimized windows.h content 2016-04-24 20:28:04 -07:00
Chuck Walbourn
51e92d4e5d Use IID_PPV_ARGS macro 2016-04-18 14:45:56 -07:00
Chuck Walbourn
c64466e096 Retired VS 2012 projects 2016-02-23 12:11:00 -08:00
Chuck Walbourn
115829ff09 Added feature levels 12.0 and 12.1 to texconv 2015-11-02 17:03:41 -08:00
Chuck Walbourn
87141aea99 Merged single set of solutions 2015-08-03 16:17:20 -07:00
Chuck Walbourn
445a3d2da4 Whitespace cleanpu 2015-07-27 12:46:54 -07:00
Chuck Walbourn
229b5ea528 Retired VS 2010 and Windows Store 8.0 projects 2015-07-27 10:54:07 -07:00
Chuck Walbourn
4feff1578c Use parallel compression for BC1-BC5 2015-07-07 14:20:14 -07:00
Chuck Walbourn
429b3e7995 BC7 compressor optimization for skipping mode 0 & 2 by default 2015-04-22 13:31:37 -07:00
walbourn_cp
96b21d85e2 More VS 2015 projects 2015-03-26 13:52:36 -07:00
walbourn_cp
f618e9f19d Fixed bugs in WIC loader for multframe images when resizing was required
- texconv & texassemble now load multi-frames if present from WIC files (tiff, gif)
2015-03-17 18:07:21 -07:00
walbourn_cp
c93fb6b3d9 texconv: added -nmap command-line switch for generating normal maps from height maps 2015-03-10 15:22:08 -07:00
walbourn_cp
e23c8e19fd Code review feedback 2015-01-30 17:31:49 -08:00
walbourn_cp
5f95b87ddf Updated libraries for VS 2015 C99 and legacy printf conformance
- Static libraries built with _CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS
2015-01-24 01:17:54 -08:00
walbourn_cp
00289d607e texconv: fixed spelling error in comments 2014-10-22 17:50:21 -07:00
walbourn_cp
ae5554f3c9 texconv/texassmble: code cleanup (eliminated 'goto') 2014-10-06 14:08:06 -07:00
walbourn_cp
32333e8689 texconv updates
- should not attempt to convert to planer formats
 - info display for typeless, depth, and planar formats
 - use std::unique_ptr to simplify ScratchImage usage, added auto usage
 - keep original compressed image (if any) for pass-through scenario where no image change is performed
2014-07-14 17:22:30 -07:00
walbourn_cp
f3ef3dcbf5 texconv: -d was never implemented, remove from help output 2014-07-08 13:10:06 -07:00
walbourn_cp
95936b8765 texconv: minor code review feedback 2014-02-20 16:13:36 -08:00
walbourn_cp
76b79c42b5 DirectXTex: added alpha weight parameter for BC7 GPU compressor [breaking change]
- texconv has new '-aw' switch to take the parameter
2014-02-19 17:31:35 -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
c5c8fece25 Minor code fixes for some issues found by /Wall 2014-01-30 16:04:08 -08:00
walbourn_cp
6a37f81f09 DirectXTex: TEX_COMPRESS_* flags; added 'compress' flags paramter to GPU Compress [breaking change] 2014-01-22 11:04:35 -08:00
walbourn_cp
ef53c0d8a3 Fixed references for VS 2010 projects 2014-01-15 16:45:35 -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
848294f2e7 Dropped VS 2010 + Windows 8.0 SDK in favor of VS 2010 + Windows 8.1 SDK 2013-11-20 13:35:35 -08:00
walbourn_cp
1b9f84bcaa texconv: added -fl and -pow2 switches to texconv 2013-11-15 16:21:00 -08:00
walbourn_cp
bbf444bb07 DirectXTex: fixed up project references and filters 2013-10-21 14:04:38 -07:00
walbourn_cp
65de5a1f37 DirectXTex: Added project which uses VS 2010 with the Windows 8.1 SDK 2013-10-18 20:49:03 -07:00
walbourn_cp
6cafea6cb0 DirectXTex: Fixed problem with DirectCompute compressor for BC7_UNORM_SRGB
- Also added diagnostic message from texconv when doing DirectCompute compression
2013-10-08 16:26:29 -07:00
walbourn_cp
e12d9c67f2 DirectXTex: Update for sRGB handling with pmalpha 2013-10-01 17:28:56 -07:00
walbourn_cp
8eec65caf4 DirectXTex: BC6H / BC7 DirectCompute codec integration 2013-08-05 10:58:54 -07:00
walbourn_cp
5f3b34beb5 DirectXTex: Support for non-power-of-2 mipmapped BC textures 2013-07-30 17:32:45 -07:00
walbourn_cp
a69fcaa8de DirectXTex: Cleaned up .sln versions 2013-07-12 15:48:41 -07:00
walbourn_cp
af7856c1e3 texconv: Enable multithreaded BC6H/BC7 compression using OpenMP
- Added '-singleproc' command-line to turn off MT usage.
2013-07-12 15:12:03 -07:00
walbourn_cp
bb622bf4ec DirectXTex: Added projects for VS 2013 Preview 2013-06-26 15:22:13 -07:00
walbourn_cp
d9f374c415 texconv: Minor fix for metadata summary print 2013-06-14 23:59:00 -07:00
walbourn_cp
2fdf1f6d0a DirectXTex: added finite low-pass triangle custom filter
- TEX_FILTER_TRIANGLE
- texconv updated -if image filter options
2013-06-14 16:17:16 -07:00
walbourn_cp
83372f9b7f Texconv: added -wrap & -mirror switches 2013-06-13 22:46:42 -07:00
walbourn_cp
99aa90e35c texconv: cleaned up 'usage' display 2013-06-11 13:41:39 -07:00
walbourn_cp
1eb7770ddd texconv: added -xlum option to use new DDS_FLAGS_EXPAND_LUMINANCE option for L8, L16, and A8L8 legacy files 2013-06-11 13:34:48 -07:00
walbourn_cp
bdb7d21088 DirectXTex: Implemented dithering for non-WIC codepaths
- Reworked texconv options for -if for dithering
2013-06-11 13:18:23 -07:00
walbourn_cp
0a6e75fe5a DirectXTex: Convert threshold parameter was not being used correctly
Convert needs to use non-WIC paths for -sepalpha cases
2013-06-07 18:07:08 -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
dc401291a1 VS 2012 and VS 2010+SDK8.0 projects don't use <xnamath.h>, they use DirectXMath
Fixed DDSView to use DirectXMath when it should
2013-04-10 23:37:19 -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
171f49b741 DirectXTex: Minor code review fixes 2013-01-08 13:15:48 -08:00
walbourn_cp
9e6ea1f910 DirectXTex: Updated with PremultiplyAlpha function
Texconv: added -pmalpha switch
2012-12-13 12:12:35 -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
8a96db2581 Rename projects and solutions to a standard naming convention 2012-09-28 16:28:30 -07:00
walbourn_cp
eb48e991f9 Texconv: Fixed case where source image already has mipchain and the tool is supposed to change the number of mip levels 2012-09-06 12:27:41 -07:00
walbourn_cp
babaf73654 Texconv: Typo bug with conversion. Alpha threadhold was accidentially 5, should have been 0.5f. 2012-08-20 16:04:45 -07:00
walbourn_cp
61571870ae Texconv: Now supports -tu and -tf options for coping with "TYPELESS" DDS files
DirectXTex: new 'typeless' DXGI utilities
2012-07-02 13:31:12 -07:00
walbourn_cp
a6c5c5939a April 20, 2012 source 2012-05-01 13:00:24 -07:00