Henrik Rydgård
8835728f87
Replace base/logging.h in VulkanContext and parts of native
2020-08-15 19:08:44 +02:00
Unknown W. Brackets
03fc86a147
UI: Return to game settings after restart.
...
This is more convenient. Also restarts the game if needed.
Added a way to pass args to Android here as well, and fixed displaying an
error if the shortcut file doesn't exist on Android (like if you deleted
it after creating the shortcut.)
2020-05-09 13:53:42 -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
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
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
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 Rydgard
26a2d42731
Big mutex overhaul - remove our custom ones, make them non-recursive where possible
2017-02-28 11:40:29 +01:00
Henrik Rydgard
20d9e60a67
Just some renaming. Start moving away from the "thin3d" name
2017-01-30 14:38:31 +01:00
Henrik Rydgård
f86b9f7900
Guess what? More renaming
2016-12-27 11:59:06 +01:00
Henrik Rydgård
10393f5d4e
Move Thin3D into the Draw namespace.
2016-12-27 11:58:03 +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
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