Commit graph

768 commits

Author SHA1 Message Date
wheremyfoodat
50bf9bf7da
Merge pull request #118 from Wunkolo/embedded-resources
Migrate OpenGL string-literals to embedded files
2023-07-17 00:30:59 +03:00
wheremyfoodat
826f0ac039 Fix up comments and readme 2023-07-16 19:23:42 +03:00
Wunkolo
a9bb11e4b3 Migrate OpenGL string-literals to embedded files
Rather than declaring a big C++ literal for these strings, they are now
proper `.vert` and `.frag` files that will become embedded into the
application at build-time. It also allows for clang-format to format the
glsl files the same as our C++ code. CMake will also automatically track
and re-embed the file if it detects that the glsl source files have
changed since the last build. Ex, making a change to
`opengl_display.frag` and compiling will automatically recompile and
link the resource-target that it is associated with.
2023-07-15 19:12:07 -07:00
wheremyfoodat
786c3e8a5c
Merge pull request #98 from Wunkolo/modular-gl
Allow conditional OpenGL rendering backend
2023-07-16 03:48:07 +03:00
wheremyfoodat
f43c252e55 Switch LOG2/EX2 from x87 to SSE (adjusted from Citra)
Co-Authored-By: merry <8682882+merryhime@users.noreply.github.com>
Co-Authored-By: Wunk <wunkolo@gmail.com>
2023-07-16 01:34:59 +03:00
wheremyfoodat
a601686cb1 Pretend to know CMake 2023-07-16 00:11:07 +03:00
wheremyfoodat
7b6cd90d36 Cleanup for #98 2023-07-15 04:56:43 +03:00
wheremyfoodat
0b7e63c5b6
Fix resetting v2 2023-07-15 01:26:46 +03:00
wheremyfoodat
2cd03e905d
Fix resetting 2023-07-14 18:03:25 +03:00
Merry
bf93097d62 kernel: Delete object properly in deleteObjectData
delete-ing a void* is undefined behaviour
2023-07-14 15:00:54 +01:00
wheremyfoodat
3ad0fc6a56 IR please stop 2023-07-13 20:28:32 +03:00
wheremyfoodat
cfcf757e70 [IR] More bonk 2023-07-13 16:31:19 +03:00
wheremyfoodat
58db16540b [IR] Fix initialized byte 2023-07-13 14:52:04 +03:00
wheremyfoodat
af8661a249 [IR] Fix disconnect 2023-07-13 14:46:43 +03:00
wheremyfoodat
03ae0d02d8 [IR] Implement shmem header 2023-07-13 14:24:37 +03:00
wheremyfoodat
f64c662ab9 Stop lying to people 2023-07-13 00:25:47 +03:00
wheremyfoodat
3a1a612e8b Merge branch 'master' into dynapand 2023-07-12 21:34:29 +03:00
wheremyfoodat
42c86ac541 Better FS::ReadDirectory 2023-07-12 21:33:13 +03:00
wheremyfoodat
e958a360ae
typo 2023-07-12 01:27:42 +03:00
wheremyfoodat
e00f5d21df
Merge pull request #107 from caldog20/wifimac-configmem
Stub reads for WIFI MAC address in ConfigMem
2023-07-11 23:56:31 +03:00
Caleb Yates
7f4746139d Add WIFI MAC to ConfigMem and stub reads 2023-07-11 15:28:16 -05:00
Wunkolo
666fd96e7f Move color/depth format and size to Renderer interface
The state of these values are not specific to any rendering backend and
can be moved to be part of the interface itself
2023-07-11 11:28:06 -07:00
Wunkolo
5b7fa5be7e Remove redundant Renderer::screenshot definition 2023-07-11 11:28:06 -07:00
Wunkolo
0f3d77768d Fix array declarations to use block-formatting 2023-07-11 11:28:06 -07:00
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
9e32b6d4bf Remove OpenGL-specific vector-types
Removes dependency on the OpenGL header and rendering backen for its
`OpenGL::Vector` type in favor of a more standard array.
2023-07-11 11:27:35 -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
wheremyfoodat
148232c0b2
Merge pull request #101 from SimoneN64/master
Don't force users to load rom from terminal
2023-07-11 20:14:17 +03:00
wheremyfoodat
3063efaea1 Revert "Merge branch 'master' of https://github.com/SimoneN64/Panda3DS"
This reverts commit 51fb4865ee, reversing
changes made to de2751fb5c.
2023-07-11 02:50:40 +03:00
wheremyfoodat
51fb4865ee Merge branch 'master' of https://github.com/SimoneN64/Panda3DS 2023-07-11 02:50:24 +03:00
wheremyfoodat
de2751fb5c Bonk frontend changes 2023-07-11 02:47:09 +03:00
SimoneN64
6ce861624d Don't force users to load rom from terminal or by dragging and dropping onto executable file. Instead, open a blank window and use SDL's drag&drop feature 2023-07-11 01:58:35 +03:00
wheremyfoodat
27cf8d75ca
Merge pull request #104 from GPUCode/panda-needs-school
Fix typo
2023-07-11 01:21:01 +03:00
GPUCode
57423e206f Fix typo 2023-07-11 01:18:55 +03:00
SimoneN64
49101037b8 Should reset this flag in the GSP (needs better name) 2023-07-10 23:04:07 +02:00
wheremyfoodat
00f0af8771 Sorry Wunk 2023-07-10 22:56:45 +03:00
Wunkolo
d96289cc05 Address remaining C4244 warnings
Remaining warnings regarding an implicit cast from `double` to `float`.
2023-07-10 12:33:37 -07:00
Wunkolo
119c908aa7 Add explicit return-type overload for getBits
Allows the return-type to be specified, allowing a concise final cast
after extracting the bit-type.  Addresses the remaining `C4244` warnings
regarding `getBits`.
2023-07-10 12:33:37 -07:00
Wunkolo
37b75f0928 Fix C4267/C4244 warnings
Address warnings involving lossy conversions from larger integer-types into smaller integer-types
2023-07-10 12:33:37 -07:00
wheremyfoodat
ba1c3a8ec5 Moar HTTP 2023-07-10 11:30:09 +03:00
wheremyfoodat
b3f6a3a91c
Merge pull request #89 from wheremyfoodat/UUID
[ACT] Stub GenerateUUID
2023-07-09 04:15:18 +03:00
wheremyfoodat
5bcc35dfc8 [ACT] Stub GenerateUUID 2023-07-09 03:17:24 +03:00
wheremyfoodat
482233f601
Merge pull request #87 from wheremyfoodat/superskyler
Make colour/depth buffers to also do ringing for now, add exp2/log2 approximations in x87 to the shader JIT
2023-07-09 02:10:42 +03:00
wheremyfoodat
e41076522c Remove outdated warning 2023-07-09 01:41:09 +03:00
wheremyfoodat
15ede3bd6e [Shader JIT] Temporary EXP2/LOG2 implementations in x87 2023-07-09 01:29:51 +03:00
wheremyfoodat
409f26b8e6
Merge pull request #85 from wheremyfoodat/gyro
Initial gyroscope support
2023-07-09 00:05:21 +03:00
wheremyfoodat
1a7e79f2c9 Bad-but-ok for now gyroscope implementation 2023-07-08 23:31:16 +03:00
wheremyfoodat
075409130b
Fix typo 2023-07-08 22:06:53 +03:00