Commit Graph
450 Commits
Author SHA1 Message Date
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
Henrik Rydgard 2880e09dd2 Fix touch scaling with Java EGL 2016-03-17 18:59:43 +01:00
Henrik Rydgard 0d6c8df4ba Restore Java EGL support, while keeping the new stuff around as an option.
Did not restore the old DPI code, reusing the new instead.

To switch back to C++ EGL, change javaGL in NativeActivity.java.

Fixes issue #8638 and hopefully others like #8618.
2016-03-17 18:49:18 +01:00
Henrik Rydgard ec6559537b Android EGL: Experiment: Only apply the 16-bit workaround on really old devices. 2016-03-13 15:17:31 +01:00
Unknown W. Brackets 955b0fb9db UI: Minor header cleanup. 2016-03-06 14:49:14 -08:00
Henrik Rydgard da1a04be8d Make the workqueue slightly safer. Put g_gameInfoCache on the heap.
Cherry-picked from #8592
2016-02-28 12:39:47 +01:00
Henrik Rydgard 67282cafc4 Apply some minor changes from #8592 2016-02-15 18:21:29 +01:00
Unknown W. Brackets f1afb50fd1 Shutdown EGL properly when quitting render loop. 2016-02-07 16:30:40 -08:00
Henrik Rydgard 4155712113 Improve EGL logging, fallback to a really simple config if the normal one fails. May help #8469, if not may at least give us more info. 2016-01-23 13:17:53 +01:00
Henrik Rydgard b39206f922 Use the app cache directory on Android for the shader cache. 2016-01-17 22:15:23 +01:00
Henrik Rydgard 27c71aa340 Get rid of the unused "InstallID" 2016-01-17 15:46:15 +01:00
Unknown W. Brackets 481be1cd34 Fix GL feature detection. 2016-01-06 20:26:53 -08:00
Henrik Rydgard 3398288bd0 Some cleanup around input_state 2016-01-01 14:40:18 +01:00
Henrik Rydgard f419281d16 Fix Android build 2016-01-01 14:40:17 +01:00
Henrik Rydgard 732b1239e7 Add some permission infrastructure, add an ugly button that asks you to grant STORAGE permission if necessary. 2015-12-17 22:41:50 +01:00
Henrik Rydgard ebf9bd74c6 Minor fixes 2015-12-17 19:38:23 +01:00
Henrik Rydgard fd2557dbd7 EGL: Add autodetect mode that only chooses between ES2 and ES3 2015-12-16 21:48:19 +01:00
Henrik Rydgard db633aa377 Lots more debug logging. Terrifying compatibility hack for devices that for some reason create 16-bit buffers.
Like Xperia Play.
2015-12-16 21:37:39 +01:00
Henrik Rydgard 13515bf235 Use the hardware scaler again on Android. Move all DPI handling code from java to app-android.cpp. 2015-12-16 14:52:44 +01:00
Henrik Rydgard 04f8bffa29 Use EGL from native code to initialize and run OpenGL on Android.
Should be more robust, allows initializing desktop GL if available, and lets us take control of the render loop.
2015-12-16 10:57:24 +01:00
Henrik Rydgard 2083f22dce Refactor (android): Decouple frame commands from Renderer object.
Minor cleanup in preparation for EGL.
2015-12-13 22:44:55 +01:00
Henrik Rydgård ca0a6dc7f9 Remove native audio mixer (Unused in PPSSPP) and stb_vorbis 2015-09-19 10:43:58 +02:00
Henrik Rydgard c757931779 Android: Combine the two Java Eclipse projects into one.
Should make it easier to get ndk-gdb going, which I've always had crazy issues with with library projects.
2015-09-10 18:51:48 +02:00