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