Commit Graph

2333 Commits

Author SHA1 Message Date
Unknown W. Brackets
d03d2f0b2b UI: Check existance outside of game info lock.
Improves behavior when remote files timeout, at least they won't
block FlushBGs().
2017-12-29 08:56:27 -08:00
Unknown W. Brackets
d00dcb4400 UI: Use atomic flags in game info cache.
Simpler, no need to lock the entire info when checking these.
2017-12-29 08:55:49 -08:00
Henrik Rydgård
8ebbb82c0a
Merge pull request #10459 from unknownbrackets/ui-resized
UI: Trigger view recreate on static sized screens
2017-12-27 11:07:35 +01: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
d6da758ed3 GPU: Remove duplicate BACKEND constants. 2017-12-26 15:55:24 -08:00
Henrik Rydgård
ffa48cb4fc
Merge pull request #10447 from unknownbrackets/update-vram
Remove "read framebuffers to memory" FBO auto-download
2017-12-25 22:37:48 +01:00
Unknown W. Brackets
ebce6da223 UI: Remove auto-download options.
See previous commit removing actual functionality.
2017-12-25 11:20:26 -08:00
Unknown W. Brackets
f5b2a6601e UI: Fix graphics API display on start.
Since it's a std::string return, it's a temporary, so returning it as a
pointer may drop the value.
2017-12-24 18:04:18 -08:00
Henrik Rydgård
c3ac0659bd
Merge pull request #10430 from unknownbrackets/hwtess
Add another restriction for GL HW tessellation
2017-12-22 08:11:38 +01:00
Unknown W. Brackets
510f9652a0 GLES: Improve HW tess requirements validation.
We also need texelFetch of some kind, seen in reporting.
2017-12-21 18:44: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
7f758d52dc Statically link a vulkan loader on Linux. Use to to init vulkan on X11. Unfortunately, it's broken. 2017-12-21 11:02:11 +01:00
Henrik Rydgård
ea387b2a48 WIP vulkan on linux stuff 2017-12-21 10:48:00 +01:00
Henrik Rydgård
4f1e0de9a9 Add missing includes. Remove some more unnecessary #ifdef _DEBUG checks - the debugger is supposed to work in release mode too. 2017-12-20 11:24:05 +01:00
Henrik Rydgård
525cce095a Implement warning when trying to play Ghost of Sparta with a modified CPU clock, as suggested by unknownbrackets in #7411 2017-12-17 13:14:06 +01:00
Henrik Rydgård
dc6a4ea753 Fix annoying name clashes (Status is in X11 headers..) 2017-12-15 16:34:29 +01:00
Henrik Rydgård
e488227398 Just some log cleanup 2017-12-15 16:33:49 +01:00
Henrik Rydgård
6fb2d1fa67
Merge pull request #10404 from unknownbrackets/ui-tween
UI: Improve initial permission grant
2017-12-13 09:55:33 +01:00
Unknown W. Brackets
21e02e1635 UI: Properly center storage perm prompt.
IMHO it was always a hack to add it to the tabgroup directly.
2017-12-12 21:38:45 -08:00
Unknown W. Brackets
c78031b4b5 UI: Use less space with recent + need storage.
In case the recents are interesting, let's push it down.  It covered more
space than needed before.
2017-12-12 21:35:18 -08:00
Unknown W. Brackets
09bbd58b62 UI: Allow skipping transitions on set current tab. 2017-12-12 21:34:17 -08: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
LunaMoo
a931f1c133 Improve very small display on very large surface,
And change some variables to constants.
2017-12-11 20:54:20 +01:00
LunaMoo
18d0d45e7f Limit smallest zoom to match it's slider and well. 2017-12-11 16:39:01 +01:00
LunaMoo
89be17491b Respect sticky edge by center option and make it stick from smaller range 2017-12-11 16:13:52 +01:00
LunaMoo
b0b3807842 Stick display to edges of the screen/window size 2017-12-11 16:13:52 +01:00
LunaMoo
2597ca90f4 Improve display layout editor for zooming into corners, also limit the scale to 10 to match slider. 2017-12-11 16:13:51 +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
Henrik Rydgård
da3a7fbc5f
Merge pull request #10385 from unknownbrackets/ui-tween
UI: Add a soft fade when selecting choices / etc.
2017-12-10 23:11:37 +01:00
Unknown W. Brackets
753001bb91 UI: Translate API on start screen.
Some languages translate the "Direct" in Direct3D, for example.
2017-12-10 10:58:26 -08:00
Unknown W. Brackets
c76f2ba310 UI: Allow translating system info.
Fixes #10357.
2017-12-10 10:57:57 -08:00
Unknown W. Brackets
80a0a89054 Store: Maintain icon aspect ratio. 2017-12-10 09:30:31 -08:00
Unknown W. Brackets
a7eb6bcffa Store: Highlight active item, reselect on resize. 2017-12-10 09:29:06 -08:00
Unknown W. Brackets
ee3ac5b0aa Store: Wrap item descriptions on small screens. 2017-12-10 09:00:54 -08:00
Unknown W. Brackets
46ea88e096 UI: Add delay to tweens.
Also allow them to start out in an invalid state and accept first divert.
2017-12-10 09:00:52 -08:00
Unknown W. Brackets
cd2dfd5c9a UI: Show a few more flags in build config. 2017-12-10 09:00:51 -08:00
Unknown W. Brackets
7789a5e294 UI: Show extensions at full width.
Fixes scrolling behavior with gamepad - sometimes items would be skipped.
2017-12-10 09:00:50 -08:00
Henrik Rydgård
27227f87fd Don't hold the lock when processing messages, only when taking them off the queue. Fixes #10383 2017-12-10 11:28:27 +01:00
Henrik Rydgård
36d61c3595
Merge pull request #10379 from unknownbrackets/http
Improve shutdown/restart performance with disc streaming
2017-12-10 10:12:49 +01:00
Unknown W. Brackets
472ee12391 UI: Add threadsafety to cache item file loaders. 2017-12-09 17:26:26 -08:00
Unknown W. Brackets
8b665ae696 Loaders: Depriorize disc streaming queue items.
We want the local items, if any, to load first.  This gives us icons, etc.
2017-12-09 17:07:42 -08:00
Unknown W. Brackets
2943bbdbfd UI: Cancel loaders on shutdown.
Improves backend switching / locking / etc. performance when the recent
list has games that aren't currently available.

Also, remove unnecessary duplicate gameinfo flush on EGL loop shutdown.
Already happens in NativeShutdownGraphics().
2017-12-09 16:48:38 -08:00
Unknown W. Brackets
c097910439 UI: Reset touch controls after config load.
This is potentially earlier than full init, better to move the controls as
soon as possible.
2017-12-09 14:11:39 -08:00
Henrik Rydgård
99b34c7b45 Use glslang to translate GLSL 1.x postshaders to GLSL 3.0 or later to appease strict GL Core drivers. Should fix #10362
Fixed small bugs, now tested and working on mac.

Add spirv-cross to cmake build
2017-12-08 10:25:42 +01:00
Henrik Rydgård
7d0fc9ce65 Rework GL lost-device to work more like Vulkan. Gets rid of gl_lost manager etc. 2017-12-07 15:05:59 +01:00
Henrik Rydgård
026d3d4a00 Recreate views after boot is done, to workaround #10360 . Not the best solution.. 2017-12-07 10:21:33 +01:00
Henrik Rydgård
2ebae034a4 Vulkan: Show samplers in "shader debug" 2017-12-07 09:28:18 +01:00
Henrik Rydgård
cf5ede493b
Merge pull request #10247 from unknownbrackets/ui-tween
UI: Show a loading message during shader preload
2017-12-06 14:24:21 +01:00
Henrik Rydgård
b47251dbd4 Even more cleanup of RIFFReader 2017-12-04 17:34:47 +01:00
Henrik Rydgård
1c0a0fefdb Remove write support from chunk_file, rename to RIFFReader 2017-12-04 17:27:47 +01:00