Commit graph

393 commits

Author SHA1 Message Date
Henrik Rydgård
2c83574377 Finish up the test 2018-12-19 13:48:58 +01:00
Henrik Rydgård
c2319cd6d1 thin3d: Make the stencil ref value dynamic state (all APIs support this directly). 2018-12-19 13:48:58 +01:00
Henrik Rydgård
df98721e73 Write rough framework for GPU discard test screen 2018-12-19 13:48:54 +01:00
Henrik Rydgård
2d01db805e Remove no-op DrawBuffer::End() 2018-12-18 10:10:53 +01:00
Henrik Rydgård
fedc72eff5 Revert "Android: Fix Vulkan immersive startup."
This reverts commit 5a5483ca93.
2018-11-23 09:51:16 +01:00
Henrik Rydgard
5a224d7a2b Disable CheckFailedGPUBackends() in debug builds, for convenience 2018-10-08 13:34:41 +02:00
Henrik Rydgård
a0b019d473
Merge pull request #11455 from unknownbrackets/android-resize
Android: Fix Vulkan immersive startup
2018-10-08 07:52:47 +02:00
Unknown W. Brackets
5a5483ca93 Android: Fix Vulkan immersive startup.
Would commonly not actually start with immersive resolution due to race
conditions in setting the resolution and ui visibility.
2018-10-07 16:15:23 -07:00
Henrik Rydgård
83bf001a31 Disable Android HW scale on TV type devices. 2018-10-06 13:43:11 +02:00
Henrik Rydgård
f8ea364371 Cleanup: Split out the WASAPI code into its own file. 2018-09-30 20:29:39 -07:00
Unknown W. Brackets
120cf59237 Core: Reset working graphics backend on restart. 2018-09-06 18:31:09 -07:00
Unknown W. Brackets
fb8f408db0 Core: Don't consider graphics failed on shutdown.
On some devices, we'll lose context or get a resize mid-startup, so make
sure we don't detect that as a graphics crash.
2018-09-06 07:31:15 -07:00
Unknown W. Brackets
db93a08fc9 Core: Log more on graphics backend failures.
Just so we can tell for sure in logs what's happening.
2018-09-05 23:13:15 -07:00
Henrik Rydgård
562c5f6485
Merge pull request #11346 from unknownbrackets/startup-fail
Core: Track graphics startup failures and cycle
2018-09-04 21:14:15 +02:00
Unknown W. Brackets
d715ed8fba Core: More consistently use directory constants. 2018-09-02 10:27:11 -07:00
Unknown W. Brackets
d1c5668612 Android: Add .nomedia files to system and textures.
Due it on all platforms when saving textures to encourage including
.nomedia in texture packs.
2018-09-02 10:19:08 -07:00
Unknown W. Brackets
e246a946c3 Core: Add flag to prevent graphics cycling.
For debugging graphics crashes.
2018-09-01 19:59:13 -07:00
Unknown W. Brackets
f906fbed35 Core: Track graphics startup failures and cycle.
If the graphics driver segfaults, or some plugin segfaults, let's try a
different one next time.  This gives better hope of starting up next time.
2018-09-01 19:59:13 -07:00
Henrik Rydgård
785858dbf8 Basic Discord presence integration. 2018-08-13 00:20:09 +02:00
Unknown W. Brackets
b4496f1975 Core: Move config enums to separate file.
These are a bit strewn about and there are constants that aren't
consistently used, which just adds confusion.
2018-06-23 10:59:18 -07: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
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
Unknown W. Brackets
a448ef536b Qt: Toggle fullscreen like on all other platforms. 2018-06-09 16:36:41 -07:00
Unknown W. Brackets
9d96e6579c
Merge pull request #10909 from unknownbrackets/debugger
WebSocket based debugger interface
2018-06-09 15:37:06 -04:00
Unknown W. Brackets
cc1fa20afb Qt: Use Roboto Condensed like on other platforms.
May improve font fallback issues in #7581.
2018-06-09 11:36:00 -07:00
Unknown W. Brackets
a676721683 Qt: Remove bundled assets reader.
It was no longer being used or linked, so it just meant the assets were missing.
With this removed, the assets (lang inis, shaders, etc.) are available again.

Fixes #9831 - likely broken since #9061, which stopped using the qrc.
2018-06-09 10:47:53 -07:00
Unknown W. Brackets
f81fa27abe Debugger: Add config for remote debugger on start. 2018-06-08 06:59:16 -07:00
Unknown W. Brackets
3a8a2ff933 http: Move web server to core and use flags.
This way we can independently control the debugger and disc sharing, since
debugger could have security impact.
2018-06-07 16:28:01 -07:00
Henrik Rydgård
c1d113e0e9 When creating temp framebuffers for download, size them using bufferWidth/Height instead of width/height.
Or maybe we should make sure to only download within the width/height by
adding more clamps at the beginning of ReadFramebufferToMemory but seems
more dangerous.

Plus some minor things.

Should help #11113
2018-06-01 21:16:07 +02:00
Henrik Rydgård
d35de81a76 Check for a valid screen manager in NativeIsAtTopLevel 2018-05-26 17:50:37 +02:00
Henrik Rydgård
775a25e530 Another directory, plus no need to use c_str 2018-05-10 20:52:21 +02:00
Henrik Rydgård
3976b03bcd Create vital directories on Android storage permission grant. Should help #11020 2018-05-10 19:32:28 +02:00
Henrik Rydgård
3c066de158 Win32: Not really appropriate to call exit() on a bad filename. Fixes #11030 2018-05-10 00:59:21 +02:00
Unknown W. Brackets
074f52b819 Android: Properly reset home on config reload.
We reload the config once we know we have permission to read it, but that
means we have to run any cleanup logic on it again.
2018-04-29 11:45:32 -07:00
LunaMoo
e5e19554e6 Add "--pause-menu-exit" option. 2018-04-02 16:31:26 +02:00
Unknown W. Brackets
895de164ed Android: Fix initial start from shortcut.
Fixes #10855.  We have to wait for the permission request to complete.
2018-04-01 23:28:36 -07:00
Henrik Rydgård
8d0285dedd Android: Properly restore screenshots on the Pause screen on task switching away and back.
Basically plumbs through DeviceLost/DeviceRestored to view elements and
into ManagedTexture.
2018-03-27 23:11:10 +02:00
Henrik Rydgård
fb15208777 Android: Reload the config after getting storage permission, and ask immediately. Should help #10670 2018-03-24 12:52:51 +01:00
Henrik Rydgård
448e8fb49a Split out QtHost.h from HostTypes.h 2018-03-03 08:46:12 +01:00
Henrik Rydgård
18db8b0bd6 Fix custom UI backgrounds again by initializing lazily (turned out to be the cause of #10662) 2018-03-01 16:09:23 +01:00
Henrik Rydgård
14c93bdc2b Minor code/logging cleanups. 2018-02-27 19:44:11 +01:00
Henrik Rydgård
e1852321a0 Vulkan: Remove the old method of uploading images. 2018-02-25 12:15:29 +01:00
Henrik Rydgård
133bef575a Split Android graphics context implementations into their own files. 2018-01-20 21:47:16 +01:00
Kentucky Compass
20794081ea iOS: Nix iosCanUseJit and targetIsJailbroken. Move NativeInit call to main so it can take cmd line args. 2018-01-01 19:10:44 -08:00
Unknown W. Brackets
0039fa8c0a Logging: Use AndroidLogger for all mobile devices.
Noticed iOS wasn't logging, which seems non-ideal considering Android
does.  Might as well make them behave the same.
2018-01-01 08:37:26 -08:00
Unknown W. Brackets
c0f0bc88af UI: Trigger view recreate on static sized screens.
If a screen doesn't size via layout, it needs to recreate views on resize,
which is what the resized() method is for.
2017-12-27 01:13:47 -08:00
Unknown W. Brackets
79dc857527 Core: Refactor screenshot saving.
So we can reuse the actual saving.
2017-12-21 15:44:49 -08:00
Henrik Rydgård
e488227398 Just some log cleanup 2017-12-15 16:33:49 +01:00
LunaMoo
f06f9f7246 Update bounds in NativeResized as well to fix glitches on layout screens that use it. 2017-12-11 21:02:47 +01:00
Unknown W. Brackets
721f5877eb http: Allow sharing automatically on PPSSPP start.
Since that might always be something you want, on your desktop.
2017-12-10 18:30:28 -08:00