85 Commits

Author SHA1 Message Date
twinaphex
cd46fc96a6 (Android) Refactor g_android 2013-01-05 07:38:59 +01:00
twinaphex
fc55e48221 (Android) Cut down on g_android usage 2013-01-05 07:20:02 +01:00
twinaphex
147cb8f0d1 (Android) get rid of window_ready member 2013-01-05 06:24:13 +01:00
twinaphex
1cae4de653 (Android) More elegant way of setting refresh rate 2013-01-05 06:02:02 +01:00
twinaphex
0755b6b579 (Android) Remove remnants of savedState glue code 2013-01-01 03:44:57 +01:00
Themaister
0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
twinaphex
9f361de651 (Android) Autoconfigures IME app ccpcreations Wiimote pad 1 now 2012-12-31 17:39:04 +01:00
twinaphex
7855a25502 (Android) Can now grab current IME string from Java and pass it to
native
2012-12-31 16:36:28 +01:00
twinaphex
74f8845ac3 (Android) onSaveInstanceState callback- don't point to anything 2012-12-30 21:56:57 +01:00
Themaister
8a58858d84 Refactor out save stating and reentrancy.
It's not really needed.
2012-12-30 18:25:49 +01:00
Themaister
35e17e5017 Fix CPU hogging issue on Android when paused. 2012-12-30 16:54:16 +01:00
Themaister
9fbd888566 Handle orientation without explict calls.
Appears to fix some kind of "race condition" in EGL.
2012-12-28 00:12:18 +01:00
Themaister
e3378c219c Use crude ref-counting for driver handles. 2012-12-25 23:18:19 +01:00
Themaister
82f2bba8f2 Accept CONFIGFILE argument over JNI. 2012-12-25 15:21:01 +01:00
Themaister
4d802ccfbc Set custom refresh rate before starting main loop. 2012-12-25 14:00:24 +01:00
Themaister
e4e0d9c72d Reset driver.* handles on driver reinit. 2012-12-25 00:01:06 +01:00
twinaphex
2ee5efc4a1 (Android) Orientation change now done in a stable way without freeing/
reiniting the video driver again
2012-12-24 20:17:16 +01:00
twinaphex
e8a57f21cd (Android) Fix - restore state functionality broke again due to
'refactor' in driver.c - this does not work for re-entrancy - please
consult with me
2012-12-24 18:06:51 +01:00
twinaphex
70b5007a1e (Android) Wrapping all JNI usage seems impractical - settle for
a JNI helper header file instead
2012-12-24 17:22:57 +01:00
twinaphex
04cabb0996 (Android) refactor JNI code - still can't load ClassLoader 2012-12-23 13:16:58 +01:00
twinaphex
18bf8e2a16 (Android) Refactor JNI code 2012-12-23 07:30:15 +01:00
twinaphex
92e5036eb6 Disable onLowMemory callback - after this has executed, it would
call Dalvik's garbage collector - definitely want to avoid that
2012-12-20 13:25:09 +01:00
twinaphex
2e5f21db60 (Android) Do window ready checking differently 2012-12-18 06:01:56 +01:00
twinaphex
3570ba80d2 (Android) Move Android-specific pause functionality outside of
rarch_main_iterate
2012-12-18 03:18:53 +01:00
twinaphex
918052f5ba (Android) Rewrite activity_paused logic 2012-12-17 20:07:08 +01:00
twinaphex
74ae6ecf57 (Android) Better deinit - will now deinit RetroArch and save game
RAM if you forcibly stop RetroArch
2012-12-17 18:45:26 +01:00
twinaphex
cd1ddbb9c7 (Android) Better restore state functionality 2012-12-17 17:58:08 +01:00
twinaphex
627fd567a9 (Android) Do Android pausing in a different way 2012-12-15 19:17:26 +01:00
twinaphex
e1918b2ba6 (Android) Rename g_android.input_state to g_extern.lifecycle_state
- intend to use this for RMenu as well
2012-12-14 02:06:14 +01:00
twinaphex
66180308e4 (Android) Remove android_get_sdk_version and change RMenu
mountpoints
2012-12-14 01:44:59 +01:00
twinaphex
bb1e2a4677 (Android) Don't split up JNI functions into their own file -
assumed this is Android-specific for now
(Android) Some input improvements - don't call AKeyEvent_getKeyCode
unless type is of AINPUT_EVENT_TYPE_KEY
2012-12-13 17:05:07 +01:00
twinaphex
c5bda29ce3 (Android) Refactor JNI code 2012-12-13 15:32:35 +01:00
twinaphex
5320f9b2c1 (Android) Remove Phoenix-legacy - meancoot's Phoenix now default 2012-12-10 19:15:46 +01:00
twinaphex
fdc65d7851 (Android) - New phoenix frontend - use startActivityForResult for filebrowsing
- Get rid of most PHOENIX_LEGACY ifdefs - code now works for both Phoenix and
Phoenix-legacy
- Refresh rate auto-configuration should work now on Phoenix
- Going to get rid of Phoenix-legacy soon altogether
2012-12-09 20:33:08 +01:00
twinaphex
2b34d21967 (Android) Add in code to set refresh rate to that of the device's
refresh rate in case display screen has a refresh rate lower than
60Hz - ie. 58.2Hz/59.0Hz - is ifdeffed specifically for PHOENIX_LEGACY
- new Phoenix frontend needs to do pass the refresh rate of the screen
determined in the Java frontend to the native activity - see phoenix-legacy
code
2012-12-09 17:39:24 +01:00
twinaphex
3a3953aef3 (Android) Add back PHOENIX_LEGACY hack because new Phoenix frontend
doesn't work yet for me
2012-12-08 12:58:16 +01:00
Squarepusher
344640d96c Merge pull request #81 from meancoot/android-newui
(Android) Add new frontend for easier install and use.
2012-12-08 02:12:38 -08:00
twinaphex
3a85a68230 (Android) Fix erroneous bitmask unset 2012-12-06 10:16:31 +01:00
meancoot
fca88c4bd0 (Android) Add new frontend for easier install and use. 2012-12-05 11:40:40 -05:00
twinaphex
fa2b716d5e (Android) Refactor RetroArch Android pause mode. 2012-12-05 07:12:20 +01:00
twinaphex
0dce6a6db6 (Android) Move video reinit code to EGL check_window function -
now properly resizes video after orientation change and restores
video context after minimizing and restoring
2012-12-05 06:17:45 +01:00
meancoot
95d43e5f60 (Android) Reduce CPU usage while paused. 2012-12-04 22:47:41 -05:00
meancoot
b2fc9cae3a (Android) Allow graphics to reinitialize if activity is lost.
(Android) Stop emulation when the activity receive a pause event.
2012-12-04 22:31:31 -05:00
Toad King
1e03bb3d50 [ANDROID] "handle" all config changes while executing the emulator
re-init video code on orientation change
2012-12-04 17:36:02 -05:00
twinaphex
623822126a (Android) Set buffer count to 4 instead of 8 for Jelly Bean and
higher - test experimental lower latency for fast OpenSL mixer
2012-12-02 07:32:28 +01:00
Toad King
d1b9015aef [ANDROID] pass phone version to activity 2012-11-30 20:54:29 -05:00
Toad King
61b42c82e2 [ANDROID] don't dim screen or show status bar when emulator is playing 2012-11-30 13:13:40 -05:00
twinaphex
da3ec111e8 (Android) Get rid of unnecessary input_android.h header 2012-11-17 21:36:22 +01:00
twinaphex
55562a96af (Android) Clean up native glue code + inline some stuff 2012-11-03 22:52:41 +01:00
twinaphex
6932f866ca (Android) Try to reduce call stack by pointing everything in thread entry function 2012-11-03 21:03:14 +01:00