Wunkolo
4864c51125
Migrate OpenGL specific headers to renderer_gl
2023-07-11 11:28:06 -07:00
Wunkolo
a636a0d1da
Replace ENABLE_OPENGL
with PANDA3DS_ENABLE_OPENGL
2023-07-11 11:28:06 -07:00
Wunkolo
c53080b444
Fix HTTPServer gpu-renderer interfacing
...
Fixing some compilation issues that occur when enabling the HTTP server
2023-07-11 11:28:06 -07:00
Wunkolo
2a1683ba62
Introduce "Renderer" abstraction layer
...
Adds a `renderer` class for which a rendering backend must implement and
will conditionally use OpenGL in the case that `ENABLE_GL` is enabled.
2023-07-11 11:27:35 -07:00
Wunkolo
0009b0817d
Add ENABLE_OPENGL
build option
...
Allows the OpenGL backend to be fully disabled, continuing a modular
pattern of having multiple possible rendering backends. Also defines the
`ENABLE_OPENGL` preprocessor in the case of conditional source-file
changes depending on the rendering backend.
2023-07-11 11:27:04 -07:00
Wunkolo
e4e8e7ce26
Move stb_image_write
into its own translation unit
...
Rather than having the entire implementation within `emulator.cpp`,
causing incremental builds to be much slower, give it its own
translation unit `stb_image_write.c`.
2023-07-11 10:43:20 -07:00
Wunkolo
1cb5513716
Disable compilation of SDL tests
...
Speed up our compilation by about 20 files by removing the need to
compile all of SDL's test suite.
2023-07-10 12:31:10 -07:00
wheremyfoodat
536e4566db
Fix Windows build
2023-07-10 11:04:15 +03:00
wheremyfoodat
57c45cf58a
Remove globals, change conditional compilation, doormat
2023-07-10 02:29:08 +03:00
offtkp
b8fa5fc86d
Separate http server to a new file
2023-07-10 01:32:47 +03:00
offtkp
0949a16e6f
Add initial http server stuff
2023-07-10 01:00:08 +03:00
wheremyfoodat
eb7b056e28
Derp
2023-07-09 23:09:19 +03:00
wheremyfoodat
ced61914c4
Add HTTP server CMake option for Pokemon Bot
2023-07-09 22:40:24 +03:00
wheremyfoodat
1c08912a59
[IR:USER] Add empty service
2023-07-08 19:35:59 +03:00
wheremyfoodat
bc3377ac78
Add config class
2023-07-08 16:16:00 +03:00
wheremyfoodat
b403e9a66e
Start work on GL state manager object
2023-07-04 23:27:38 +03:00
Sky
0f66527cbe
Merge pull request #1 from wheremyfoodat/master
...
Not Ignoring this PR I fucked up something on my Github GUI
2023-07-03 13:05:46 -07:00
wheremyfoodat
50c0c7fea5
Try to tone down warnings
...
Co-Authored-By: Wunk <wunkolo@gmail.com>
2023-07-03 14:11:28 +03:00
wheremyfoodat
0b2ff6c5c8
Separate user and dev builds
2023-07-02 22:36:45 +03:00
wheremyfoodat
1ac3a474da
Fix formatting & cmake
2023-07-01 22:35:07 +03:00
wheremyfoodat
4d46f4a3a7
Make LTO a proper CMake option
2023-07-01 13:22:41 +03:00
wheremyfoodat
8b703dd147
Merge branch 'master' into dynapica
2023-06-30 16:01:49 +03:00
wheremyfoodat
f65d9480a5
Merge remote-tracking branch 'upstream/master' into io-file-cpp
2023-06-28 03:22:58 +03:00
wheremyfoodat
41f29893c2
Fix merge
2023-06-28 00:10:44 +03:00
wheremyfoodat
02d07f29d7
Merge remote-tracking branch 'origin/GamingProcessingUnit' into dynapica
2023-06-27 18:53:59 +03:00
wheremyfoodat
432b4b847b
Making helpers.hpp thinner
2023-06-27 01:49:12 +03:00
Mary
86dd7f54f5
feat: Add support for encrypted NCSD
...
Missing version 1 support and seeded crypto but that would be enough for now.
2023-06-22 17:41:08 +02:00
Mary
2e5bc0cb14
feat: crypto: Add basic AES keyslot manager
...
We loads keys from AppData/Alber/sysdata/aes_keys.txt.
NOTE: We do differ from other emulators by not hardcoding the generator key, it's the user responsibility to provide it in aes_keys.txt.
2023-06-22 17:37:21 +02:00
Wunkolo
62fdb29646
Add GPU_DEBUG_INFO
CMake-Option
...
Adds a project-wide setting for allowing renderer code to add additional
diagnostic data. Currently used to allow `opengl.hpp` to conditionally
implement debug-labeling and scopes.
2023-06-20 11:04:52 -07:00
Wunkolo
1b9f270b19
Migrate IOFile
implementation to io_file.cpp
...
Makes the implementation of `IOFile` private, allowing inclusions and
defines such as `#define fseeko` and `#include <io.h>` to not poison
client-code or the global namespace.
2023-06-19 19:37:36 -07:00
wheremyfoodat
d0ae5f0546
Merge pull request #37 from marysaka/feat/proper-hle-result
...
hle: Add proper type for result code
2023-06-17 18:39:36 +03:00
Mary
f3010f0909
misc: Switch from gl3w to glad
...
Also add more checks on window and context creation.
2023-06-17 11:26:18 +02:00
Mary
122b1b2727
hle: Add proper type for result code
...
This should clean up all HLE errorcode in the codebase.
I didn't removed Rust::Result as this should be a cleanup for another
iteration.
2023-06-16 20:09:37 +02:00
wheremyfoodat
19ab9b08e0
Add LTO toggle
2023-06-15 02:42:01 +03:00
wheremyfoodat
f82b27ddba
Add xxhash
2023-06-14 14:46:11 +03:00
wheremyfoodat
415e276ef9
[Shader JIT] Moar
2023-06-08 18:51:03 +03:00
wheremyfoodat
6a70edca7e
[Shader JIT[ Cache harder
2023-06-07 21:25:46 +03:00
wheremyfoodat
4064abfdeb
[Shader JIT] Add caching
2023-06-07 20:33:37 +03:00
wheremyfoodat
cf9ed3d460
More shader JIT groundwork
2023-06-07 17:44:46 +03:00
wheremyfoodat
bf0436a85b
Add CityHash
2023-06-07 16:59:46 +03:00
wheremyfoodat
9ac8817ee3
More vertex loader JIT files
2023-06-07 02:16:22 +03:00
wheremyfoodat
31bb1e8e0b
Add Xbyak submodule
2023-06-07 01:01:59 +03:00
wheremyfoodat
afb577487c
Maybe fix Mac build
2023-06-06 18:15:27 +03:00
wheremyfoodat
e3fb364d95
Add DLP::SRVR service
2023-06-03 01:25:51 +03:00
wheremyfoodat
ac43c09ebd
[CPU] Add better cycle counting
2023-05-07 00:36:36 +03:00
wheremyfoodat
7b4de79ed6
Fix ARM64 build maybe
2023-05-06 19:18:23 +03:00
wheremyfoodat
aa1cfa7add
[CFG] Add GetSystemModel
2023-05-01 20:37:48 +03:00
wheremyfoodat
24b7b7b9ca
Fix CMake on gcc
2023-04-30 20:06:20 +03:00
wheremyfoodat
3935820c05
[ACT/MIC/NFC] Stub function for Captain Toad
2023-04-24 21:33:59 +03:00
wheremyfoodat
2b492a435e
[Services] Uhh implement IPC result header which apparently libctru's apt code nees
2023-04-20 02:03:05 +03:00