Commit graph

54 commits

Author SHA1 Message Date
James Benton
600337d414 Port to vcpkg 2022-01-22 13:43:32 +00:00
Brett Lawson
7bbab9dccc gpu: Removed OpenGL implementation as it was out of date. 2019-12-07 05:16:34 -08:00
James Benton
0aeb34c474 tools/pm4-replay: Add support for looping replay. 2019-11-29 14:29:55 +00:00
Brett Lawson
6e3c89ca97 tools/pm4-replay: Fix some bugs with newer gpu interface. 2019-11-29 13:58:11 +00:00
Brett Lawson
38907ac726 replay: Correctly initialize GPU register state before running replay. 2019-11-27 05:25:32 -08:00
James Benton
4b707fd46c replay: Added gpu configuration 2019-11-25 01:57:34 -08:00
James Benton
4f8511f565 tools/pm4-replay: Refactor and fix a few bugs. 2019-11-24 10:23:24 +00:00
James Benton
b9367fba4b decaf: Rename hasExited to stopping. 2019-11-06 22:41:50 +00:00
James Benton
f44752b865 gpu: Fix some X11/Xcb initialisation.
Still broken tho lol
2019-10-19 16:07:32 +01:00
James Benton
5b0bb76c4a sdl: Fix renderSurface cast from x11 window 2019-10-19 16:07:32 +01:00
James Benton
b2d18768bd Move ownership of rendering to graphics backends. 2019-10-19 16:07:31 +01:00
James Benton
1dc2c3a278 common: Change log.h to no longer include spdlog.h 2019-01-31 10:42:57 +00:00
Andrew Udvare
6ce9817620 cmake: Modify binary install path. 2019-01-29 08:43:51 +00:00
James Benton
f1587ca593 Refactor configuration for libcpu, libgpu and libdecaf. 2019-01-03 20:51:11 +00:00
James Benton
3a2f71fc30 Move imgui debugger to own library libdebugui. 2018-12-30 11:01:29 +00:00
James Benton
f082d6038a cmake: Cleanup some library dependencies. 2018-12-15 08:36:59 +00:00
James Benton
62357dabd8 Remove SDL and zlib as a submodule and use find_package instead. 2018-12-15 08:36:59 +00:00
James Benton
0da7d9fabd decaf: Improve logger creation. 2018-11-07 11:47:19 +00:00
James Benton
dc1714cefb pm4-replay: Increase ringbuffer size. 2018-10-18 09:16:35 +01:00
James Benton
512ac9693a pm4-replay: Update to use new gpu ringbuffer interface. 2018-10-14 11:35:48 +01:00
James Benton
7a3b9c0b4f New GPU & GX2 command buffer implementation.
- Massive cleanup of gx2 command buffer pool.
- Buffers are now submitted through tcl.rpl.
- Adds a new GPU interrupt system.
- GPU correctly interrupts CPU when required by EVENT_WRITE_EOP to notify
  of a retired command buffer.
- Breaks pm4-replay, fixes coming soon(TM).
2018-10-07 14:45:30 +01:00
James Benton
0345b7f662 Add support for PM4 INDIRECT_BUFFER_CALL_PRIV. 2018-09-29 14:10:48 +01:00
James Benton
1608f31014 Add some missing #ifdef DECAF_VULKAN 2018-09-29 13:50:35 +01:00
James Benton
6f5c2eb152 Share renderer code between pm4-replay and decaf-sdl. 2018-09-29 04:34:30 -07:00
James Benton
3c9a4facc6 cafe/kernel: Load title info from MCP. 2018-09-12 07:38:11 +01:00
Brett Lawson
dd8da507b4 pm4: Cleaned up scan target handling across PM4. 2018-09-09 01:07:52 -07:00
James Benton
33942f01d3 Fix pm4-replay build. 2018-09-07 14:24:58 +01:00
James Benton
c593b4db52 Update pm4-replay to use physical memory. 2018-09-04 09:41:25 +01:00
James Benton
5cb73d7319 Fix some log format specifiers. 2018-08-29 10:01:54 +01:00
James Benton
482bcbfceb tools/pm4-replay: Fix pm4 replay. 2018-08-27 16:27:52 +01:00
James Benton
0042b972dc Delete old be_ structures.
These have been replaced by be2_
2018-08-25 19:21:57 +01:00
James Benton
ad05d9c801 Update fmtlib to 5.1.0 and spdlog to 1.1.0 2018-08-25 19:21:57 +01:00
James Benton
28ecae6aa1 Fix pm4-replay builds. 2018-06-22 14:48:21 +01:00
James Benton
b7c12c4ce6 Restore .txt extension for log filenames.
spdlog broke it for a few releases, it's fixed now - yay!
2018-01-11 11:40:01 +00:00
James Benton
3696f6ea11 Add MEM0, SRAM0 and SRAM1 memory. 2017-09-19 12:40:32 +01:00
James Benton
1793c456de Add libraries/fmt.
Move spdlog to use external fmt rather than packaged fmt.
2017-09-19 11:54:12 +01:00
James Benton
5a954424f4 pm4-replay: Add support for dumping frames to TGA files. 2017-05-26 17:59:06 +01:00
James Benton
600df0c6b4 cmake: Fix DECAF_SDL option to actually toggle building of SDL applications.
Also add DECAF_QT option for future use ;).
2017-05-02 22:28:20 +01:00
James Benton
6fff350f43 cmake: Specify render backend using DECAF_GL option.
Also changed define DECAF_NOGL to DECAF_GL.
Added skeleton code for Vulkan backend and driver.
2017-05-02 22:28:20 +01:00
James Benton
a364565f8b Move to a .toml config file and try to unify config loading.
Still not an ideal solution, but it's at least a step in the right direction.
2017-04-24 23:32:00 +01:00
James Benton
d67a59f6e4 Refactor GPU code out of libdecaf/gpu and in to libgpu. 2017-04-24 17:22:10 +01:00
James Benton
3c3646147f New virtual memory implementation. 2017-04-21 00:19:39 +01:00
Peter Mackay
268732e046 Looks like the bug was duplicated elsewhere.
Apologies for not catching it in the other commit.
2017-04-14 15:30:22 +01:00
Andrew Church
62020bb36c Only enable the glbinding command callback when debugging.
Enabling the callback introduces significant overhead; I've observed
slowdown of up to 35% in GPU-bound code, with the GPU thread spending
over 15% of its time just in malloc() and free() calls from glbinding.
2017-04-05 05:51:06 +09:00
James Benton
a890721718 cmake: Cleanup install. 2017-03-16 13:27:19 +00:00
James Benton
f114c98f99 Update spdlog to v0.12.0 2017-02-21 11:41:31 +00:00
James Benton
4646c4190e Update gsl-lite 2017-02-21 11:41:31 +00:00
James Benton
2edad665a3 Use CMake to build for Windows. 2017-02-20 19:25:39 +00:00
Andrew Church
5fff296aaa Remove execute permissions from source files. 2016-12-14 18:11:38 +09:00
James Benton
20b8ee01f3 pm4-replay: Explicitly use gsl::as_span for pm4 packets.
Fixes compile error on gcc.
2016-09-13 22:58:05 +01:00