1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-11-09 14:30:05 +00:00
Commit Graph

1092 Commits

Author SHA1 Message Date
walbourn_cp
d9f374c415 texconv: Minor fix for metadata summary print 2013-06-14 23:59:00 -07:00
walbourn_cp
93ade8eedc Texassemble: new command-line utility for creating cubemaps, volume maps, and arrays from individual images 2013-06-14 23:53:27 -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
8fa166372d DirectXTex: Custom filtering (Point, Linear, Cubic, sRGB gamma correct) implemented for Resize 2013-06-12 20:17:43 -07:00
walbourn_cp
7c5c9addf8 DirectXTex: Fixed slight image shift in custom Cubic filtering 2013-06-12 19:54:17 -07:00
walbourn_cp
98699f90f9 DirectXTex: Replace D3DX's table sRGB encoding/decoding with gamma correct implementation 2013-06-12 16:28:11 -07:00
walbourn_cp
09d243c6b4 ddsview: Added filepath name to window title
- Cleaned up /analyze issues
2013-06-11 17:17:25 -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
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
8a267b10b2 DirectXTex: some code cleanup 2013-06-10 15:16:08 -07:00
walbourn_cp
ae8a8cfa9a DirectXTex: Added DDS_FLAGS_EXPAND_LUMINANCE support 2013-06-10 15:14:55 -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
76bd58ecb0 DirectXTeX: Removed some debug code that upset /analyze 2013-06-06 18:03:58 -07:00
walbourn_cp
a9c0c4320e DirectXTex: sRGB correct filtering for mipmap generation 2013-06-06 17:58:23 -07:00
walbourn_cp
0853752b5d DirectXTex: code review feedback 2013-06-06 16:22:07 -07:00
walbourn_cp
4e1e8b49c1 DirectXTex: non-power-of-2 error should be in 2DBox, not 2DPoint 2013-06-06 14:46:28 -07:00
walbourn_cp
cc6da6ef25 DirectXTex: added filters.h 2013-06-06 14:03:31 -07:00
walbourn_cp
5264ae6503 DirectXTex: 2D & 3D linear and cubic filtering with optional mirror/wrap vs. clamp 2013-06-06 14:02:17 -07:00
walbourn_cp
add7763d9c DirectXTex: Added TEX_FILTER_BOX (which is an alias for FANT) 2013-06-03 15:32:00 -07:00
walbourn_cp
f6cace44e8 DirectXTex: Minor code cleanup 2013-06-03 15:11:47 -07:00
walbourn_cp
5fd613b1fb DirectXTex: Added BitsPerColor DXGI utility function 2013-06-03 14:41:16 -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
6323465f1f DirectXTex: Special-case optimization when doing RGBA 32bpp resize or 2D mipmap generation 2013-04-30 15:25:26 -07:00
walbourn_cp
598fedaf35 DirectXTex: partial typeless support for _LoadScanline 2013-04-29 17:43:13 -07:00
walbourn_cp
11cafa387d Minor whitespace fix 2013-04-26 16:02:53 -07:00
walbourn_cp
fb76f38a49 DDSTextureLoader fix for 1D/2D texture and cubemap arrays when skipping mips 2013-04-26 15:15:47 -07:00
walbourn_cp
e95ffd151d DirectXTex: cleanup of volume map custom point/box filters 2013-04-26 15:11:42 -07:00
walbourn_cp
35dfd5523d DirectXTex: April 16, 2013 release 2013-04-16 17:53:37 -07:00
walbourn_cp
c398ac1711 DirectXTex: Resolve SRGB handling problems with conversions
- Convert: TEX_FILTER_FORCE_NON_WIC, TEX_FILTER_FORCE_WIC, TEX_FILTER_RGB_COPY_RED/BLUE/GREEN
 - ComputeMSE flags for sRGB colorspace and channel ignore options
2013-04-16 17:51:36 -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
ec03b62e6d DirectXTex - WIC 32bpp RGBE is 8:8:8:8, not the same as DXGI SHAREDEXP 9:9:9:5
- Fixed LoadScanline/StoreScanline for SHAREDEXP, X2_BIAS, and R1
2013-04-10 18:11:47 -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
e4e6c6c008 DirectXTex: Code review feedback
- /analyze work focused on VS 2012 with SAL2 rather than VS 2010
2013-04-10 11:22:22 -07:00
walbourn_cp
91654fc9df Fixed bug with non-square volume mipmaps 2013-04-04 11:27:05 -07:00
walbourn_cp
991b325f10 Code review feedback 2013-03-28 00:14:06 -07:00
walbourn_cp
9c9364490c DirectXTex: March 22, 2013 release 2013-03-22 18:00:43 -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
ee978ad449 Updated DDSTextureLoader to optionall return Alpha Mode metadata if available 2013-03-22 17:24:05 -07:00
walbourn_cp
3cc014ec76 DDSTextureLoader/WICTextureLoader /analyze fixes 2013-03-20 15:48:55 -07:00
walbourn_cp
87880558bb Use no-throw new so out-of-memory returns an HRESULT; minor /analyze fix 2013-03-20 14:12:40 -07:00
walbourn_cp
6a5470b27f Explicitly name the DirectXTK .pdb output files.
Otherwise they just get a default name of eg. vs100.pdb, which causes conflicts for who people want to copy the output .lib + .pdb into a common folder that also contains the outputs from other projects.
2013-02-15 18:54:50 -08: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
891bcda9a7 DirectXTex: January 29, 2013 release 2013-01-29 14:18:05 -08:00
walbourn_cp
5e0eaf8df2 CreateTextureEx/CreateShaderResourceViewEx: Fixed forceSRGB logic (DirectXTK Codeplex issue 851) 2013-01-28 14:28:46 -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
171f49b741 DirectXTex: Minor code review fixes 2013-01-08 13:15:48 -08:00