Граф коммитов

512 Коммитов

Автор SHA1 Сообщение Дата
Chuck Walbourn 4bdfaa7849 DDS header updated for GNUC compiler 2021-01-05 01:53:37 -08:00
Chuck Walbourn 18d9ef0a9c Make use of DirectXMath XM_ALIGNED_STRUCT macro 2021-01-03 12:48:05 -08:00
Chuck Walbourn 8ef3e0d69f Replaced _countof / ARRAYSIZE with std::size 2021-01-02 12:43:55 -08:00
Chuck Walbourn c6a4e07f83
Code review for standard library header usage (#249) 2020-12-29 16:50:57 -08:00
Chuck Walbourn f57c22d815 /analyze warning fixes for GameInput usage 2020-11-10 21:20:59 -08:00
Chuck Walbourn 2fbb033468 Few minor clang warnings 2020-10-27 02:26:50 -07:00
Chuck Walbourn 96cab11b4d Fixed /analyze warnings 2020-10-08 21:53:38 -07:00
Chuck Walbourn 4066d996bc Fixed WICTextureLoader resize error that resulted in WINCODEC_ERR_INSUFFICIENTBUFFER 2020-09-18 20:16:43 -07:00
Chuck Walbourn cd4175f6f9 Code review for WICTextureLoader 2020-09-18 13:39:03 -07:00
Chuck Walbourn 03486d5089 GamePad updated to support 'merged input' using GameInput 2020-09-15 15:34:00 -07:00
Chuck Walbourn 7c638ec3b8 Shared file updates for Xbox 2020-08-11 19:12:28 -07:00
Chuck Walbourn 0300d22834 Input updated with GameInput implementations 2020-08-11 19:04:43 -07:00
Chuck Walbourn 854a8b939c
Removed prebuilt shader headers and pdbs from project (#226) 2020-07-28 23:26:49 -07:00
Chuck Walbourn 3231cce774
EnvironmentMapEffect updated to support sphere and dual paraboloid environment maps (#223) 2020-07-11 20:23:32 -07:00
Chuck Walbourn bc2ea2e565 Suppress a new warning with VS 2019 (16.7) Preview 2020-07-02 14:38:02 -07:00
Chuck Walbourn a65bf2a5ff Windows 10 May 2020 Update SDK 2020-07-02 14:26:33 -07:00
Chuck Walbourn 004ea05571 SpriteFont updated for faster performance in Debug builds 2020-06-26 18:02:00 -07:00
Chuck Walbourn ebcff7e7d4 Fixed PVS Studio V1037 warning 2020-06-13 14:18:40 -07:00
Chuck Walbourn 5a4562c749 Suppress some additional warnings for VS 2019 (16.7) Preview 2020-06-03 14:12:53 -07:00
Chuck Walbourn bdad044de4 Added WIC_LOADER_SRGB_DEFAULT flag to WICTextureLoader 2020-06-01 18:56:16 -07:00
Chuck Walbourn acb8938e5c functions taking std::function should not be noexcept 2020-05-30 21:50:30 -07:00
Chuck Walbourn f4eb038d19 Direct3D 11 doesn't use strongly-typed enum bitmask flags 2020-05-30 18:05:22 -07:00
Chuck Walbourn 6b1e199cfd Made WIC_LOADER_FLAGS strongly typed 2020-05-29 01:55:30 -07:00
Chuck Walbourn e4feeeb6fd Code review feedback 2020-05-27 02:24:08 -07:00
Chuck Walbourn 89900f4207 WIC loader special case for PNG with legacy gAMA chunk for sRGB 2020-05-27 01:09:34 -07:00
Chuck Walbourn 66739af952 noexcept annotation 2020-05-26 20:16:49 -07:00
Chuck Walbourn 5182d9f30d Code review including more use of constexpr 2020-05-26 17:58:48 -07:00
Chuck Walbourn f315905f4b
BufferHelpers added to the tool kit (#220) 2020-05-26 16:20:42 -07:00
Chuck Walbourn 4784782e33 More code review 2020-05-21 00:37:05 -07:00
Chuck Walbourn 9dda77f6fd Code review feedback 2020-05-09 20:38:35 -07:00
Chuck Walbourn 7b46c163b7 Fixed -Wextern-initializer 2020-05-09 16:11:18 -07:00
Chuck Walbourn fa98393d6c Code review 2020-05-09 16:06:09 -07:00
Chuck Walbourn 7a34f3eb58 Updated DDS.H header 2020-05-09 13:20:49 -07:00
Chuck Walbourn 22f5950c14 Minor code review 2020-05-09 11:52:02 -07:00
Chuck Walbourn b32e1899d4 Added WICTextureLoader WIC_LOADER_FIT_POW2 and WIC_LOADER_MAKE_SQUARE 2020-05-09 01:08:01 -07:00
Chuck Walbourn f9ceca35a2 Resync LoaderHelpers.h 2020-05-07 22:33:38 -07:00
Chuck Walbourn 1e80a465c6 Fixed -Wimplicit-int-float-conversion, -Wdouble-promotion 2020-04-30 01:45:27 -07:00
Chuck Walbourn 47a4fdabc8
SoundStreamInstance for playing streaming wavebanks (#217) 2020-04-26 01:55:29 -07:00
Chuck Walbourn a2e98dfd67 Fixed -Wsign-conversion 2020-04-22 21:48:46 -07:00
Chuck Walbourn dd5ba62ab4 Minor code review for DDPF_PIXELFORMAT decode 2020-04-22 00:43:12 -07:00
Chuck Walbourn 947beef0d2 Added WIC_LOADER_FORCE_RGBA32 to WICTextureLoader 2020-04-19 23:37:43 -07:00
Chuck Walbourn 7dd5036e1c Fixed -Wunused-member-function clang warning 2020-04-06 14:37:30 -07:00
Chuck Walbourn 34f6b914ed Minor shader compile script update 2020-03-24 21:20:13 -07:00
Chuck Walbourn fa8b2df339 GamePad update for XInputEnable deprecation 2020-03-22 00:07:55 -07:00
Chuck Walbourn da8306ed3f Fixed some /analyze C++ Core Guideline warnings 2020-03-16 23:18:50 -07:00
Chuck Walbourn 205522475e Modifications to the MeasureString and MeasureDrawBounds methods 2020-03-11 18:31:56 -07:00
Chuck Walbourn 5fb5822c65 Minor code review 2020-03-10 01:06:07 -07:00
Chuck Walbourn a138c5925f Added standard header 2020-03-05 20:50:48 -08:00
Chuck Walbourn 46e58da27c Minor code review 2020-03-03 12:49:36 -08:00
Chuck Walbourn 7ae63b53b9 Minor code review 2020-03-03 12:13:38 -08:00
Chuck Walbourn 0118f5edc4
Added ModelLoaderFlags (#206) 2020-02-18 21:22:26 -08:00
Chuck Walbourn 1a7d4a1683 Added ignoreWhitespace defaulted parameter to SpriteFont Measure methods 2020-02-07 23:51:30 -08:00
Chuck Walbourn 61435b2f84 Suppress warnings for VS 2019 (16.5 Preview) 2020-01-31 00:10:36 -08:00
Chuck Walbourn ff4c821e53 Note about cmd line-endings 2020-01-30 20:19:11 -08:00
Chuck Walbourn a0aed54057 Minor code review 2020-01-22 00:55:32 -08:00
Chuck Walbourn 8333f92842 Code review feedback 2020-01-19 15:25:59 -08:00
Chuck Walbourn 4b2c6bd98b Minor code review 2020-01-19 00:36:33 -08:00
Chuck Walbourn 1fe4b6859d Minor code review 2020-01-17 12:21:04 -08:00
Chuck Walbourn 0796dcd65d Fix encoding issue with Utilities.fxh 2020-01-06 11:16:14 -08:00
Chuck Walbourn a6215bd33a More noexcept 2019-12-12 16:46:20 -08:00
Chuck Walbourn fb08eb3483 More noexcept annotation 2019-12-12 16:23:30 -08:00
Chuck Walbourn 6c33e8b2bd noexcept annotation for DirectX Tool Kit for Audio 2019-12-10 18:32:03 -08:00
Chuck Walbourn 56fde04335 noexcept annotation for public functions 2019-12-10 17:23:15 -08:00
Chuck Walbourn 72f5f2c14c Fix some /analyze warnings 2019-11-22 22:52:30 -08:00
Chuck Walbourn 626470f8c0 Minor code review 2019-10-29 12:27:36 -07:00
Chuck Walbourn 564beeef43 Minor code review 2019-09-27 13:13:34 -07:00
Chuck Walbourn bc32a6e9a6
Added optioal forceSRGB parameter to SaveWICTextureToFile (#194) 2019-09-27 11:31:31 -07:00
Chuck Walbourn a7fc22efdb GamePad fix for VS 2015 + Windows SDK 14393 2019-09-19 15:55:51 -07:00
Chuck Walbourn e2143bfef5 GamePad updated to report VID/PID in capabilties if supported 2019-09-18 18:11:18 -07:00
Chuck Walbourn c1517546d2 GamePad code review feedback 2019-09-18 16:02:31 -07:00
Chuck Walbourn 94e4227a52
Ex texture loaders updated with additional parameter validation (#181) 2019-06-18 16:57:06 -07:00
Chuck Walbourn 888d4d7d85 Fixed -Wmacro-redefined, -Wextra-semi-stmt, -Wdefaulted-function-deleted warnings 2019-06-12 17:39:29 -07:00
Chuck Walbourn 49841abf6e Fixed link issue when using clang/LLVM toolset 2019-06-01 00:08:41 -07:00
Chuck Walbourn 37ecd56d05 Fixed -Wmissing-prototypes 2019-05-29 15:47:36 -07:00
Chuck Walbourn 9c830dc171 Minor code review feedback 2019-05-24 16:35:36 -07:00
Chuck Walbourn 8658fbf943
Add CMake project and fix clang warnings (#178) 2019-05-24 14:26:52 -07:00
Chuck Walbourn 23f828d372 Individually define albedo/normal/RMA textures 2019-05-08 16:58:19 -07:00
Chuck Walbourn c8799a0994 Minor code review 2019-04-22 15:43:34 -07:00
Chuck Walbourn 7855437263
Code refactor and reformat for texure loaders (#173) 2019-04-17 14:13:44 -07:00
Chuck Walbourn aea038e0b5 Don't use EnableDefaultLighting for PBR models 2019-01-29 15:25:10 -08:00
Chuck Walbourn 7be08d56b6
SpriteFont should support UTF-8 strings (#159) 2019-01-24 22:11:05 -08:00
Chuck Walbourn 0ac5556bf0 Normal map texture shaders reconstruct z to support BC5_UNORM 2019-01-18 13:47:34 -08:00
Chuck Walbourn 774360316f
SDKMESH2 export support for PBR materials (#158) 2019-01-18 12:40:50 -08:00
Chuck Walbourn b60a371b99 Code review feedback 2018-10-29 22:14:43 -07:00
Chuck Walbourn 01c0ee63f0
SDKMESH updated to load models using legacy DEC3N compressed normals (#148) 2018-10-29 14:48:33 -07:00
Chuck Walbourn a35c0ffa40 Use UTF-8 instead of ANSI 2018-10-24 17:42:03 -07:00
Chuck Walbourn 6745b7e883 Minor code review feedback 2018-10-18 16:06:12 -07:00
Chuck Walbourn 31b326ef91 A few SDL fixes for memcpy_s usage 2018-10-16 13:53:27 -07:00
Chuck Walbourn 7d2ca1b8b9 Minor fix for CompileShaders script 2018-09-10 17:24:17 -07:00
Chuck Walbourn 4b8a67578d D3D11_RESOURCE_MISC_TEXTURECUBE handling for DDSTextureLoader Ex functions 2018-08-05 17:20:53 -07:00
Chuck Walbourn 1372c9e941 GetSurfaceInfo helper updates 2018-08-03 16:06:03 -07:00
Chuck Walbourn cc53a2ca5d A few more noexcept specifiers 2018-07-27 13:37:48 -07:00
Chuck Walbourn f982ac0833 Improved debug output and additional validation 2018-07-26 22:08:10 -07:00
Chuck Walbourn 80a265a02a Minor code review 2018-07-10 14:39:58 -07:00
Chuck Walbourn bdf5327c84 Fix /analyze warning 2018-07-02 16:46:54 -07:00
Chuck Walbourn b820d12256 Fix warnings with 15.8 preview 2018-06-27 15:35:41 -07:00
Chuck Walbourn badbbdd271 Added ModelMeshPart DrawInstanced 2018-06-22 16:44:16 -07:00
Chuck Walbourn 0ac862cbf0
Fix compiler errors (Clang 6) (#140) 2018-06-12 18:05:42 -07:00
Chuck Walbourn 0d79a509be Code cleanup for improved C++ conformance 2018-06-11 15:42:18 -07:00
Chuck Walbourn 97dfbdee67 Minor code review feedback 2018-06-11 12:23:08 -07:00
Chuck Walbourn 3f04a3fc3e Minor code review feedback 2018-06-07 18:26:44 -07:00
Chuck Walbourn 4cdbe4db01 Minor code review feedback 2018-06-06 18:36:44 -07:00
Chuck Walbourn 40ddf94031 Fixed conformance warnings found with Intel C++ compiler 2018-06-05 17:00:46 -07:00
Chuck Walbourn 00324512e0
Windows 10 April 2018 Update SDK (17134) (#136) 2018-05-31 14:11:52 -07:00
Chuck Walbourn 4c94d0f613 Minor code review feedback 2018-05-18 00:49:52 -07:00
Chuck Walbourn de93799c1a More VS 2017 (15.7) code cleanup 2018-05-04 18:16:09 -07:00
Chuck Walbourn 0dabb74fb6
Retire Windows 8.1 Store, Windows phone 8.1, and VS 2013 projects (#132)
* Retire VS 2013 projects
* Change ``throw()`` to ``noexcept``
* Use ``%zu`` instead of ``%Iu``
* Minor update to match DXTK12
* Cleaned up warning suppression
* remove ``WINAPI_FAMILY_PHONE_APP`` platform code
* Fixed C5038 warnings
* More uniform initialization
2018-05-01 18:22:46 -07:00
Chuck Walbourn ae08b38c64 Turned off more VS 2017 15.7 warnings 2018-04-24 00:31:49 -07:00
Chuck Walbourn 8654c4a977 Silence debug layer warning in postprocess 2018-04-23 16:25:22 -07:00
Chuck Walbourn 43df3f97f1 Don't need to use DIRECTX_NOEXCEPT macro 2018-04-17 10:59:05 -07:00
Chuck Walbourn 5017d43371 Minor code review feedback 2018-04-13 11:34:06 -07:00
Chuck Walbourn 507a3d39cd Updated Mouse with control for cursor visibility 2018-04-13 11:24:15 -07:00
Chuck Walbourn a6a223f92b Fixed build breaks 2018-04-03 15:42:14 -07:00
Chuck Walbourn a0dfe4d697 Additional C++ Core Checker cleanup 2018-04-03 00:09:30 -07:00
Chuck Walbourn 0f7afb3337 VS 2017 (15.7 preview) /analyze cleanup 2018-04-02 23:52:18 -07:00
Chuck Walbourn 49e20d4639 Removed some legacy _MSC_VER tests 2018-03-16 13:45:47 -07:00
Chuck Walbourn 55edf55472 Removed old emulation for mutex and make_unique 2018-03-16 11:35:47 -07:00
Chuck Walbourn 85c1b88e48 Reformat code 2018-03-16 11:33:06 -07:00
Chuck Walbourn 73fba65809 Added GetDevice() method to EffectFactory 2018-03-16 10:01:26 -07:00
Chuck Walbourn 92ba4aa568 PostProcess updated for 'big triangle' optimization 2018-03-08 09:57:00 -08:00
Chuck Walbourn 29f7b6e9cb Updated pch 2018-02-24 23:35:53 -08:00
Chuck Walbourn 40dd7c00e9 Sync DDS header 2018-02-23 23:32:08 -08:00
Chuck Walbourn 00f3e7c0ad Fix minor namespace syntax issue 2018-02-23 22:42:44 -08:00
Chuck Walbourn 43c40361f2 Regenerated compiled shaders 2018-02-23 16:46:43 -08:00
Chuck Walbourn d39e86e428 Fixed up comment header block 2018-02-23 11:49:48 -08:00
Chuck Walbourn 78b97d4ccf
AlignUp, AlignDown helpers (#122) 2018-02-15 18:04:57 -08:00
Chuck Walbourn ef2bb6b3ef CMO fix when merging skinning data 2018-02-12 10:24:34 -08:00
Chuck Walbourn f0a0edd685 Fixed Win32 mouse cursor behavior for Remote Desktop 2018-01-30 19:20:16 -08:00
Chuck Walbourn c8789ab061 Xbox D3DAllocateGraphicsMemory API is deprecated 2018-01-19 17:07:55 -08:00
Chuck Walbourn 6fbe1b23d1 Minor code cleanup 2018-01-18 15:18:43 -08:00
Chuck Walbourn 4d54578642 Suppress more off-by-default warnings 2018-01-17 16:03:18 -08:00
Chuck Walbourn 3c9a1b8eb8 Regenerate shader symbols 2017-12-13 21:56:09 -08:00
Chuck Walbourn 648d31f3c0
Normal-mapping without precomputed tangents (#112) 2017-12-13 21:41:09 -08:00
Chuck Walbourn 49f05ba935
DebugEffect (#111) 2017-12-13 10:50:56 -08:00
Chuck Walbourn 7a812c7b3d Updated for VS 2017 (15.5) 2017-12-11 11:23:38 -08:00
Chuck Walbourn 7a94faeb1c Remove unused debug code 2017-12-08 12:32:59 -08:00
Chuck Walbourn f2ba4d7873 More anonymous namespace usage 2017-12-05 15:58:12 -08:00
Chuck Walbourn 50880c2ce6 Updated for VS 2017 (15.5) 2017-12-05 14:43:29 -08:00
Chuck Walbourn 8f380664a7
Added PBREffect (#110) 2017-12-01 13:22:19 -08:00
Chuck Walbourn 2e0dcb8f58 Input code reformat 2017-11-29 17:53:15 -08:00
Chuck Walbourn a6f182f9fe Added VertexType typedef to GeometricPrimitive 2017-11-27 22:24:20 -08:00
Chuck Walbourn a32d38a67a Updated compiler build script 2017-11-17 15:46:46 -08:00
Chuck Walbourn fbcac68d29 Silence a warning in some configurations 2017-11-15 14:44:28 -08:00
Chuck Walbourn db077f9cde Regenerated shaders using Windows 10 Fall Creators Update SDK (16299) 2017-10-18 18:33:30 -07:00
Chuck Walbourn 0af4ca594d Updated compiler script 2017-10-18 14:20:03 -07:00
Chuck Walbourn 87d2feb5bd Merge branch 'master' of https://github.com/Microsoft/DirectXTK 2017-09-21 14:19:48 -07:00
Chuck Walbourn ef56b63f37 Fix Mouse WM_INPUT usage to work in Remote Desktop 2017-09-21 14:19:27 -07:00
Chuck Walbourn 730b2b98e5 Fix for CMO loader when no material definition found 2017-09-20 11:51:18 -07:00
Chuck Walbourn 00eaeb38f2 ScreenGrab updated to use non-sRGB metadataa for PNG 2017-09-19 11:39:46 -07:00
Chuck Walbourn 706cc899ff Updated pch 2017-08-18 00:31:57 -07:00