Commit Graph
24528 Commits
Author SHA1 Message Date
Henrik Rydgård fb70dad6da Merge pull request #11192 from unknownbrackets/stencil
Correct stencil upload bugs
2018-06-18 10:55:03 +02:00
Unknown W. Brackets bd13f6b906 Vulkan: Workaround stencil upload bug on Adreno.
We write a static depth value, which will be ignored, to force the driver
to support discard.
2018-06-17 17:50:38 -07:00
Unknown W. Brackets 9f4cd3fcdb GLES: Add missing semantics for stencil upload.
Makes #10634 work for GLES properly.
2018-06-17 17:50:38 -07:00
Unknown W. Brackets f6036195d8 GLES: Cleanup stencil upload w/h handling.
In case a buffer has been resized recently, we want to upload just the
detected drawable area, probably.  Before this was inconsistent depending
on the render resolution.
2018-06-17 17:50:38 -07:00
Henrik Rydgård da5f0f7f2b Merge pull request #11186 from unknownbrackets/debugger
Debugger: Add APIs to retrieve render image
2018-06-17 21:53:38 +02:00
Henrik Rydgård 03c89e7689 Merge pull request #11188 from unknownbrackets/sdl-egl
Apply some heuristics to choosing an EGL config
2018-06-17 21:52:14 +02:00
Henrik Rydgård d271a540f4 Merge pull request #11190 from unknownbrackets/armips
Update armips and reduce warning noise
2018-06-17 21:48:37 +02:00
Unknown W. Brackets ae7f5d7824 native: Avoid an absolute value error.
Presumably this was the goal.  Not tested.
2018-06-17 11:42:45 -07:00
Unknown W. Brackets b281da9fa7 Jpeg: Avoid signed shift warnings.
This seems easier to read anyway...
2018-06-17 11:38:31 -07:00
Unknown W. Brackets 80312582d1 GPU: Avoid a switch case warning. 2018-06-17 11:32:17 -07:00
Unknown W. Brackets e4127890ec Vulkan: Fix some missing switch warnings.
Might as well prefer a virtual GPU over a CPU maybe...
2018-06-17 11:30:22 -07:00
Unknown W. Brackets d1fa9b97a3 GPU: Remove some unused fields. 2018-06-17 11:26:09 -07:00
Unknown W. Brackets 82dc4c0b72 Debugger: Fix some format warnings in udis86. 2018-06-17 11:19:32 -07:00
Unknown W. Brackets 6592c6222a http: Check fread() result to avoid warning.
This will cause the length not to match the result if it happens, but the
client should interpret that as a server error.

Also a similar error in headless.
2018-06-17 11:02:26 -07:00
Unknown W. Brackets 4a92db4cd6 Debugger: Update to latest armips.
Reduces warning noise now that it's included in the build.
2018-06-17 10:50:11 -07:00
Unknown W. Brackets 1b41759051 SDL: Avoid alpha on Mali/ARM devices using GLES.
See #10534.
2018-06-16 16:19:17 -07:00
hissingshark 84273ff5eb SDL: Buildfixes for EGL lookup. 2018-06-16 16:12:43 -07:00
Unknown W. Brackets 3b8a847654 SDL: Allow more EGL configs.
This attempts to choose the "best" config using weights.
2018-06-16 16:12:43 -07:00
Unknown W. Brackets 35ccd16746 GLES: Restore stencil/depth readback for debugger.
Only works on desktop GL.
2018-06-16 16:04:25 -07:00
Unknown W. Brackets ca6645cb85 Merge pull request #11184 from hissingshark/gamepad-cfg
Added Gioteck VX2 detection
2018-06-16 18:43:33 -04:00
Unknown W. Brackets f0694ba115 Debugger: Add some docs for new APIs. 2018-06-16 15:42:42 -07:00
Unknown W. Brackets e6917cccf6 Debugger: Add APIs to retrieve render image. 2018-06-16 15:33:02 -07:00
hissingshark b5bfef2d03 Added Gioteck VX2 detection 2018-06-16 22:27:00 +01:00
Unknown W. Brackets a0608d7fc5 Debugger: Allow GPU actions while stepping.
This allows pulling the display/target while paused.  It may also allow
other actions that work outside a display list.
2018-06-16 13:57:45 -07:00
Unknown W. Brackets 469d8a6a41 GPU: Screenshot output in BGRA if that's native.
This is a decent chunk faster.
2018-06-16 13:48:50 -07:00
Unknown W. Brackets c97023568c thin3d: Fix requesting BGRA buffers.
Should be fine to request BGRA->BGRA.

Also, the reverse flags were wrong/ignored on the format.
2018-06-16 13:31:08 -07:00
Unknown W. Brackets b7ac9a6f37 http: Discard output buffer on disconnect.
Prevents an assert.
2018-06-16 13:29:44 -07:00
Henrik Rydgård c7baed26db Merge pull request #11124 from unknownbrackets/temp-warning
Show warning when PPSSPP is saving to a temp directory
2018-06-16 17:46:42 +02:00
Henrik Rydgård a9eb786811 Merge pull request #11181 from unknownbrackets/savestate
SaveState: Show warning on old / long use state
2018-06-16 17:45:58 +02:00
Unknown W. Brackets 76ff2adda9 SaveState: Show only after 4 hours.
This is 4 hours of the virtual PSP running the game continuously, perhaps
from multiple PPSSPP play sessions using save states.
2018-06-16 08:06:35 -07:00
Henrik Rydgård 53f0f136ac Merge pull request #11182 from unknownbrackets/postshader
GLES: Use accurate GLSL ver in postshader convert
2018-06-15 07:22:55 +02:00
Unknown W. Brackets 0d2de36258 GLES: Use accurate GLSL ver in postshader convert. 2018-06-14 20:31:58 -07:00
Unknown W. Brackets 16b11138b4 SaveState: Use latest version if initial missing.
This may be useful for debugging or if we decide on a buffer between
versions.
2018-06-14 18:29:55 -07:00
Unknown W. Brackets 006ef96b19 SaveState: Add a setting to ignore warnings.
In case you like to collect old and obscure bugs - everyone's got a hobby.
2018-06-14 18:29:55 -07:00
Unknown W. Brackets a5efb85ab7 SaveState: Show warning on old / long use state.
Using save states instead of in game saves causes bugs in games, and
preserves bugs from bad settings and old PPSSPP versions.

This tells users when they might be affected.
2018-06-14 18:29:55 -07:00
Henrik Rydgård e03aeba75e Merge pull request #11171 from unknownbrackets/debugger
Fix some issues with GE dumps
2018-06-14 10:07:21 +02:00
Henrik Rydgård 0fd4ea8826 Merge pull request #11176 from jbeich/ffmpeg
Work around video corruption with system FFmpeg >= 3.1
2018-06-13 14:52:20 +02:00
Jan Beich 7a7c655615 MediaEngine: adjust for AVStream.codec deprecation 2018-06-13 11:52:18 +00:00
Unknown W. Brackets 582bc2d60a GE Debugger: Stall less liberally on GE dump exec.
This makes it easier to compare performance and flushing bugs.
2018-06-11 15:14:18 -07:00
Unknown W. Brackets f7443aaa15 GE Debugger: Use a class for dump execution. 2018-06-11 15:06:40 -07:00
Unknown W. Brackets ccef997a7a GE Debugger: Fix asserts when reading debug tex.
This is unfortunate, but right now BuildTexture() applies the sampling
settings which happen within a render pass.  So we must have a render
pass.
2018-06-11 14:56:25 -07:00
Unknown W. Brackets 0ed2c03350 GE Debugger: Prevent hang on shutdown.
Since we're blocking the Emu thread, we can't use a hook from the Emu
thread to wake up.

The change to lifecycle callbacks caused this.
2018-06-11 14:54:42 -07:00
Henrik Rydgård 5c5fa8dabc Merge pull request #11163 from unknownbrackets/qt-screen
Fix some SDL and Qt screen size weirdness
2018-06-10 20:54:36 +02:00
Henrik Rydgård e98ea812f6 Merge pull request #10973 from weihuoya/cullmode
handle cull mode by indices, refer to issue #10172
2018-06-10 20:53:18 +02:00
Henrik Rydgård 6c494c3849 Merge pull request #11164 from unknownbrackets/debugger
Fix a few warnings seen using debugger in debug mode
2018-06-10 08:53:12 +02:00
Unknown W. Brackets 1cfb21931d Vulkan: Properly transition stencil/depth for read.
Need to transition the entire texture, so both aspects must be set.
2018-06-09 18:27:29 -07:00
Unknown W. Brackets cd85dec01b Debugger: Prevent infinite loop on dead socket.
If send() fails, abort instead of retrying forever.
2018-06-09 18:26:41 -07:00
Unknown W. Brackets 4232ef59b4 Debugger: Fix bounds warnings in debug mode.
Technically these were accessing outside the container.
2018-06-09 18:26:09 -07:00
Unknown W. Brackets 9be20323ef SDL: Start with window hidden.
This fixes start in fullscreen on Mac.  Otherwise, it animates to
fullscreen and back for every GL init attempt.
2018-06-09 16:57:00 -07:00
Unknown W. Brackets 34cef82ea3 SDL: Use UpdateScreenScale(). 2018-06-09 16:50:31 -07:00