Commit Graph

35 Commits

Author SHA1 Message Date
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
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
3a2f71fc30 Move imgui debugger to own library libdebugui. 2018-12-30 11:01:29 +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
28ecae6aa1 Fix pm4-replay builds. 2018-06-22 14:48:21 +01:00
James Benton
3696f6ea11 Add MEM0, SRAM0 and SRAM1 memory. 2017-09-19 12:40:32 +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
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
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
James Benton
4646c4190e Update gsl-lite 2017-02-21 11:41:31 +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
James Benton
f0edddf15b pm4-replay: Fix incorrect parameter order for file seek. 2016-09-13 22:57:40 +01:00
Brett Lawson
d871756e66 Fix some things that were missed in the last commit.
There were some crazy changes to the debugger::ui drawing
code that I hadn't noticed.  I fixed them and then added
the blank DX12 drawer as I did with the rest of the draw
components.
2016-09-06 01:20:09 -07:00
James Benton
a5e9d5a959 Move pm4-replay to tools folder. 2016-08-31 22:55:23 +01:00