Commit Graph

490 Commits

Author SHA1 Message Date
Jack Andersen 1aa499ec34 Use smart pointers for Win32 windows 2017-07-16 18:01:13 -10:00
Jack Andersen 023d129a75 Use smart pointers for Xlib windows 2017-07-16 17:58:18 -10:00
Jack Andersen b97c82469a shared_ptr for IWindow; better Cocoa app lifecycle 2017-07-16 16:45:49 -10:00
Jack Andersen 49afde2fb9 Reinstate glFlush for buffer updates 2017-07-13 19:13:29 -10:00
Jack Andersen 505f0fef73 Proper hidraw device enumeration 2017-05-11 16:52:45 -10:00
Jack Andersen 64b949aecd Windows fixes 2017-05-11 09:41:40 -10:00
Jack Andersen 048d22be2a Merge branch 'master' of https://github.com/AxioDL/boo 2017-05-11 09:13:47 -10:00
Jack Andersen 6e1c71aefd Working Dualshock output reports on macOS; fix runaway loop 2017-05-11 09:12:44 -10:00
Phillip Stephens a5b38596a5 Fix maxAnisotropy validation error 2017-05-09 17:00:30 -07:00
Jack Andersen 7823aecc57 hidraw support for udev; fix race condition 2017-05-08 17:37:12 -10:00
Jack Andersen ff89a9cccf Win32 input device refinements and XInput support 2017-05-08 09:09:10 -10:00
Jack Andersen aa272fe7b9 Smart pointer cleanup 2017-05-07 11:31:56 -10:00
Jack Andersen 62443b59e7 IOKit input refactor 2017-05-07 11:24:00 -10:00
Jack Andersen 12bbf540fd MIDI encoder fix 2017-03-23 19:28:30 -10:00
Jack Andersen 9a7cadce3a Minor Metal backend change 2017-03-19 19:08:19 -10:00
Jack Andersen 5f903c09ee Windows sync 2017-03-17 13:31:51 -10:00
Jack Andersen 05c26a535b OpenGL and metal rendering interface upgrades 2017-03-13 21:02:53 -10:00
Jack Andersen 73891af56a Add frontface culling support to Metal 2017-03-10 11:07:29 -10:00
Jack Andersen ca20aea834 Add front-face culling support 2017-03-10 10:38:00 -10:00
Jack Andersen 5c52877549 typo fix 2017-03-05 20:33:18 -10:00
Jack Andersen 3b7a5781f5 OpenGL and Metal fixes 2017-03-05 13:34:24 -10:00
Jack Andersen a547eb9dbb Runtime shader cache fixes 2017-03-05 12:59:58 -10:00
Jack Andersen 03f155fcf5 Move xxhash to boo; cached shader components 2017-03-04 21:54:58 -10:00
Jack Andersen 8bcac27c10 Fix updated glew for Windows 2017-02-24 21:58:09 -10:00
Jack Andersen 0cc794f49d Update glew 2017-02-23 22:26:27 -10:00
Jack Andersen 245a39fd92 Merge branch 'master' of https://github.com/AxioDL/boo 2017-02-15 19:46:18 -10:00
Jack Andersen e6b3530681 Fix break derp 2017-02-15 19:46:03 -10:00
Jack Andersen 0a4775726c Add missing initializer 2017-02-15 18:50:21 -10:00
Jack Andersen 71593afe50 More Vulkan fixes 2017-02-15 18:47:31 -10:00
Jack Andersen 3197142d1f Vulkan window resize fixes 2017-02-15 17:17:18 -10:00
Jack Andersen bfd912b0a9 Merge branch 'master' of https://github.com/AxioDL/boo 2017-02-15 13:13:27 -10:00
Jack Andersen f9ed2ba5b8 Make resized() lock platform-dependent 2017-02-15 13:13:05 -10:00
Jack Andersen 9af8ec3d23 Vulkan Win32 fixes 2017-02-15 13:10:30 -10:00
Jack Andersen c6d5015612 Use 45ms buffer size for WASAPI 2017-02-14 22:28:10 -10:00
Jack Andersen 5982a3825d Use 15ms buffers in AQS 2017-02-14 20:49:28 -10:00
Jack Andersen fef663a5e3 Allow audio AQS buffering to occur during frame idle 2017-02-14 20:00:10 -10:00
Jack Andersen 48491e3250 Fix for #14 2017-02-12 08:20:52 -10:00
Jack Andersen 1834be435f Fix AudioQueueServices stall-out 2017-02-11 22:44:20 -10:00
Phillip Stephens ee60772b39 Revert "fix" for DolphinSmashAdapter (incorrect, problem lies elsewhere) 2017-02-10 20:20:41 -08:00
Jack Andersen 27a455c61d Touch Bar support 2017-02-08 23:22:12 -10:00
Jack Andersen bb227b9cc0 Solve some D3D12 validation errors and warnings 2017-02-04 08:23:08 -10:00
Jack Andersen b5050159c4 More stable window close handling 2017-02-02 21:32:56 -10:00
Jack Andersen 4fb95046a8 Add shader dump to Metal compile failure 2017-01-29 18:14:58 -10:00
Jack Andersen ed8cc3a57b Conform D3D and Vulkan backends 2017-01-28 21:26:42 -10:00
Jack Andersen 4be38afef3 Merge branch 'master' of https://github.com/AxioDL/boo 2017-01-28 17:56:39 -10:00
Jack Andersen 80e93a8e38 Mipmapped array textures 2017-01-28 17:56:17 -10:00
Phillip Stephens a2e0692285 Fix Inverted left/right stick axes 2017-01-26 23:41:45 -08:00
Jack Andersen 7bf2ad48a7 Add ability to unregister audio callback 2017-01-22 21:20:40 -10:00
Jack Andersen d6b54a3718 D3D11 dynamic texture load fix 2017-01-21 23:04:37 -10:00
Jack Andersen 23a0c4d1da Submix deletion bug fix 2017-01-21 15:39:15 -10:00
Jack Andersen 594d590a55 D3D and Vulkan sync 2017-01-20 14:19:18 -10:00
Jack Andersen ee9f3efe61 Hold shader data bindings through to rendering worker 2017-01-19 17:52:40 -10:00
Jack Andersen f0e8e0a1fa Synchronous lifetime control of AudioQueue on macOS 2017-01-18 10:56:26 -10:00
Jack Andersen 8fe3e2152b Update logvisor; name key threads 2017-01-16 15:20:50 -10:00
Jack Andersen 593170cefe Support nullptr for submix sends 2017-01-15 22:39:56 -10:00
Jack Andersen 7463426fe6 Default audio mixing to main output 2016-12-13 15:08:42 -10:00
Jack Andersen d309f124b9 More stable D3D11 resource residency 2016-12-11 13:29:08 -10:00
Jack Andersen 1177d50eda Metal pool buffers 2016-12-11 10:20:29 -10:00
Jack Andersen c057068e64 use hash table for pool buffers 2016-12-10 20:18:41 -10:00
Jack Andersen 25fadc7348 Windows sync 2016-12-10 15:50:26 -10:00
Jack Andersen fa45c6750a macOS HIDPI fixes; buffer pools 2016-12-09 16:31:50 -10:00
Jack Andersen d5b42b785e CoreMidi API usage adjustment to prefer latest connected HW 2016-10-15 08:39:09 -10:00
Jack Andersen 1877c546ac Smarter std::thread ownership for HID clients 2016-10-10 15:20:39 -10:00
Jack Andersen 26b1e25077 Better branching logic for Vulkan init 2016-09-30 12:40:06 -10:00
Jack Andersen 10988fa37e Make setlocale fail non-fatal 2016-09-25 11:33:39 -10:00
Jack Andersen 528c572671 Windows Fixes 2016-09-18 15:02:33 -10:00
Jack Andersen 516e5fbe0e Also restore Metal scissor rect 2016-09-11 19:34:45 -10:00
Jack Andersen 4cffc6e4ec Metal viewport restore fix 2016-09-11 19:28:54 -10:00
Jack Andersen 7da2f8e632 Minor Windows include tweaks 2016-09-10 15:21:24 -10:00
Jack Andersen ac98d6eac2 Metal resolveBindTexture viewport restore 2016-09-02 19:17:47 -10:00
Jack Andersen ceedda9e1f const_cast is a nicer statement 2016-08-28 18:20:40 -10:00
Jack Andersen e92e6d7c4c Full spelling of 'OpenGL' for enum consistency 2016-08-23 18:33:20 -10:00
Jack Andersen dbf7b9bcf8 Windows fixes and include refinements 2016-08-17 10:04:19 -10:00
Jack Andersen c77fe94313 Disable depth clamp in Vulkan shaders 2016-08-08 08:21:14 -10:00
Jack Andersen 3d96463db7 Better Metal shader error handling 2016-08-03 13:45:52 -10:00
Jack Andersen 758be7d76c Use rectangle intersect for blitting safety 2016-08-01 19:54:01 -10:00
Jack Andersen 6c12cd0ce8 Flush out state for offset uniform bindings 2016-08-01 15:59:03 -10:00
Jack Andersen de0699ab8d D3D12 render to texture fixes 2016-08-01 13:24:01 -10:00
Jack Andersen 29364a8024 D3D sync 2016-07-31 18:32:27 -10:00
Jack Andersen 21548bada8 Use GEQUAL compare for Metal depth compare 2016-07-31 12:39:05 -10:00
Jack Andersen 2ec943f0b2 Metal platform fixes 2016-07-31 10:25:02 -10:00
Jack Andersen 0ee5944387 Comment out annoying warnings 2016-07-30 18:45:03 -10:00
Jack Andersen bec368dfe7 support for nullptr in texture binding array 2016-07-30 16:05:20 -10:00
Jack Andersen c01b0b4c6a Vulkan resolveBindTexture fix 2016-07-29 18:38:33 -10:00
Jack Andersen e70da4b4a5 Vulkan depth clear fix 2016-07-26 20:33:42 -10:00
Jack Andersen d6063f4a4d Vulkan render-target fixes 2016-07-26 18:13:34 -10:00
Jack Andersen cb2b33a42b Vulkan validation fixes 2016-07-26 17:38:00 -10:00
Jack Andersen 55be829aca Vulkan validation layer fixes 2016-07-26 16:17:16 -10:00
Phillip Stephens cf26e39259 Windows fixes 2016-07-23 23:33:23 -07:00
Jack Andersen d71c01e1d7 Smart pointer usage in Vulkan.cpp 2016-07-20 12:19:53 -10:00
Jack Andersen 66c64cde08 Fallback flow for graphics APIs 2016-07-20 07:14:18 -10:00
Jack Andersen 1c8236d100 Remove redundant loop 2016-07-18 12:39:28 -10:00
Jack Andersen 6473014178 Ensure MessageBox call only emitted for Windows 2016-07-17 11:18:28 -10:00
Jack Andersen 3076c0525d Add preliminary Win32 Vulkan support 2016-07-17 11:15:57 -10:00
Jack Andersen 02c1004d67 Minor adjustments to silence MSVC warnings 2016-07-14 11:29:55 -10:00
Phillip Stephens 136e43dcfe Add missing include 2016-07-14 12:17:04 -07:00
Jack Andersen f35ccbaad5 Add voice allocator master volume 2016-07-13 20:16:40 -10:00
Jack Andersen 85fa541f6a Remove unnecessary dirty submix flags 2016-07-13 19:38:36 -10:00
Jack Andersen b68ae901c9 Merge branch 'submix-refactor' 2016-07-13 19:00:21 -10:00
Jack Andersen 9552801968 Working linearized Submixes 2016-07-13 18:59:41 -10:00
Jack Andersen 86003c4ac4 Initial multiple-referencing submix refactor 2016-07-12 17:06:12 -10:00
Phillip Stephens 1d02741879 Fix crash in HIDListenerIOKit when wLenDone == 0 2016-07-09 14:54:08 -07:00
Jack Andersen 44e8317d49 Refactor GLSL shader bindings 2016-07-07 14:05:22 -10:00
Jack Andersen 5c91ba8da7 Restore original sampling ratio 2016-07-07 09:18:57 -10:00
Jack Andersen 7b329963d1 Windows compile fix 2016-07-06 11:49:39 -10:00
Jack Andersen c47780527d Add WAVOut Voice Backend for offline Audio mixing 2016-07-06 11:29:06 -10:00
Phillip Stephens 96fe19cfc0 OS X < 10.11 fixes 2016-07-05 14:47:04 -07:00
Jack Andersen d9abcb8cf5 Refactored audio supply dispatch across two passes 2016-07-04 15:06:22 -10:00
Jack Andersen befa1a11a2 ALSA and AQS use floating-point audio output now 2016-07-03 17:31:53 -10:00
Jack Andersen f4dc3626e5 sRGB mapping working on Intel; other platforms need testing 2016-07-01 19:19:28 -10:00
Jack Andersen 0c99623aa9 Vulkan platform conformances 2016-07-01 17:44:57 -10:00
Jack Andersen 295d100ca3 Initial vulkan rendering within URDE 2016-06-30 16:30:29 -10:00
Jack Andersen 6504bfc8c8 Removed double pipeline cache free 2016-06-29 19:42:27 -10:00
Jack Andersen 0e48afcc02 Initial working booTest on Vulkan 2016-06-29 18:54:29 -10:00
Jack Andersen fba6d10b37 Use Vulkan Blit command rather than Copy 2016-06-28 16:00:02 -10:00
Jack Andersen b04257c992 Update booTest pipeline for Vulkan 2016-06-28 15:22:13 -10:00
Jack Andersen affb4e98d3 D3D12 -> D3D11 device fallback 2016-06-27 12:54:02 -10:00
Jack Andersen c7df255c24 Several Vulkan bug fixes, state setup validates 2016-06-26 18:33:01 -10:00
Jack Andersen fb259a7d12 More Vulkan bug fixes 2016-06-25 14:33:22 -10:00
Jack Andersen e320121df6 Vulkan backend bug fixes 2016-06-24 21:04:58 -10:00
Jack Andersen 9bc1193e3f Update glslang, some Vulkan bug fixes 2016-06-23 17:03:06 -10:00
Jack Andersen e4c625c55a MIDIDecoder bug fixes 2016-06-22 11:44:37 -10:00
Jack Andersen d77a18cde3 MIDIEncoder fix 2016-06-20 21:08:33 -10:00
Jack Andersen 4f7845f4ce Don't initialize OLE 1.0 in CoInitializeEx 2016-06-17 10:43:05 -10:00
Jack Andersen 9724488da3 Huge quaility improvement with soxr by priming with 5ms of silence 2016-06-16 20:01:36 -10:00
Jack Andersen 7410e17179 Not clamping float audio now; better mix quality 2016-06-14 17:53:37 -10:00
Jack Andersen e62e8952b5 Audio Queue Services now queries user-configured sample rate from device 2016-06-08 15:51:21 -10:00
Jack Andersen 65a63bcab5 Linux sync for MIDI timing 2016-06-07 19:20:26 -10:00
Jack Andersen 52c0cca593 Improved MIDI timing interface 2016-06-07 18:37:21 -10:00
Jack Andersen 521b490d0f Support for runtime changing of audio output endpoint under WASAPI 2016-05-31 18:53:57 -10:00
Jack Andersen faafbb2d3f Add check for missing Windows 7 Platform Update 2016-05-31 17:02:07 -10:00
Jack Andersen d57469e1e1 More reliable MIDI thread-exit signal 2016-05-31 00:18:04 -10:00
Jack Andersen 36aa2b06a4 Merge branch 'master' of https://github.com/AxioDL/boo 2016-05-30 19:17:05 -10:00
Jack Andersen f1e07861ca dry-main, wet-submix audio routing 2016-05-30 19:16:29 -10:00
Jack Andersen d08f25abd3 Out-of-bounds memory access fixes 2016-05-29 12:57:57 -10:00
Jack Andersen db8c002f4e Safer null-pointer handling in AudioQueueServices 2016-05-24 11:56:22 -10:00
Jack Andersen a464f3d68c Remove pointless line endings in CoreMIDI strings 2016-05-23 09:15:06 -10:00
Jack Andersen c6b2b70933 Update WASAPI.cpp 2016-05-23 09:14:10 -10:00
Jack Andersen 8aaaffbe67 Add 2-channel floating-point audio SSE path 2016-05-22 20:21:18 -10:00
Jack Andersen 9b13390447 Integrate Win32 MIDI API 2016-05-22 19:34:20 -10:00
Jack Andersen 59f42ae85f Add OS X CoreMIDI interfaces 2016-05-22 13:09:32 -10:00
Jack Andersen d1eb3a6b3b Initial AudioMatrixSSE 2016-05-21 22:37:16 -10:00
Jack Andersen 9078a16642 Proper MIDI thread termination 2016-05-21 12:43:43 -10:00
Jack Andersen 0a049645d8 Remove unnecessary conditional 2016-05-21 12:18:15 -10:00
Jack Andersen 53f4e32c46 Add channel-matrix slewing 2016-05-21 11:45:55 -10:00
Phillip e48f5d36c7 Windows compile fixes 2016-05-20 20:22:00 -07:00
Jack Andersen 6f04bea1f0 Tweaks to ALSA midi handling 2016-05-20 15:16:28 -10:00
Jack Andersen df61d6678b Functor-based MIDI command receiving 2016-05-20 12:57:34 -10:00
Jack Andersen 7756fcaf76 Add MIDI interface classes 2016-05-19 20:16:07 -10:00
Jack Andersen 77507459cc Add 5ms callback registration for precise audio updates 2016-05-19 00:14:21 -10:00