Chuck Walbourn
138efff1b9
Fix some /analyze warnings
2019-10-24 16:55:13 -07:00
Chuck Walbourn
4e14f7a5e2
texconv: added -fixbc4x4 switch ( #152 )
2019-10-10 20:53:25 -07:00
Chuck Walbourn
351ff17936
Update TGA codec for TGA 2.0 ( #151 )
2019-10-04 13:25:44 -07:00
Chuck Walbourn
f4954ce11b
Minor code review and reformatting
2019-09-13 17:31:09 -07:00
Chuck Walbourn
4cf8c779cc
Added texconv bptc, bptc_float aliases
2019-08-22 17:31:58 -07:00
Chuck Walbourn
5dcfb90b9e
Fixed new clang 8 warning
2019-07-24 22:36:14 -07:00
Chuck Walbourn
2aab4c9d8e
clang warning cleanup for command-line tools
2019-07-05 23:48:39 -07:00
Chuck Walbourn
45ea8ffc10
VS 2019 project set to use 'latest available SDK'
2019-04-25 23:27:09 -07:00
Chuck Walbourn
a983dcecd0
Officially dropped Windows Vista support
2019-04-25 12:30:59 -07:00
Chuck Walbourn
86b2bb5194
Enable compilation with clang-cl (LLVM on Windows) ( #135 )
2019-04-16 17:38:37 -07:00
Chuck Walbourn
1a249f8388
VS 2019 projects ( #133 )
2019-04-02 12:59:40 -07:00
Chuck Walbourn
031115465b
Minor code review
2019-02-07 14:52:57 -08:00
Chuck Walbourn
cded42acfc
Code review feedback
2019-01-28 15:58:59 -08:00
Julian McKinlay
f2c4d94a35
[texconv] Implemented alpha coverage preservation option ( #82 )
2019-01-28 11:57:19 -08:00
Chuck Walbourn
a79989a4f0
texconv: inverty switch
2019-01-18 14:20:32 -08:00
Chuck Walbourn
ff034d7283
Windows 10 October 2018 Update SDK (17763)
2018-11-15 14:42:10 -08:00
Chuck Walbourn
ba0280c500
Workaround when using WIC for F32 images that exceed 32-bits ( #112 )
2018-08-02 12:31:20 -07:00
Chuck Walbourn
2ef59eb99c
Cleaned up vc projects
2018-06-11 11:50:01 -07:00
Chuck Walbourn
94c68685a2
Minor code review feedback
2018-06-07 18:25:52 -07:00
Chuck Walbourn
31476315a0
Minor code review feedback
2018-06-06 01:41:15 -07:00
Chuck Walbourn
cfa63a8352
Windows 10 April 2018 Update SDK (17134) ( #102 )
2018-05-31 13:27:33 -07:00
Chuck Walbourn
3771e6c66d
Fixed build warning with texconv
2018-05-10 10:48:37 -07:00
Chuck Walbourn
d4e587dc5d
VS project cleanup
2018-05-09 11:20:17 -07:00
Chuck Walbourn
e62bbb24f8
Retire Windows 8.1 Store, Windows phone 8.1. and VS 2013 projects ( #96 )
...
* Retire VS 2013 projects
* Cleaned up warning suppression
* Use ``noexcept`` instead of ``throw()``
* Can use ``%zu`` instead of ``%Iu``
* More uniform initialization
2018-05-01 17:34:54 -07:00
Chuck Walbourn
41341ae1a0
Code review feedback
2018-04-27 13:26:42 -07:00
Chuck Walbourn
90a34e9959
texconv updated to handle non-pow2 volume textures with mips
2018-04-18 00:08:35 -07:00
Chuck Walbourn
3b05453e98
Fixed up comment header block
2018-02-23 22:24:46 -08:00
Chuck Walbourn
cfc063becd
texconv/texassemble/texdiag: additional format aliases
2018-02-22 11:57:53 -08:00
Chuck Walbourn
06816df22c
Add support for reading non-standard BMP files with DXTn data
2018-02-22 01:49:04 -08:00
Chuck Walbourn
2b2f90259a
texconv/diag/assemble updated with format name aliases like DXT3 and FP16
2018-02-22 00:17:49 -08:00
Chuck Walbourn
ac7b79033d
minor build warning fix
2018-02-09 14:48:49 -08:00
Chuck Walbourn
386764334b
texconv: HDR10 to 709 fix
2018-02-08 17:21:27 -08:00
Chuck Walbourn
16e605acf5
texconv: -rotatecolor and -nits options
2018-02-07 17:14:11 -08:00
Chuck Walbourn
1e1fdb8d86
Removed unneeded warning disable
2017-12-05 13:47:01 -08:00
Chuck Walbourn
f87786b8f1
Update to use Windows 10 Fall Creators Update SDK ( #63 )
...
* Updated for Windows 10 Fall Creators Update SDK (16299)
2017-11-01 19:48:22 -07:00
Chuck Walbourn
3a4748ddeb
command-line tools updated with -flist
2017-09-19 11:13:34 -07:00
Chuck Walbourn
e87e49cbe3
Updated for VS 2017 (15.3)
2017-08-14 23:43:27 -07:00
Chuck Walbourn
5935e6baf0
VS 2017 updated for Windows Creators Update SDK (15063)
2017-04-07 23:09:28 -07:00
Chuck Walbourn
1f05a8c276
texconv: -wicmulti switch
2017-02-26 00:32:11 -08:00
Chuck Walbourn
209a5b4a54
texassemble: -tonemap option
2017-02-25 23:57:13 -08:00
Chuck Walbourn
8fcd276eba
permissive- code cleanup
2017-01-10 14:51:52 -08:00
Chuck Walbourn
c7c21c75d9
Added VS 2017 RC projects
2016-11-17 12:20:35 -08:00
Chuck Walbourn
bff5db3f6d
texconv: added optional .exr support
2016-10-02 01:53:31 -07:00
Chuck Walbourn
a7b3393d4d
added -x2bias switch for texconv
2016-09-30 00:16:56 -07:00
Chuck Walbourn
9fb5335cac
Minor code review
2016-09-27 00:04:19 -07:00
Chuck Walbourn
c537f0130f
Minor code cleanup: Const usage
2016-09-25 14:09:14 -07:00
Chuck Walbourn
97fa22b8ae
texconv overwrite warning and -y command switch
2016-09-23 23:48:33 -07:00
Chuck Walbourn
c5f238b6d4
texconv -tonemap option
2016-09-23 17:36:38 -07:00
Chuck Walbourn
c825869b65
texconv: -bcmax and -bcquick are mutually exclusive switches
2016-09-20 16:59:15 -07:00
Chuck Walbourn
1b27a1b819
BC7 compressor optimziation for only using mode 6
2016-09-20 16:40:49 -07:00
Chuck Walbourn
bfa53ff6c0
Rename Evaluate and Transform
2016-09-19 11:33:43 -07:00
Chuck Walbourn
055ad9025d
texconv: Fixed build warning
2016-09-15 11:33:42 -07:00
Chuck Walbourn
9290fcdf04
Added TEX_THRESHOLD_DEFAULT constant
2016-09-14 10:56:38 -07:00
Chuck Walbourn
1dec86435d
Code review feedback
2016-09-14 00:21:44 -07:00
Chuck Walbourn
a30c37220b
Support premultiply reverse and -alpha switch
2016-09-14 00:03:22 -07:00
Chuck Walbourn
50e4e6552e
Transform function and texconv -c switch
2016-09-13 18:09:46 -07:00
Chuck Walbourn
a93b58ec13
Fixed assert failures
2016-09-13 16:25:43 -07:00
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