Commit Graph
22391 Commits
Author SHA1 Message Date
Henrik Rydgård 0bf92a4fa2 Font rendering code runs but it sure ain't right 2017-06-05 23:09:11 +02:00
Henrik Rydgård d9c43642c2 Fix assorted JNI issues, the calls work now. 2017-06-05 23:09:10 +02:00
Henrik Rydgård 871260fcc4 Start sketching native text rendering for Android 2017-06-05 23:09:04 +02:00
Henrik Rydgård b5ed8de9e5 Warning fix 2017-06-05 13:39:06 +02:00
Henrik Rydgård c5ebeb4273 Merge pull request #9780 from unknownbrackets/ge-record
GE recorder and replay
2017-06-05 10:08:55 +02:00
Unknown W. Brackets 73fd75c0e2 GE Debugger: Fix replay timing drift. 2017-06-04 20:08:17 -07:00
Unknown W. Brackets 7e26c75a27 GE Debugger: Pass filename into dump replay. 2017-06-04 15:11:10 -07:00
Unknown W. Brackets d62f5f9fe2 GE Debugger: Add some comments and cleanup. 2017-06-04 14:51:27 -07:00
Unknown W. Brackets f1429bc23a GPU: Stall properly on matrix data.
Hit an infinite loop because it kept passing the stall pause and looping.

Found when recording the God of War demo.
2017-06-04 14:17:23 -07:00
Unknown W. Brackets 0ce48fbeb5 GE Debugger: Reduce memory allocation.
This allows larger dumps to run without memory errors.
2017-06-04 12:11:23 -07:00
Unknown W. Brackets 37e96c97d9 GE Debugger: Add record button. 2017-06-04 11:20:41 -07:00
Unknown W. Brackets 883c4e8ac8 GE Debugger: Compress GE dumps.
This doesn't save slab memory/size, but it does improve file size.
2017-06-04 11:10:19 -07:00
Unknown W. Brackets 23d2ababd1 GE Debugger: Run replay using stalling.
This is faster and tests flushing better.
2017-06-04 10:39:03 -07:00
Unknown W. Brackets 2a388ba785 GE Debugger: Fix replay FPS. 2017-06-04 10:39:02 -07:00
Unknown W. Brackets 33b073c545 Jit: Fix syscall outside delay slot.
Doesn't happen in real games, but useful in debug code.
2017-06-04 10:39:01 -07:00
Unknown W. Brackets 80be3166af GE Debugger: Allocate replay memory smarter.
This ends up being a good chunk faster.
2017-06-04 10:39:01 -07:00
Unknown W. Brackets 300961ce6e GE Debugger: Align texture/vertex/etc. data.
This may allow slab allocation after all, since it needs to be aligned.
2017-06-04 10:38:59 -07:00
Unknown W. Brackets 9430145774 GE Debugger: Fix clut command recording.
The loadclut command hasn't executed yet...
2017-06-04 10:38:58 -07:00
Unknown W. Brackets 4a56e6ff83 GE Debugger: Fix recording in softgpu. 2017-06-04 10:38:58 -07:00
Unknown W. Brackets ababe0046e GE Debugger: Implement memory transfer commands. 2017-06-04 10:38:56 -07:00
Unknown W. Brackets 9f51c35df1 GE Debugger: Fix memmem and cleanup.
Somehow the prev memmem was sometimes not working right...
2017-06-04 10:38:56 -07:00
Unknown W. Brackets 3e14900164 GE Debugger: Load commands more directly. 2017-06-04 10:38:55 -07:00
Unknown W. Brackets 0c08559840 GE Debugger: Wait to get the right display buf. 2017-06-04 10:38:54 -07:00
Unknown W. Brackets fcfbe8cabb GE Debugger: Fix matrix dumping.
Record wasn't seeing the commands to dump them.
2017-06-04 10:38:53 -07:00
Unknown W. Brackets e45b04a699 GE Debugger: Clear after replay finished. 2017-06-04 10:38:53 -07:00
Unknown W. Brackets 82beb726fc GE Debugger: Record init state and display buf.
Some things are now visible, but still drawing wrong...
2017-06-04 10:38:52 -07:00
Unknown W. Brackets 21153c899b GE Debugger: Oops, don't record if not active.
In case the debugger is open but not recording, oops.
2017-06-04 10:38:51 -07:00
Unknown W. Brackets 73d21ab859 GE Debugger: Initial GE dump replay.
Doesn't work for a few reasons, mainly need existing matrix state/etc.
2017-06-04 10:38:50 -07:00
Unknown W. Brackets ea2c79d789 GPU: Add a debug method to grab list tick wait.
So that we can wait until then when doing test drawing.
2017-06-04 10:38:49 -07:00
Henrik Rydgård 3e712656b7 Merge pull request #9776 from hrydgard/textrender-refactor
draw_text.cpp refactor
2017-06-04 12:28:11 +02:00
Henrik Rydgård af1801af54 Merge pull request #9668 from LunaMoo/featureTR
Add "ignoreAddress" to texture replacement.
2017-06-04 12:01:23 +02:00
Henrik Rydgård 6e98dbb574 Split out the Qt font drawer in its own file. 2017-06-04 11:52:14 +02:00
Henrik Rydgård 8d3b18478c Split out DrawTextWin32 into its own file, to be further split later. 2017-06-04 11:52:12 +02:00
Henrik Rydgård 32ae86f708 Split TextDrawer into interface and implementation. 2017-06-04 11:52:11 +02:00
Henrik Rydgård 2391c0edd5 Fix reported null pointer error in the Java code 2017-06-04 11:51:24 +02:00
Unknown W. Brackets 60bf4ff99b GE Debugger: Start a module/thread for dump runs.
Otherwise some things might get confused.
2017-06-03 15:29:12 -07:00
Unknown W. Brackets 4f07ec0df5 GE Debugger: Oops, emit transfer/clut cmds. 2017-06-03 15:29:11 -07:00
Unknown W. Brackets 36069d1446 GE Debugger: Simple framework to load dumps.
This tries to execute them within the context of the emulator as much as
possible, so we don't have weird bugs.  Going with a file type so we can
easily load the dump by opening the file directly.
2017-06-03 15:29:11 -07:00
Unknown W. Brackets 37a894a558 GE Debugger: Record memcpy/memset too. 2017-06-03 15:29:10 -07:00
Unknown W. Brackets b2bd966adf GE Debugger: Implement basic recording.
A bit slow since it searches really hard for dups, but otherwise the file
is often very large.
2017-06-03 15:29:09 -07:00
Unknown W. Brackets cbbd3cac7e GE Debugger: Initial structure for GE data dumping.
This snapshots the GE commands and drawing to facilitate debugging.
2017-06-03 15:29:09 -07:00
Unknown W. Brackets 41b485aa0a Core: Refactor repeating disc id homebrew code. 2017-06-03 15:29:08 -07:00
Unknown W. Brackets dca75437c3 GPU: Refactor common frame dumping code. 2017-06-03 15:29:07 -07:00
Henrik Rydgård 0f5c59dc28 Merge pull request #9773 from unknownbrackets/ui-minor
Tweak some minor UI glitches
2017-06-03 19:37:34 +02:00
Unknown W. Brackets 9a14de5831 UI: Make some tooltips less technical. 2017-06-03 10:14:56 -07:00
Unknown W. Brackets 977f75ce1e UI: Fix text wrap when kerning adjusts spaces.
This was happening for some setting info messages.  The sum of the word
lengths didn't actually match the line length, because more space was
added between some words.
2017-06-03 10:14:55 -07:00
Unknown W. Brackets 4e49992e5c UI: Remove padding hack for setting info message. 2017-06-03 09:45:55 -07:00
Unknown W. Brackets 64c2194989 UI: Allow texture ini create only within game. 2017-06-03 09:45:55 -07:00
Unknown W. Brackets c4af8be5ef UI: Enable mouse settings only if checked.
Like other settings do.
2017-06-03 09:45:54 -07:00
Unknown W. Brackets cb1b8f23bb UI: Fix fade-out when editing touch controls. 2017-06-03 09:45:53 -07:00