Commit Graph

896 Commits

Author SHA1 Message Date
Unknown W. Brackets
e21753bc93 Debugger: Add assembler to build. 2018-06-06 05:59:24 -07:00
Henrik Rydgård
b9388f50e1
Merge pull request #11133 from unknownbrackets/java-format
Android: Reformat Java files
2018-06-06 10:13:45 +02:00
Henrik Rydgård
9a610c8a01 Update to 1.6.3 2018-06-05 19:58:41 +02:00
Unknown W. Brackets
4846cfe6a5 Android: Reformat Java files.
Mostly indentation, just ran a formatter tool and did some cleanup.

No code changes.
2018-06-03 17:57:23 -07:00
Henrik Rydgård
00e5da2c35 Update to 1.6.2 2018-05-30 19:47:20 +02:00
Henrik Rydgård
88e358afc8 Update to 1.6.1 2018-05-28 18:47:10 +02:00
Henrik Rydgård
14d17419b1 Minor cleanup 2018-05-27 22:51:00 +02:00
Henrik Rydgård
343763cf5a More paranoia from Google Play 2018-05-27 22:16:36 +02:00
Henrik Rydgård
b730d187e8 Add some paranoid checks guided by stack traces from Google Play 2018-05-27 22:12:59 +02:00
Henrik Rydgård
09e85eb150 Update version to 1.6 in AndroidManifest.xml 2018-05-26 14:26:32 +02:00
Henrik Rydgård
d897d58727
Merge pull request #11071 from hrydgard/android-navbar-black
Android: In v21 and later, make the navigation bar black using styles.xml
2018-05-26 14:25:30 +02:00
Henrik Rydgård
7c921c5367 Android immersive mode: Fix display size stretch and touch screen inaccuracy when toggling immersive mode 2018-05-25 23:40:34 +02:00
Henrik Rydgård
0e0a3d2804 Android: In v21 and later, make the navigation bar black using styles.xml 2018-05-25 22:42:43 +02:00
Henrik Rydgård
ef67899fdc Let's try to update the sustainedperformancemode in yet another place... See #11018 2018-05-13 20:35:54 +02:00
Henrik Rydgård
701c2c0294 Call updateSustainedPerformanceMode from surfaceChanged as well. May help #11018 2018-05-09 22:03:45 +02:00
Henrik Rydgård
c1bdb69687
Merge pull request #11022 from hrydgard/screen-brightness-fix
Android: Only keep the screen bright ingame.
2018-05-09 06:06:27 +02:00
Henrik Rydgård
a8083b9684 Android: Only keep the screen bright ingame. 2018-05-08 23:05:37 +02:00
Henrik Rydgård
7d3efdc237 Call updateSustainedPerformanceMode on app focus changes. Should help #11018 2018-05-08 20:45:12 +02:00
Henrik Rydgård
ecee4c74b3 Update to the current gradle version, 4.4 2018-05-08 18:44:41 +02:00
Unknown W. Brackets
3f1544612b Android: Add missing graphics shutdown calls.
These were there for graphics restart (like resize) but not for full
shutdown, which was causing crashes during shutdown sometimes.

See #10931.
2018-04-21 08:33:53 -07:00
weihuoya
19ddeea8ee Android: Buildfix. 2018-04-19 21:25:09 -07:00
Henrik Rydgård
0381f3afb9 Conditionally revert "Remove the bad orientation hack. Seems the Nexus 5X bug is fixed."
Adds a check for SDK_INT to only use this hack on old Android versions.

Can't figure out another way to help #10916, I tried :(

This reverts commit d40ebbf8cb.
2018-04-18 20:50:05 +02:00
Unknown W. Brackets
379be140d6 Android: Avoid overload shadowing. 2018-04-14 11:25:15 -07:00
Unknown W. Brackets
6ba0a6cdfd Android: End GLES renderer after emu thread join.
This matches other backends, and prevents things from being added to the
deleter after GLES end.  Fixes #10849.
2018-04-08 19:28:15 -07:00
Unknown W. Brackets
89186d8113 Replay: Initial structure for replay functionality. 2018-04-07 15:36:28 -07:00
Henrik Rydgård
e3b1b9d6d1
Merge pull request #10792 from hrydgard/haptic-feedback-override
Android: Have haptic feedback ignore the global setting, but default to off.
2018-03-25 16:49:00 +02:00
Henrik Rydgård
d40ebbf8cb Remove the bad orientation hack. Seems the Nexus 5X bug is fixed.
I suppose other devices might also have the bug, but meh... platform bugs :(

Should help #10779
2018-03-25 15:14:15 +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
188ed07d77 Android: Have haptic feedback ignore the global setting, but default to off. 2018-03-25 13:42:57 +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
7761d2366b Android: Prevent a text bitmap size from becoming 0 on '\r\n'. Fixes #10764 (unless there are more platforms where it's broken...) 2018-03-23 10:48:54 +01:00
Florin9doi
8f38c7949c Landscape Auto for Android 2018-03-19 23:09:25 +02:00
Henrik Rydgård
78488a4ea6 Android: Restore auto screen orientation.
Fixes #10708

This reverts commit 53a351c29d.
2018-03-19 20:12:37 +01:00
Henrik Rydgård
08c3e13517 Do more detailed checks for Vulkan availability. Should hopefully solve #10729. 2018-03-17 11:36:16 +01:00
Henrik Rydgård
9f9903c02e Fixes to vulkan restart logic on Android. Should help #10696 2018-03-11 17:14:11 +01:00
Henrik Rydgård
f196a877e6 Android: Fix fallback from Vulkan to GL. 2018-03-03 00:00:18 +01:00
Henrik Rydgård
5f8118b82b Separate T3DCreate* into its own header to avoid including Windows.h etc in some cases. 2018-02-25 10:27:59 +01:00
Henrik Rydgård
926b3873df Fix issue with Vulkan task switching and resolution changes on Android. 2018-02-12 17:47:31 +01:00
Unknown W. Brackets
cdf378d20c GLES: Prevent race condition on shutdown.
emuThreadState might become STOPPED before the last frame has been run,
which can cause WaitUntilQueueIdle to hang.

It's simpler just to wait until StopThread() is called, since it now is.
This will line up properly with run_.
2018-02-11 11:40:11 -08:00
Unknown W. Brackets
48b4a5f378 Android: Fix race condition on shutdown. 2018-02-10 16:55:48 -08:00
Henrik Rydgård
ae19c48138 Cleanup the Windows thread stuff to work like the other platforms. Not quite perfect yet. 2018-02-07 16:00:29 +01:00
Henrik Rydgård
7f30037e45 Android: Fix emuthread management to exit cleanly without hanging. Helps with task switching on Android. 2018-02-07 13:11:43 +01:00
Henrik Rydgård
22e28e218b
Merge pull request #10411 from hrydgard/gl-render-manager
GL render manager - new faster GL multithreading
2018-01-31 12:22:07 +01:00
Henrik Rydgård
26b146a247 Buildfixes 2018-01-30 12:28:44 +01:00
Henrik Rydgård
c60c8ed68a Debug visualization for the Vulkan memory allocator. Shows some interesting behaviour. 2018-01-29 19:38:10 +01:00
Henrik Rydgård
19ab367591 Fix some accidental extra-indentation 2018-01-28 19:26:42 +01:00
Henrik Rydgård
bd3a681fd3 Enough JNI/threading hackery to get it to run on Android! Broken readbacks make it crash alot though. 2018-01-28 17:30:33 +01:00
Henrik Rydgård
7abb8702ce Work towards threaded GL on Android. Now TextDrawer barfs on wrong JNI context. 2018-01-28 17:29:27 +01:00
Henrik Rydgård
fdca06d208 More work on shutdown, still hanging though. 2018-01-27 15:10:17 +01:00
Henrik Rydgård
062608ad78 Start moving the framebuffer stuff over to the render manager 2018-01-27 15:10:17 +01:00