Commit Graph
31779 Commits
Author SHA1 Message Date
Unknown W. Brackets 7cef06c191 softgpu: Track dirty vs really dirty per buffer.
When games draw and display with a frame lag, it becomes important that we
indicate really dirty for the correct buffer.  Since some triple buffer,
this attempts to track at the buffer level using 1024 byte granularity.
2022-02-12 15:27:18 -08:00
Henrik Rydgård 695efe3729 Merge pull request #15383 from fjtrujy/master
Generate Docker Layer for PPSSPPHeadless
2022-02-08 09:25:25 +01:00
Henrik Rydgård ca4d193ad1 Merge pull request #15384 from unknownbrackets/gedebugger-overhead
Reduce GE Debugger overhead a bit
2022-02-08 09:23:45 +01:00
Unknown W. Brackets f17f6465ac GE Debugger: Optimize slab lookup.
If the slab is the last one, we can grab it right away.
2022-02-07 23:55:10 -08:00
Unknown W. Brackets da4206b078 GE Debugger: Skip overhead without breakpoints.
In the common case that there's no breakpoints, we can skip most of the
checks and a call.
2022-02-07 23:54:18 -08:00
Francisco Javier Trujillo Mata 77fa87d9b7 Generate dockerfile in GHA 2022-02-07 23:34:02 +01:00
Henrik Rydgård 50350e13ac Merge pull request #15378 from unknownbrackets/gedebugger-skip
GE Debugger: Add filter to skip prim calls
2022-02-07 08:52:57 +01:00
Henrik Rydgård d542a8ce5f Merge pull request #15382 from unknownbrackets/vulkan-lost
Vulkan: Avoid crash on double DeviceLost
2022-02-07 08:52:50 +01:00
Henrik Rydgård dfb10382e4 Merge pull request #15379 from unknownbrackets/io-truncate
Android: Correct truncation behavior
2022-02-07 08:50:48 +01:00
Unknown W. Brackets 8418287a87 Vulkan: Avoid crash on double DeviceLost.
This caused Android to crash when switching to OpenGL, because the
destructor would try to deinit again.  There weren't any objects, but
draw_ was no longer valid.
2022-02-06 23:34:44 -08:00
Unknown W. Brackets 456a38b1c5 Android: Correct truncation behavior. 2022-02-06 22:05:56 -08:00
Unknown W. Brackets c66619f7c9 GE Debugger: Add filter to skip prim calls.
This allows you to cut prims from the scene as desired.
2022-02-06 21:25:33 -08:00
Henrik Rydgård 9eeea5a366 Merge pull request #15377 from unknownbrackets/memblock-detail
Debugger: Avoid mem write tag lookup on small alloc
2022-02-06 23:03:15 +01:00
Unknown W. Brackets 80e054b797 Debugger: Avoid write tag lookup on small alloc. 2022-02-06 09:28:48 -08:00
Unknown W. Brackets 2e2b222983 Debugger: Use detailed meminfo with breakpoints.
Usually there won't be any breakpoints, so it makes sense to enable detail
when they're added automatically.
2022-02-06 09:23:53 -08:00
Henrik Rydgård 51c21ce7c4 Merge pull request #15373 from CelesteBlue-dev/patch-1
Delete pauth_tool, useless since pauth keys known
2022-02-06 17:15:06 +01:00
Henrik Rydgård 1d4e90dc23 Merge pull request #15376 from unknownbrackets/debugger-playback
Improve GE debugger playback, changes, and breakpoint display
2022-02-06 17:13:59 +01:00
Henrik Rydgård 1826a4f423 Merge pull request #15375 from unknownbrackets/samplerjit-dxt
Precalculate offsets for linear DXT in software renderer
2022-02-06 17:13:19 +01:00
Unknown W. Brackets 459bb83c23 GE Debugger: Allow modify/breakpoint on matrix. 2022-02-06 00:16:35 -08:00
Unknown W. Brackets 72b2fbf635 GE Debugger: Cleanup right click on state.
Oops, was toggling breakpoint on "Change..." if you right clicked the
icon.
2022-02-05 19:27:28 -08:00
Unknown W. Brackets 9f434fa14d GE Debugger: Allow setting secondary values.
This makes it convenient to update the bufw of textures or similar.
2022-02-05 19:27:28 -08:00
Unknown W. Brackets 1bb1f34af0 GE Debugger: Add breakpoint icon in state. 2022-02-05 19:27:28 -08:00
Unknown W. Brackets 4de217d3e4 GE Debugger: Cleanup vertex list redraw.
When you're scrolled down and it deletes items, it was previously
scrolling up an extra step, and not redrawing.  This tries to force
workaround the bug.
2022-02-05 19:27:28 -08:00
Unknown W. Brackets 4a8d320479 GE Debugger: Flush downcount when changing lists.
In case you step ahead or similar.
2022-02-05 19:27:25 -08:00
Unknown W. Brackets 1d37f24e17 GE Debugger: Reduce playback command noise.
No need to reassert these values each prim.
2022-02-05 19:27:20 -08:00
Unknown W. Brackets 99d7703d33 samplerjit: Precalculate DXT1/3/5 offsets.
This improves WALL-E by 8% overall.
2022-02-05 13:04:17 -08:00
CelesteBlue-dev d28307847d Delete pauth_tool, useless since pauth keys known
pauth_tool was added because of #4074
pauth_tool can be removed because of #12559
2022-02-05 00:23:03 +01:00
Unknown W. Brackets c91b51c8e1 samplerjit: Reduce DXT5 decode code size a bit. 2022-02-03 20:42:34 -08:00
Henrik Rydgård f58d4dfcfe Merge pull request #15372 from unknownbrackets/bmi2
Optimize jits with a bit of BMI2
2022-02-01 09:43:35 +01:00
Unknown W. Brackets c2dd59084d samplerjit: Optimize DXT calc using BMI2. 2022-02-01 00:18:56 -08:00
Henrik Rydgård c3ecd41e2c Merge pull request #15371 from unknownbrackets/flushbefore
softgpu: Avoid flush on END
2022-02-01 08:03:03 +01:00
Unknown W. Brackets 3e4afe2a0c samplerjit: Avoid RCX gymanstics with BMI2. 2022-01-31 22:33:09 -08:00
Unknown W. Brackets 4cadcea6da samplerjit: Decode colors with BMI2.
This only happens with nearest, though, so very small benefit.
2022-01-31 22:05:34 -08:00
Unknown W. Brackets 367525f875 softjit: Use PEXT to downsample colors.
This gives between 1-2% in many games.
2022-01-31 21:40:54 -08:00
Unknown W. Brackets 10bf375712 softjit: Use BMI2 to speed up dst color loads.
This is about 1% overall gain in some games.
2022-01-31 21:27:51 -08:00
Unknown W. Brackets ad43380ef6 softjit: Use BMI to simplify some masking. 2022-01-31 19:50:48 -08:00
Unknown W. Brackets 16dca4f69b x86jit: Use BMI2 for variable shifts.
We don't actually regalloc ECX, but this still saves a copy, and on modern
CPUs these seem to be pretty fast.
2022-01-31 19:38:17 -08:00
Unknown W. Brackets bd06569609 Merge pull request #15370 from hrydgard/remove-flushbefore
GPUCommon: Remove misleading flag FLUSHBEFORE.
2022-01-31 19:35:25 -08:00
Unknown W. Brackets be8c74cabe softgpu: Avoid flush on END.
We only, but always, flush when exiting list interp in FinishDeferred.
It's not necessary at END, and hurts for simple signals that don't stop
list processing.
2022-01-31 19:32:46 -08:00
Henrik Rydgård 2a82d392e3 Remove double flush in GE_CMD_END 2022-02-01 00:05:32 +01:00
Henrik Rydgård 6d31562ea7 GPUCommon: Remove misleading flag FLUSHBEFORE.
Fixes the new problem in #13967

Though of course doesn't fix the vertical lines.
2022-01-31 23:57:56 +01:00
Henrik Rydgård 748eef05d0 Merge pull request #15369 from unknownbrackets/include-cleanup
Global: Reduce includes of common headers
2022-01-31 15:23:21 +01:00
Unknown W. Brackets edcc1a7104 HLE: Fix some type convert warnings.
Almost missed these.
2022-01-30 22:06:54 -08:00
Unknown W. Brackets 2479d52202 Global: Reduce includes of common headers.
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Unknown W. Brackets 3df6cb704f Global: Fix some type conversion warnings.
Hidden by some warning disables.
2022-01-30 16:09:33 -08:00
Unknown W. Brackets 5e185f3d87 Common: Remove some unused files. 2022-01-30 15:11:57 -08:00
Henrik Rydgård cd7cea90a9 Merge pull request #15368 from unknownbrackets/display-stats
Refactor display stats, prevent flush while stepping
2022-01-31 00:08:44 +01:00
Unknown W. Brackets f24e255268 Core: Skip stats reset while stepping.
This way, you can use it to actually see the stats.
2022-01-30 11:53:48 -08:00
Unknown W. Brackets 129a603832 Display: Account for stepping time in graphs.
Frame times should count that as sleep too.
2022-01-30 11:53:48 -08:00
Unknown W. Brackets 48b597a1b9 Display: Move core counters/stats to HW file.
This separates things better, so not everything is pulling in HLE.
2022-01-30 11:53:48 -08:00