Commit graph

580 commits

Author SHA1 Message Date
wheremyfoodat
bceaf3b6b7 Rename HTTP server files 2023-07-28 14:21:00 +03:00
offtkp
b14564bcb3 Add /step http server command 2023-07-28 13:17:36 +03:00
wheremyfoodat
73321856c8 Mooore 2023-07-28 03:03:10 +03:00
wheremyfoodat
adb78bf838 [GL] More state stuff 2023-07-28 01:35:49 +03:00
wheremyfoodat
64fa970468 [GL] Actually implement logic ops 2023-07-27 21:57:50 +03:00
wheremyfoodat
71898895af Merge remote-tracking branch 'upstream/master' into stencil-logicop-clear 2023-07-27 17:54:57 +03:00
wheremyfoodat
69b5357eb3 Optimize logging for user builds 2023-07-27 17:16:45 +03:00
wheremyfoodat
b4cc743608 [GL] Add stencil enable to state tracker 2023-07-27 15:34:21 +03:00
offtkp
dfde03a344 Remove unused parameter in MyEnvironment 2023-07-27 15:03:50 +03:00
wheremyfoodat
03733569e0 Merge remote-tracking branch 'upstream/master' into stencil-logicop-clear 2023-07-27 14:23:00 +03:00
wheremyfoodat
420abd26d0 Format 2023-07-27 13:49:13 +03:00
offtkp
630d423a4d Make load_rom use DeferredResponseWrapper 2023-07-27 13:02:41 +03:00
wheremyfoodat
3653eb538f Fix struct & class confusion 2023-07-27 12:38:38 +03:00
wheremyfoodat
b39e32fce0 Merge remote-tracking branch 'upstream/master' into load_rom 2023-07-27 12:31:41 +03:00
GPUCode
c6c71bb9b2 renderer_gl: Implement semi proper clears 2023-07-26 22:34:39 +03:00
GPUCode
50bcf3b617 renderer_gl: Respect depth-stencil write flag 2023-07-26 22:13:41 +03:00
GPUCode
6f7874227c renderer_gl: Implement logic op 2023-07-26 22:08:20 +03:00
wheremyfoodat
95a8917589 renderer_gl: Implement stencil testing 2023-07-26 22:05:30 +03:00
wheremyfoodat
037d16ae7c
Merge pull request #140 from wheremyfoodat/pause
Add resume/pause button, some hotkeys, more HTTPanda commands
2023-07-26 20:30:47 +03:00
wheremyfoodat
fa6ce2a7f2 Add new HTTP(anda) commands 2023-07-26 20:12:36 +03:00
wheremyfoodat
1107dff9fa Implement pause/resume 2023-07-26 19:29:34 +03:00
offtkp
63f9cfe0c2 Add load_rom http server command 2023-07-26 16:36:37 +03:00
wheremyfoodat
eef87da979 Better cheat interface 2023-07-26 03:27:30 +03:00
wheremyfoodat
a0a821a1ac Merge remote-tracking branch 'upstream/master' into http-server-improvements 2023-07-26 02:18:02 +03:00
wheremyfoodat
67a08a71f6 Bonk http server 2023-07-26 02:11:14 +03:00
wheremyfoodat
6c983b16d3 [AC] Stub GetLastErrorCode 2023-07-24 23:57:17 +03:00
wheremyfoodat
5b90cb7a03 [MIC] Stub SetIIRFilter (Fixes Hatsune Miku) 2023-07-24 23:56:53 +03:00
wheremyfoodat
c87501f86f
Merge pull request #125 from Wunkolo/vulkan-init
Initialize Vulkan Context
2023-07-24 21:05:26 +03:00
offtkp
3a21661f45 Refactor http server 2023-07-24 11:43:40 +03:00
Wunkolo
e2e49b7291 Add in-place swapchain recreation
Lots of todos, this should probably just be its own self-contained
object to allow the emulator to render "headlessly" regardless of a
swapchain existing or not.
2023-07-23 21:44:39 -07:00
wheremyfoodat
4a24a331da
Merge pull request #113 from wheremyfoodat/ir
Merging despite it still being partially broken because I don't want this to be isolated in a random branch
2023-07-24 01:11:46 +03:00
Wunkolo
af4163de19 Implement simple swapchain image clearing
Creates a swapchain, and per-swapchain image data for safe parallelism and synchronization.
2023-07-22 19:41:41 -07:00
Wunkolo
90a4c9cf8d Initialize command buffer allocationFix SDL_Vulkan_GetDrawableSize call 2023-07-22 17:13:13 -07:00
Wunkolo
fa804ae4c7 Implement swapchain draw loop
Verified on Windows and MacOS(M2)
2023-07-22 16:44:54 -07:00
Wunkolo
26c97eb716 Implement initial swapchain creation 2023-07-22 15:24:41 -07:00
Wunkolo
197e2a4bbd Allocate present/graphics/compute/transfer queue families 2023-07-22 14:23:37 -07:00
Wunkolo
8ace959d72 Fix RendererSW initGraphicsContext prototype 2023-07-22 13:20:57 -07:00
Wunkolo
428a9d1f1a Fix SDL_Window forward declaration
Should be struct, not class.
2023-07-22 13:16:23 -07:00
Wunkolo
c7a93c4f52 Warn on failed surface creation for vulkan
Vulkan can technically work just fine without presenting to the user, so
consider these failed window procedures as "warnings" during iteration.
2023-07-22 13:16:23 -07:00
Wunkolo
eff62d3de7 Disable asserts on Vulkan result codes 2023-07-22 13:16:23 -07:00
Wunkolo
b048d4dd6e Add SDL_Window to initGraphicsContext prototype
This value is needed for vulkan to properly allocate a surface, and would benefit OpenGL to move more of its initialization code into here rather than in `emulator.cpp`.
2023-07-22 13:16:23 -07:00
Wunkolo
870b6a21bf Add initial vulkan instance creation
Headlessly creates a new vulkan instance, with conditional MacOS
support, and enables the `VK_EXT_debug_utils` instance-extension with a
debug-messenger to hook onto validation layer messages.
2023-07-22 13:16:23 -07:00
Wunkolo
d2241a25bc Stub Vulkan backend support
A lot of the architecture of the emulator here does not allow for vulkan
to initialize easily since it involves a bit of data to be exchanged
between SDL and Vulkan. This commit just adds the foundational linkage
and library code for vulkan support.
2023-07-22 13:16:23 -07:00
wheremyfoodat
ae4a4dfc29 Hook up sw rendering backend 2023-07-22 20:47:19 +03:00
wheremyfoodat
f328200c65 Add empty sw renderer class 2023-07-22 20:24:49 +03:00
wheremyfoodat
3b067a0eed Merge branch 'master' into ir 2023-07-21 15:45:04 +03:00
wheremyfoodat
5dfc17ed18
Merge pull request #131 from wheremyfoodat/cheats
More AR stuff
2023-07-21 15:39:57 +03:00
wheremyfoodat
d470a8c8d3 Merge branch 'master' into ir 2023-07-21 15:19:57 +03:00
wheremyfoodat
0588b99674 [ActionReplay] More conditional ops 2023-07-21 14:49:04 +03:00
wheremyfoodat
52314c188c
Merge pull request #130 from wheremyfoodat/cheats
More cheating
2023-07-21 03:56:30 +03:00