Commit Graph
618 Commits
Author SHA1 Message Date
xiushu 6189e3130e fix inputbox
#8642 break #8607 ,now fixed
2016-03-20 08:40:25 +08:00
Henrik Rydgard 8c9f3b9509 Update version numbers to 1.2.2, more README fixes 2016-03-19 19:29:12 +01:00
Henrik Rydgard 92c6810954 Not using a GL config chooser seems to be the way to go, really, and was the way we used before the EGL attempt. 2016-03-17 22:22:57 +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
xiushu 2ec11c56a4 Remove unsupported formats 2016-02-22 16:28:54 +08:00
xiushu 7a2b4eea0a Add inputbox for android
For inputting  IP and NickName ,or something else in future on Android
2016-02-21 11:23:00 +08:00
xiushu 2ba902368e Add open action for android
Open games from file explorer directly.
2016-02-20 19:23:32 +08:00
Henrik Rydgard 52eca3d211 Update version to 1.2.1 2016-02-17 18:20:49 +01:00
Henrik Rydgard 2a77ab71aa Some attempts at increasing reliability of render thread management. 2016-02-17 17:08:48 +01:00
Henrik Rydgard 6ef779402a Update PPGE atlas (font used for in-game save dialogs etc) 2016-02-15 19:24:39 +01:00
Henrik Rydgard 67282cafc4 Apply some minor changes from #8592 2016-02-15 18:21:29 +01:00
Henrik Rydgard 0be9a520ef Remove hack in render loop thread 2016-02-15 00:19:17 +01:00
Henrik Rydgard b5959be2ec Update font atlas (Chinese, Korean updates) 2016-02-14 13:44:10 +01:00
Henrik Rydgard 09e558c74b Update version numbers to 1.2.0 2016-02-14 12:36:28 +01:00
Henrik Rydgard bfa5091c41 Exit cleanly on Android instead of hard-exiting using exit(0). 2016-02-13 19:57:05 +01:00
sum2012 39d3147c9b Update to build all ABIs by default 2016-02-13 06:42:47 +08:00
sum2012 8e82a698ff Add ant build script for windows 2016-02-13 05:03:16 +08:00
Unknown W. Brackets 71e41d4adb Android: Restart the render loop on wake. 2016-02-07 16:33:14 -08: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
Munir ed9aeb4c3a Merge remote-tracking branch 'origin/x64-android-support' 2016-01-18 06:05:46 +01:00
Carlos Estrague b7b93eec0b fix typo. 2016-01-17 23:42:19 +01:00
Munir 7be2f81544 Initial support x64-android 2016-01-17 23:34:25 +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
Unknown W. Brackets 6c38b22467 Fix crashes when running games, tests, etc.
Need the graphicsContext value to stick around.
2016-01-03 11:05:36 -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
Unknown W. Brackets 312fcab8b0 Fix unittest build on Android x86. 2015-12-26 20:35:49 -08:00
Unknown W. Brackets 86127b3d0d Update armips to latest version.
The new version has some speed and other improvements.
2015-12-26 20:30:35 -08:00
Unknown W. Brackets 272d21d702 Send initially held permission grants at start.
This way we don't have to re-ask for things we already have.
2015-12-22 22:29:11 -08:00
Unknown W. Brackets cca16f63a0 Fix ant build on Windows. 2015-12-22 22:15:41 -08:00
Unknown W. Brackets dd5c91108c Use a background thread to load ISO into RAM.
This way we don't get slow startup.  This will also cache the CSO data,
for example, rather than the raw data, using up less RAM.  It might even
be reasonable to enable on 32-bit.
2015-12-19 15:23:25 -08: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 2d22088f38 Update Android target, support "Runtime Permissions" in Android 6.0+ (Marshmallow).
Currently this is the absolute minimum required. Will later add a button to re-request the
permission if it's lost, but at least we do that on application startup.

Storage is the only permission we need that's not auto-granted.
2015-12-17 20:27:25 +01:00
Henrik Rydgard ebf9bd74c6 Minor fixes 2015-12-17 19:38:23 +01:00
Henrik Rydgård 0e1e52242f Remove unused import 2015-12-16 22:25:01 +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 ac202c16c3 Screen rotation works correctly on startup on older Android devices now.
Changing in-menu still has issues because the activity will not restart.
2015-12-16 19:43: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