Commit Graph

637 Commits

Author SHA1 Message Date
Luke Street c4bb325d05 Fix -Wc99-designator warnings in sse2neon 2021-05-09 14:31:15 -04:00
Luke Street e23eedb338 Use AudioMatrixSSE(+sse2neon) on arm64 2021-04-18 11:59:34 -04:00
Henrique Gemignani Passos Lima 3f1737eaeb Add optick
It is only linked for Windows, macOS and Linux, but disabled by default.
Vulkan support is also enabled if Vulkan is found.
2021-04-08 23:02:55 +03:00
Luke Street 500775f3db Fix submodule deletion 2021-04-06 13:00:46 -04:00
Luke Street bb6274e638 Remove incomplete NX support
Update submodules & tracking branches
2021-04-06 12:54:06 -04:00
Luke Street 403291c191 Vulkan: Handle out-of-date swapchain during resize 2021-03-30 22:46:20 -04:00
Luke Street 77d0fce78a ApplicationCocoa: Set activateIgnoringOtherApps
Fixes issues with window opening in background, unfocused
2021-03-30 12:34:00 -04:00
Luke Street a1209cdad7 HIDListenerUdev: Avoid -Wmaybe-uninitialized with GCC 9 2021-03-01 17:25:51 -05:00
Luke Street 74aaa605f3 Try Vulkan first on Windows 2021-01-23 21:12:20 -05:00
Luke Street 4a928dd2d7 HIDListenerIOKit: Avoid warning from USBmakebmRequestType 2020-09-18 16:04:13 -04:00
Luke Street 57cb96c1a7 Add targetFrameTime option for Vulkan backend 2020-09-15 19:29:44 -04:00
Luke Street bd5ea36659 WindowWin32: Add missing override specifier 2020-06-13 17:19:51 -04:00
Luke Street 543c686f88 Vulkan: Remove deprecated usage of VK_DYNAMIC_STATE_RANGE_SIZE 2020-05-22 04:16:57 -04:00
Phillip Stephens 1235cc720d
Update glslang using temporary branch, fix LtRtProcessing 2020-04-22 03:34:11 -07:00
Luke Street 7acefc6c60 AudioMatrix/Submix: static_cast INT_MAX to float 2020-04-19 00:08:03 -04:00
Luke Street 89e4a18d0b HIDListenerWinUSB: Enable scanning during poll 2020-04-17 21:46:09 -04:00
Luke Street 42cedb77f0 Update glslang; fix BOO_HAS_GL on Windows 2020-04-17 20:25:08 -04:00
Luke Street ae07fcba0b Use VK_LAYER_KHRONOS_validation 2020-04-16 03:15:14 -04:00
Luke Street 4417c43721 AudioMatrix: Use alignas(16) for Coefs 2020-04-14 22:12:45 -04:00
Jack Andersen c36895a109 Update fmtlib 2020-04-11 12:46:05 -10:00
Luke Street 217031ebb9 Add DXT5/BPTC (BC3/BC7) texture formats 2020-02-27 03:59:41 -05:00
Luke Street 56a6b06210 Fix building with BOO_MSAN 2020-02-25 01:36:32 -05:00
Jcw87 6570764cdf Fix D3D11 crash. 2020-02-15 12:37:25 -08:00
Jack Andersen 314563614e Remove unnecessary stropts.h include 2019-10-12 18:52:58 -10:00
Jack Andersen 922fcbb3c2 Merge branch 'master' of ssh://git.axiodl.com:6431/AxioDL/boo 2019-09-30 21:22:52 -10:00
Jack Andersen b918c0c4f8 Update logvisor 2019-09-30 21:22:37 -10:00
Lioncash 0c5f0e0d26 WindowWin32: Move variable into ifdef
Avoids the need to have a separate ifdef path to silence an unused
variable warning.
2019-09-09 21:54:46 -04:00
Lioncash 23cdae9e97 General: Make use of [[maybe_unused]]
Replaces uses of (void)variable with the attribute introduced in C++17.
2019-09-09 21:53:54 -04:00
Phillip Stephens a46858acec
Merge pull request #38 from lioncash/cast
NintendoPowerA: Use std::memcpy within transferCycle()
2019-09-06 23:24:56 -07:00
Phillip Stephens 82f3dd2b58
Merge pull request #37 from lioncash/deprecated
ApplicationWin32/WindowWin32: Get/SetWindowLong -> Get/SetWindowLongPtr
2019-09-06 23:24:07 -07:00
Lioncash f445df1701 NintendoPowerA: Use std::memcpy within transferCycle()
Eliminates undefined behavior within the function.
2019-09-06 07:30:13 -04:00
Lioncash 4b82c6510f NintendoPowerA: Use std::array where applicable 2019-09-06 07:28:10 -04:00
Lioncash 2e0c7dc973 NintendoPowerA: Use deduction guides for locks
Same behavior, but without the need to explicitly hardcode the mutex
type.
2019-09-06 07:26:05 -04:00
Lioncash 7496109ff6 NintendoPowerA: Make constructor explicit
While we're at it we can also ensure that all class members have
deterministic initial state.
2019-09-06 07:24:17 -04:00
Lioncash bfd042f156 ApplicationWin32/WindowWin32: Get/SetWindowLong -> Get/SetWindowLongPtr
Get/SetWindowLong is superseded on 64-bit Windows platform with
Get/SetWindowLongPtr. These are trivial to migrate over and have been
available since Windows 2000 Professional, so there's no need to worry
about breaking meaningful platform support
2019-09-06 07:13:27 -04:00
Lioncash 475037f0e5 DolphinSmashAdapter: Use std::array where applicable 2019-09-06 06:35:27 -04:00
Jack Andersen 9b8ef4695f Add missing override keywords 2019-08-31 11:20:30 -10:00
Jack Andersen c642bccf03 Merge branch 'master' of ssh://git.axiodl.com:6431/AxioDL/boo 2019-08-31 10:34:11 -10:00
Jack Andersen 804ee871f4 MacOS build fixes 2019-08-31 10:12:12 -10:00
Phillip Stephens efbb2f96ec
Merge pull request #34 from lioncash/ltrt
LtRtProcessing: Make use of if constexpr in ClampFull()
2019-08-24 20:46:08 -07:00
Phillip Stephens b9971502a5
Merge pull request #33 from lioncash/midi-dec
MIDIDecoder: Make readContinuedValue internal + other cleanups
2019-08-24 20:45:57 -07:00
Lioncash 097df47641 LtRtProcessing: Amend code formatting in if'd out code block 2019-08-24 23:13:01 -04:00
Lioncash f4fafbcb26 LtRtProcessing: Simplify allocations in LtRtProcessing constructor
We can use std::make_unique, which provides the same behavior as zeroing
out the buffer. Now we can remove the use of memset here.
2019-08-24 23:13:01 -04:00
Lioncash f8e827fcd4 LtRtProcessing: Make use of if constexpr in ClampFull()
This is a condition known at compile-time, so we can turn it into an
if-constexpr statement. We can also make use of std::clamp in this
scenario.
2019-08-24 23:12:56 -04:00
Lioncash 93045d5264 LtRtProcessing: Make ClampFull() internally linked
inline provides external linkage instead of internal linkage which is
more desirable here. We can enclose it within an anonymous namespace to
make it internally linked.
2019-08-24 22:58:14 -04:00
Lioncash 068ff29b44 MIDIDecoder: Use auto for iterator type
Same thing, significantly less reading.
2019-08-24 22:49:16 -04:00
Lioncash e7fe7ff49f MIDIDecoder: Make use of std::clamp() within clamp7()
We can simplify the implementation of clamp7() with the use of
std::clamp().
2019-08-24 22:47:09 -04:00
Lioncash e48a094198 MIDIDecoder: Convert return value of readContinuedValue into a std::optional
Rather than use an out reference, we can convert the return value into a
std::optional, combining the out reference and boolean return value into
one.
2019-08-24 22:44:33 -04:00
Lioncash 64fbb923ca MIDIDecoder: Make readContinuedValue an internal function
This doesn't rely on any member state, so it can be decoupled from the
interface entirely.
2019-08-24 22:39:13 -04:00
Lioncash 890ac24068 MIDIEncoder: Make use of _sendMessage overload 2019-08-24 22:26:20 -04:00