Commit graph

889 commits

Author SHA1 Message Date
Wunkolo
37902cd9d6 Implement a renderpass cache.
Technically we can generate every possible render-pass up-front based on
the possible combinations of ColorFmt and DepthFmt, but we should only
allocate what the game asks for. Save that pattern for pipelines.
2023-08-20 23:01:43 -07:00
Wunkolo
bf8bb5d459 Add vk_pica translation unit
Intended for conversions and utils between PICA definitions and Vulkan.
2023-08-20 23:01:43 -07:00
Wunkolo
d19b8cf364 Separate frame-work from presentation 2023-08-20 23:01:43 -07:00
Wunkolo
4976671ef0 Rename vulkan_api.hpp to vk_api.hpp
Consistant with other vulkan header patterns.
This header in particular is to configure our Vulkan API usage.
2023-08-20 23:01:43 -07:00
Wunkolo
e87db99a97 Remove ownership of SDL's vulkan-surface
This surface is managed by SDL itself, so there is no need to keep it in
a Unique handle for us to delete.  Fixes the bug where vulkan crashes
during shutdown.
2023-08-20 23:01:43 -07:00
Wunkolo
e3699fe8f8 Allocate and present separate top/bottom screen framebuffer images
Instead of operating directly on the swapchain images, we have our own
top/bottom framebuffer images that will be rendered to independent of
having an available swapchain. The images are blitted into the swapchain
images, allowing for resizing too!
2023-08-20 23:01:43 -07:00
Wunkolo
d0832ca558 Fix support for headless vulkan context 2023-08-20 23:01:43 -07:00
wheremyfoodat
706503974c [Touchscreen] Properly handle "dragging" stylus across screen 2023-08-20 23:42:55 +03:00
wheremyfoodat
41ef4ad540 [HTTP] Stub some certificate stuff 2023-08-20 17:50:53 +03:00
wheremyfoodat
82ded962d0 Add PTM::GetBatteryChargeState 2023-08-20 17:06:32 +03:00
wheremyfoodat
8e00da1d0b Merge branch 'master' into sd-card 2023-08-20 15:55:20 +03:00
wheremyfoodat
197bc93eec Add BOSS:GetErrorCode 2023-08-20 15:07:19 +03:00
wheremyfoodat
eaccc627b9 Merge branch 'master' into sd-card 2023-08-20 14:42:01 +03:00
wheremyfoodat
8aa35d2099 Implement HID::GetSoundVolume 2023-08-20 14:18:30 +03:00
wheremyfoodat
9ee7543f9a Moar SDMC 2023-08-20 13:55:38 +03:00
wheremyfoodat
7ada8da8a8 Start adding SD card support 2023-08-20 13:22:48 +03:00
wheremyfoodat
434827e11e Add svcGetThreadIdealProcessor 2023-08-20 03:43:26 +03:00
wheremyfoodat
415a5bb8de Add AM::RegisterDisconnectEvent 2023-08-20 03:27:10 +03:00
wheremyfoodat
977cb0403c Stub DLC::GetPatchTitleInfo to fail 2023-08-20 03:08:34 +03:00
wheremyfoodat
6895a1d9d6 Implement svcGetCurrentProcessorNumber 2023-08-20 01:51:24 +03:00
wheremyfoodat
fc2747a3d3 Stub NDM::ClearHalfAwakeMacFilter 2023-08-20 00:48:07 +03:00
wheremyfoodat
48b19b2588 Add SD card configs 2023-08-19 19:31:40 +03:00
wheremyfoodat
6d7ab14480 Add MCU::HWC::GetBatteryLevel 2023-08-19 17:50:55 +03:00
wheremyfoodat
c544dd1567 Add MCU::HWC 2023-08-19 17:44:28 +03:00
wheremyfoodat
3f61283251 Implement FRD::Logout and FRD::HasLoggedIn 2023-08-19 17:12:58 +03:00
wheremyfoodat
bd750f010d AC::CloseAsync 2023-08-19 16:35:37 +03:00
wheremyfoodat
6e4b2b672e AC stubs (CancelConnectAsync, CreateDefaultConfig) 2023-08-19 03:24:44 +03:00
wheremyfoodat
05f535be7c More BOSS suffering 2023-08-19 02:31:20 +03:00
wheremyfoodat
02632afb75 [BOSS] Stub SendProperty 2023-08-19 02:02:11 +03:00
wheremyfoodat
5b24006046 Fix discrepancy between ConfigMem::BatteryLevel and PTM 2023-08-18 22:30:50 +03:00
wheremyfoodat
51b2b8eee5 Make battery stuff configurable 2023-08-18 22:17:33 +03:00
wheremyfoodat
80f1de728c Implement NFC::GetTagState 2023-08-18 17:42:05 +03:00
wheremyfoodat
ceb3f05c7e NFC::StopCommunication 2023-08-18 17:21:01 +03:00
wheremyfoodat
59649b27a0 Implement NFC::CommunicationGetStatus 2023-08-18 17:13:15 +03:00
wheremyfoodat
7bbf37bb63 Implement reading texture from NULL 2023-08-18 16:19:54 +03:00
wheremyfoodat
7a6572716f Add FRD::UpdateGameModeDescription 2023-08-18 00:28:28 +03:00
wheremyfoodat
9bf7a9f486 Stub CECD::OpenAndRead 2023-08-17 23:57:18 +03:00
wheremyfoodat
c721fa0482 BOSS: GetTaskStatus 2023-08-17 23:41:09 +03:00
wheremyfoodat
5b9fcd5a70 [BOSS] RegisterNewArrivalEvent 2023-08-17 20:27:50 +03:00
wheremyfoodat
f21c25a76d Stub FS::{Create/Delete}ExtSaveData 2023-08-17 17:02:57 +03:00
wheremyfoodat
185debe087 Stub Y2R::SetPackageParameter 2023-08-15 23:52:02 +03:00
wheremyfoodat
4c004ab028 [AES] Panic when no generator key is provided 2023-08-15 16:03:04 +03:00
wheremyfoodat
e40b2c4b1a CAM::GetBufferErrorInterruptEvent 2023-08-14 19:24:30 +03:00
wheremyfoodat
ae32bb8097 Implement MIC::StopSampling 2023-08-14 19:02:33 +03:00
wheremyfoodat
8881467505 I hate timers 2023-08-14 17:24:53 +03:00
wheremyfoodat
1354b0f7fa Moar timer 2023-08-14 15:13:37 +03:00
wheremyfoodat
fa58c7a7d6 OS Timers part 2 2023-08-13 23:32:07 +03:00
wheremyfoodat
ca0b5755c0 Format 2023-08-13 18:20:46 +03:00
wheremyfoodat
408dbe75a0 Implement 3DS region auto-detect 2023-08-13 18:08:22 +03:00
wheremyfoodat
b896d9a4aa Fix stupidity 2023-08-13 15:04:34 +03:00