Commit Graph

81 Commits

Author SHA1 Message Date
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
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
1b9f84bcaa texconv: added -fl and -pow2 switches to texconv 2013-11-15 16:21:00 -08: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
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
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
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
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