Commit Graph
72 Commits
Author SHA1 Message Date
Henrik Rydgård 3a640ff8aa Address comments, make things closer to the Win32 code. Things work better. 2017-06-06 11:30:20 +02:00
Henrik Rydgård 0d3d642371 It works! 2017-06-05 23:09:12 +02:00
Henrik Rydgård d9c43642c2 Fix assorted JNI issues, the calls work now. 2017-06-05 23:09:10 +02:00
Henrik Rydgård 871260fcc4 Start sketching native text rendering for Android 2017-06-05 23:09:04 +02:00
Henrik Rydgård 01635a5cd6 Android: Just like on Windows, prompt to restart when changing graphics backend. 2017-05-31 11:12:11 +02:00
Henrik Rydgård d21a1f8813 Android: Fallback to OpenGL if Vulkan fails to init. 2017-05-30 10:31:41 +02:00
Henrik Rydgård be77ffd4e8 Show the Android "board name" in system information. 2017-05-26 12:29:27 +02:00
Unknown W. Brackets 984060a85f Merge pull request #9677 from hrydgard/joystick-sensitivity
Quick hack to enable analog stick sensitivity on non-windows platforms.
2017-05-20 13:41:27 -04:00
Henrik Rydgård 4491c7e2ca Quick hack to enable analog stick sensitivity on non-windows platforms.
See #8028
2017-05-18 15:15:10 +02:00
Henrik Rydgård df6ce90c84 When what we need is a shared_ptr, we should just go ahead and use one.
One of the top crashes reported in the Play Console is a ManagedTexture crash, so seeing if this might help.
2017-05-18 13:28:56 +02:00
Unknown W. Brackets 3b4103cb3b System: Use a separate API for bool props.
This simplifies defaulting, instead of -1 being "true".
2017-04-29 17:35:12 -07:00
Unknown W. Brackets 9ea7281b3c Core: Cleanup MAC address handling.
No need to make it leak, even if it doesn't matter much on shutdown.
Better to have the leak listing empty.
2017-04-29 12:48:06 -07:00
Henrik Rydgard cf365bb257 Minor cleanup with GOLD define - only use it in System_GetPropertyInt 2017-04-05 16:21:08 +02:00
Henrik Rydgård 22782b6439 UWP: Fix DPI calculations for touch. Implement back button support. 2017-03-23 10:02:29 +01:00
Henrik Rydgard 908193e894 Rework Android lost/restore lifecycle again. Can autorotate screen without crashing again. Should help #9295 and maybe #8906. 2017-03-18 15:21:26 +01:00
Henrik Rydgård e17772b58d Merge pull request #9430 from unknownbrackets/input-state
Remove legacy InputState tracking
2017-03-15 10:16:14 +01:00
Unknown W. Brackets 9e390510df Remove legacy InputState. 2017-03-14 22:07:07 -07:00
Unknown W. Brackets 255c726c1e Remove legacy pointer tracking outside Windows. 2017-03-14 22:07:05 -07:00
Unknown W. Brackets df67497388 Remove legacy accelerometer state. 2017-03-14 22:07:03 -07:00
Henrik Rydgård 7e007c3973 Merge pull request #9426 from unknownbrackets/input-state
Remove various legacy parts of the InputState
2017-03-14 09:34:57 +01:00
Unknown W. Brackets 94700f287d Remove pad_lstick/rstick/ltrigger/rtrigger. 2017-03-13 23:01:50 -07:00
Unknown W. Brackets 2812ddcc86 Remove End/UpdateInputState and ButtonTracker.
No longer used for anything.
2017-03-13 22:58:38 -07:00
Unknown W. Brackets ef57eafaad Correct GE debugger font size in small window mode.
This should handle high and low DPI cases correctly, to avoid making the
text unreadably small.
2017-03-12 12:17:35 -07:00
Henrik Rydgård a1941d8a81 It's enough to call net::Init/Shutdown in NativeInit/Shutdown. Remove other calls. 2017-03-06 10:51:28 +01:00
Henrik Rydgard 4736330c55 Don't double-lock a regular mutex, bad things happen. Fixes #9376 2017-03-02 22:00:55 +01:00
Henrik Rydgard d68953c18c Buildfixes 2017-03-02 13:29:51 +01:00
Henrik Rydgard d46397627e Buildfixes 2017-02-28 11:40:29 +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
Henrik Rydgard 55aa879216 A lot of buildfixes 2017-02-06 16:16:43 +01:00
Henrik Rydgard ad29974a56 Change when drawcontexts are allocated. Hook up backbuffer events to fix d3d9 resizing. 2017-02-06 11:40:16 +01:00
Henrik Rydgard 1443acee03 Buildfix 2017-01-30 15:31:50 +01:00
Henrik Rydgård 69012fc5e0 Update Android target to 25 2017-01-26 08:26:07 +01:00
Henrik Rydgård 5af8b152e1 Further buildfixes 2016-12-27 11:59:12 +01:00
Unknown W. Brackets 5641d18eb9 Correctly call Restore in C++ EGL path.
This will be needed for Vulkan.
2016-10-08 12:35:01 -07:00
Unknown W. Brackets 86b3d4e6d9 Vulkan: Tweak init error logging on Android. 2016-10-01 11:36:50 -07:00
Henrik Rydgard 18a5d23eab Typo fix 2016-09-25 01:45:48 +02: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 03279e1212 Port over the Exynos cacheline size fix from Dolphin. Thanks to lewurm of the mono project for the discovery and original fix.
See https://github.com/dolphin-emu/dolphin/pull/4204 and https://github.com/mono/mono/pull/3549
2016-09-10 09:25:06 +02:00
Unknown W. Brackets 76cd5bf876 Android: Use the game title as the shortcut title.
This way when you have more than one, it's not just "PPSSPP" on each of
them.
2016-07-23 14:12:14 -07:00
Unknown W. Brackets 4d4e334fc4 Vulkan: Allow C++ to determine use of JavaGL.
Based on config - this way we can enable Vulkan more easily even before we
determine why some devices don't like C++ EGL for GLES.
2016-07-01 14:05:15 -07:00
Unknown W. Brackets 02db45982a Pass Build.BOARD from Java, avoid lookup.
Fixes arm64 build with r10, but is ugly coupling.
2016-05-27 20:11:25 -07:00
Unknown W. Brackets aec117d8ea Vulkan: Allow resizing window/backbuffer.
Not tested much on Android.  Fixes #8656.
2016-03-21 19:45:27 -07:00
Unknown W. Brackets 2461a849f9 Correct some warnings reported by clang. 2016-03-20 23:13:28 -07:00
Unknown W. Brackets d90527e41e Correct some missing overrides. 2016-03-20 23:05:05 -07:00
Unknown W. Brackets 82205a4660 Handle Vulkan init errors more gracefully. 2016-03-20 19:31:02 +01:00
Unknown W. Brackets c92790c5a8 Specify a useful app version when loading Vulkan. 2016-03-20 19:31:02 +01:00
Henrik Rydgård 9c457da4c9 Gets the Vulkan backend running, but not drawing correctly, on Android.
Not sure what's wrong, I get a yellow flashing screen.
2016-03-20 19:30:39 +01:00
Henrik Rydgard d325aa2b30 Hook up Vulkan on Android, no idea if it works. Move VulkanContext to Common. 2016-03-20 19:30:11 +01:00
Henrik Rydgard 4c0e6d0138 Some renaming, fixes and tweaks to the gl_lost mechanism, which is again needed 2016-03-17 21:30:16 +01:00
Henrik Rydgard 5ad772a8bf Further fixes to Java EGL support 2016-03-17 19:42:59 +01:00