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
f39897cfa5
Don't forget to initialize.. fixes #10802
2018-03-26 00:05:29 +02:00
Henrik Rydgård
4a3692161b
Show chosen postshader display name properly, plus some additional bugfixes. Fixes #10790
2018-03-25 14:42:48 +02:00
Henrik Rydgård
ee752f5399
Some error handling and assert improvements, trying to understand #10662
2018-03-01 12:21:58 +01:00
Henrik Rydgård
3b0d307792
Fix something found by -fsanitize=undefined
2018-03-01 08:24:47 +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
b9b41f52c5
Add a simple spinner to the game load screen to not look frozen.
2018-02-08 12:03:29 +01:00
Unknown W. Brackets
d4400b358a
UI: Actually offset text shadow.
...
It wasn't actually visible before, since it was strictly underneath text
that was usually white.
2018-01-01 22:58:07 -08:00
Henrik Rydgård
b5e5d72a0a
Complete the separation of depth and stencil renderpass flags
2017-12-30 22:52:22 +01:00
Unknown W. Brackets
b9cd883811
UI: Only default focus visible things.
...
Also, default focus perm button.
2017-12-29 17:55:40 -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
09bbd58b62
UI: Allow skipping transitions on set current tab.
2017-12-12 21:34:17 -08:00
Unknown W. Brackets
e7c9bb2a17
UI: Fix AnchorLayout size when wrapping content.
...
Without this, they don't actually report back their measured size when
they are set to wrap content, but just keep 0.
2017-12-12 00:19:38 -08:00
Unknown W. Brackets
d9282d4e76
UI: Pass UNSPECIFIED through on scroll views.
...
Otherwise we could end up with zero width things, just because they wrap
content.
2017-12-12 00:18:37 -08:00
Unknown W. Brackets
52ee2f7790
UI: Give ItemHeaders intrinsic size.
2017-12-12 00:16:05 -08:00
Unknown W. Brackets
48c0407f21
UI: Add flex pressure to tab content.
...
On vertical game settings, didn't end up with size at all. But even with
that fixed, they don't properly fill their parent.
2017-12-11 23:05:08 -08:00
Unknown W. Brackets
ed2ac95bbb
UI: Always clip tab contents.
...
So they don't overlap tabs or etc. on transition.
2017-12-10 14:57:58 -08:00
Unknown W. Brackets
21272a4c24
UI: Clip scissor to screen.
2017-12-10 14:57:57 -08:00
Unknown W. Brackets
f3c01cf19c
UI: Transition tab strips on select.
...
Following their orientation setting.
2017-12-10 14:57:56 -08:00
Unknown W. Brackets
753e59c027
UI: Allow negative left/right for anchor layouts.
2017-12-10 14:57:56 -08:00
Unknown W. Brackets
6783394ae1
UI: Add tween for translating anchor offsets.
2017-12-10 14:57:55 -08:00
Unknown W. Brackets
bdac150aab
UI: Reset transitions after too long a time.
2017-12-10 12:21:57 -08:00
Unknown W. Brackets
b00f6ac8c1
UI: Transition button and item focus/presses.
...
Just a quick touch of transition.
2017-12-10 09:00:53 -08:00
Unknown W. Brackets
6194ef60be
UI: Add an event for tween finish.
2017-12-10 09:00:53 -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
7b6e73b37a
UI: Always apply tweens after restore.
...
Fixes "Loading game..." persisting on load state, since that view was
created VISIBLE, and the tween wasn't making it INVISIBLE.
2017-12-09 18:18:23 -08:00
Unknown W. Brackets
cf6ccfca99
UI: Persist tween data on view recreate.
2017-12-09 14:10:42 -08: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
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
Unknown W. Brackets
715a7b7318
Global: Silence some unused declaration warnings.
...
These things aren't used on Android.
2017-12-03 19:22:03 -08:00
Unknown W. Brackets
c29ae5ff56
fixup! UI: Ensure tweens always complete.
2017-12-03 11:49:34 -08:00
Unknown W. Brackets
f23c7cf93b
UI: Apply tweens on Update().
2017-12-03 10:40:09 -08:00
Unknown W. Brackets
e32545b9c9
UI: Ensure tweens always complete.
2017-12-03 10:28:53 -08:00
Unknown W. Brackets
b4b850bce8
UI: Add a simple tween class.
2017-12-03 09:39:50 -08:00
Unknown W. Brackets
68a5861f60
UI: Send messages to dialog parents by default.
...
If it has no sendMessage(), it probably still makes sense to send to the
parent (especially cpu change, clear cache, etc.)
This fixes the ability to change CPU cores ingame, and also fixes other
settings which weren't properly clearing caches.
2017-12-02 11:55:04 -08:00
Henrik Rydgård
04515946e6
Comment, minor cleanup
2017-12-01 18:47:01 +01:00
Unknown W. Brackets
9a71ac726b
Module: Stop reporting bad magic numbers.
...
We get these a lot, and they seem to be related to corrupt isos, not
related to actual emulation issues we can do anything about.
Even if there's a game trying to load an SFO as a PRX out there somewhere,
we'll never find it among all the noise.
2017-11-30 15:17:02 -08:00
Henrik Rydgård
0d60c3f386
Fix UI crash when keyboard navigating out of popup list.
2017-11-30 01:21:03 +01:00
Henrik Rydgård
c04ead1023
When drawing text using our truetype backends, round coordinates to pixels. Fixes #10180
2017-11-23 15:07:59 +01:00
Henrik Rydgård
3ecd7b4c02
Get rid of collision-prone font cache keys. Stress the font cache a little less on slider dialogs.
2017-11-22 22:44:34 +01:00
Henrik Rydgård
7b1e1cd5e0
Automatically scroll textboxes when the caret ends up outside. Fixes #10026 .
...
There was some code for this before but it didn't work.
2017-10-24 23:05:21 +02:00
Henrik Rydgård
ec7e634215
Fix space stripping in a few more string input methods. Helps #9795
2017-08-08 16:42:05 +02:00
Henrik Rydgård
f4cf501cf6
Separate X and Y dpi_scale
2017-08-07 13:37:01 +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
32ae86f708
Split TextDrawer into interface and implementation.
2017-06-04 11:52:11 +02:00
Henrik Rydgård
6bcfe539f7
Use vulkan-style clear-on-bind when switching render targets. Not optimally used yet.
...
Also removes a bunch of redundant render target binds.
2017-05-30 09:36:17 +02:00
Henrik Rydgård
0f171acacb
Start refactoring things to be more vulkan-friendly
2017-05-30 09:36:17 +02:00
Henrik Rydgård
6147448719
Draw overlays at the proper time in the frame.
2017-05-30 09:36:17 +02:00
Henrik Rydgård
3b6fa9be87
Start work on separating frame from backbuffer renderpass
2017-05-30 09:36:17 +02:00
Henrik Rydgård
7d0cfbabe7
thin3d gles: Unbind buffers after drawing. Fixes #9715
2017-05-24 12:06:02 +02:00