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
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
Henrik Rydgård
6147448719
Draw overlays at the proper time in the frame.
2017-05-30 09:36:17 +02:00
Henrik Rydgård
2f5ea23a8a
Prevent a deadlock between View::eventMutex_ and ScreenManager::inputMutex_ by locking here so the reverse lock order can't happen.
2017-05-18 14:37:42 +02:00
Henrik Rydgård
79c0d895ce
Found a suspicious hang report that makes me think this mutex should be recursive.
2017-05-18 13:29:18 +02:00
Unknown W. Brackets
9c15efaa85
UI: Consider only the lower screen's postRender.
...
This makes more sense at least than applying one of each...
2017-03-19 15:42:13 -07:00
Unknown W. Brackets
a36ecb7065
UI: Track translate/scale/fade transform by screen.
...
This translates drawing, scissor, and touch to the transform.
2017-03-19 15:42:13 -07:00
Unknown W. Brackets
9e390510df
Remove legacy InputState.
2017-03-14 22:07:07 -07:00
Henrik Rydgård
529d84a57b
Avoid a crash if trying to do two screen switches at once.
...
Managed to make this happen while using the UWP File Open dialog - it
lagged and I started another action while it hadn't returned.
2017-03-07 15:33:23 +01:00
Henrik Rydgard
26a2d42731
Big mutex overhaul - remove our custom ones, make them non-recursive where possible
2017-02-28 11:40:29 +01:00
Unknown W. Brackets
a52fbfcff7
UI: Lock input while mutating views/screens.
...
This way we can't get an axis event while switching screens and crash.
2016-09-11 11:26:35 -07:00
Unknown W. Brackets
92d930887f
Android: Add both a lost and restore phase.
...
Lost = delete, restore = create. Let's stick to never overlapping.
May help #8912 .
2016-09-10 21:58:42 -07:00
Henrik Rydgard
5d6d4a08f4
Change approach somewhat to avoid adding drawing code in the screen manager.
2015-11-18 14:18:35 +01:00
Henrik Rydgard
758ec5a027
Avoid clearing the backbuffer before actually doing any rendering to fbo on every frame - instead, clear when stretching the framebuffer into place. May save quite a bit of bandwidth on tiler GPUs with naive GL drivers.
2015-11-18 12:13:35 +01:00
Henrik Rydgård
7979b6378e
Remove old UI framework
2015-09-19 10:58:50 +02:00
Unknown W. Brackets
dbfc5385c3
Fix line-endings in ui/screen.
2015-09-06 12:29:23 -07:00
Unknown W. Brackets
f279c2a3c2
Merge remote repo native into ext/native/.
2015-09-06 12:24:17 -07:00