Commit Graph

419 Commits

Author SHA1 Message Date
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
walbourn_cp
9e6ea1f910 DirectXTex: Updated with PremultiplyAlpha function
Texconv: added -pmalpha switch
2012-12-13 12:12:35 -08:00
walbourn_cp
c8bb338548 DirectXTex: converted DDSTextureLoader & WICTextureLoader to SAL2 2012-12-11 13:26:14 -08:00
walbourn_cp
571f5315b0 DirectXTex: December 11, 2012 release 2012-12-11 13:06:46 -08:00
walbourn_cp
db135329b2 DirectXTex: Add 'forceSRGB' option to Ex versions of CreateSRV, DDSTextureLoader, & WICTextureLoader 2012-12-11 12:24:03 -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
e3959f5327 DirectXTex: fixed incorrect unusual case when decoding BC2 and BC3 formats 2012-12-07 14:34:34 -08:00
walbourn_cp
b2b279fbb1 DirectXTex: added Ex versions of CreateTexture and CreateShaderResource for advanced / expert scenarios 2012-11-30 13:10:48 -08:00
walbourn_cp
1168867270 Ex versions of DDSTextureLoader & WICTextureLoader for advanced / expert scenarios 2012-11-29 17:38:29 -08:00
walbourn_cp
7eec38846c DirectXTex: November 15, 2012 2012-11-15 17:17:11 -08:00
walbourn_cp
72a1f29d1f DirectXTex: WIC2 support for ScreenGrab & WICTextureLoader 2012-11-14 14:09:35 -08:00
walbourn_cp
6a905106f2 DirectXTex: Added WIC2 support for downlevel builds to support Windows 8 and Windows 7 with KB 2670838 isntalled 2012-11-13 18:33:01 -08:00
walbourn_cp
a8fb2168c9 DirectXTex: Fixed bad assert in BC7 CPU compressor 2012-11-13 18:10:47 -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
1425425b35 Minor /analyze warning fix 2012-10-18 13:48:47 -07:00
walbourn_cp
3f64170a59 DDSTextureLoader: Minor code cleanup reported by Codeplex user 2012-10-18 11:44:10 -07:00
walbourn_cp
cac1a2b2fa DirectXTex: Fix for correctly writing valid 1D files 2012-10-18 11:36:11 -07:00
walbourn_cp
c7594d5265 DDSTextureLoader & WICTextureLoader updated to use SetDebugObjectName template introduced in Oct 12 2012 DirectXTK release 2012-10-12 12:48:53 -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
28faae7447 DirectxTex: added optional targetFormat parameter to WIC save routines to control choice of output format 2012-10-04 14:48:14 -07:00
walbourn_cp
051f865120 Put DDSTextureLoader & WICTextureLoader routines into DirectX C++ namespace 2012-10-02 14:03:22 -07:00
[TFS35]\Project Collection Service Accounts
68680d10ea Upgrade: New Version of LabDefaultTemplate.xaml. To upgrade your build definitions, please visit the following link: http://go.microsoft.com/fwlink/?LinkId=254563 2012-10-01 13:51:46 -07:00
[TFS35]\Project Collection Service Accounts
25223337f6 Checked in by server upgrade 2012-10-01 13:50:04 -07:00