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
twinaphex
46a4efd885
(Android) Better lifecycle management - getting close to restoring state
2012-11-03 19:06:55 +01:00
twinaphex
2e58e25dbe
(Android) Can now cleanly exit with back button - lifecycle event
...
improvements
2012-11-03 17:42:09 +01:00
twinaphex
724206c348
(Android) reinsert native glue code
2012-11-03 07:17:55 +01:00
twinaphex
0dbcdb087d
(Android) Rewrite of input code
2012-11-03 00:31:05 +01:00
twinaphex
02f81a38c2
(Android) Create input_state for Android app - can now signal that a window
...
was created, or that we want to shutdown
2012-11-02 22:27:22 +01:00
twinaphex
7ac8d02a05
(Android) Performance changes - build fix
2012-11-02 04:13:35 +01:00
twinaphex
b0e4ca599c
(PC/Linux) performance_android.c works for PC Linux too - refactor as
...
performance_linux and compile it in for Linux build (but don't yet use it)
2012-11-01 07:41:36 +01:00
twinaphex
85f6ddc4ae
(Android) We'll be able to tell now at runtime whether or not
...
a CPU has specific features (such as NEON, hard float, SSE, etc.).
Will refactor this later and add getters/setters
2012-11-01 07:15:01 +01:00
twinaphex
3837a503b7
(Android) Reimplement native glue code
2012-11-01 05:48:46 +01:00
twinaphex
a4d1305838
(Android) Some native glue code optimizations
2012-10-31 22:22:29 +01:00
twinaphex
a2ea556be5
(Android) Call process_cmd and process_input directly - try to get
...
rid of all these poll callbacks
2012-10-31 19:22:34 +01:00
twinaphex
4d99d93df0
(Android) remove Android save state for now - unused and will
...
probably reimplement it later
2012-10-31 18:10:38 +01:00
twinaphex
c0b8f28484
(Android) Also remove this - accelerometer-related
2012-10-31 17:33:58 +01:00
twinaphex
cd92520983
(Android) Don't poll accelerometer - no use yet and in case we
...
want to support something like GBA WarioWare Twisted stuff, we
will have to add motion support to libretro anyway - so can be
shelved for now
2012-10-31 17:33:08 +01:00
twinaphex
cbcffbb5cf
(Android) Get rid of unused width/height/animated in g_android struct
2012-10-31 17:12:45 +01:00
twinaphex
3342bd4ec6
(Android) Teardown more or less works correctly now - have to do
...
exit() at the end because of the way dynamic libraries stay in
memory and can't be purged - so static variables retain their
state (ie. previous values from the previous session) - see
https://groups.google.com/forum/?fromgroups=#!topic/android-ndk/XDO-Rar3ptY
http://comments.gmane.org/gmane.comp.handhelds.android.ndk/11500
2012-10-21 19:56:36 +02:00
twinaphex
9b6425c1da
(Android) Use DetachCurrentThread - first stab at setting up clean
...
deiniting
2012-10-21 17:30:02 +02:00
twinaphex
6d44198f8a
(Android) Slight nit
2012-10-21 16:52:54 +02:00
twinaphex
3ec51cbd23
(Android) Comment out accelerometer code also in event callback
2012-10-21 16:51:04 +02:00
twinaphex
a675c4348f
(Android) Split off input code into its own driver
2012-10-16 19:46:59 +02:00
twinaphex
97ef554e31
(Android) Use g_android.app state instead of local variable
2012-10-16 18:38:41 +02:00
twinaphex
977155425a
(Android) No longer have to click on the screen to get RetroArch
...
to start
2012-10-16 18:07:22 +02:00
twinaphex
3cf0e3c984
(Android) Cleanups in context file - do away with everything related
...
to RARCH_CONSOLE
2012-10-16 14:43:34 +02:00
twinaphex
2f26f8e76f
(Android) Try to deinit RetroArch when closing - currently fails due to
...
not being able to dequeue native window buffer
2012-10-16 13:48:08 +02:00
twinaphex
5e85906f94
(Android) Comment out accelerometer logging for now - so that we
...
don't spam the logger
2012-10-16 13:27:49 +02:00
twinaphex
d4dee21589
(Android) Runs now - brings window up - inits GLES through EGL -
...
but fails at shader init - 'called unimplemnted OpenGL ES API'
2012-10-16 13:08:36 +02:00
twinaphex
402f3ec364
(Android) Hack - loading libretro.so from /data/data/com.retroarch/lib/libretro.so for now - problem #2 - crashesat [ANDROID/EGL]: EGL version: 1.4 log - reason being
...
that window is not yet inited
2012-10-16 12:59:43 +02:00
twinaphex
ff914dd862
(Android) Set up RetroArch for real (Android is retarded in that it
...
only allows us to use dlopen on shared libs that are in the app's
'lib' folder - 'security' concerns and all
2012-10-16 12:49:56 +02:00
twinaphex
46fd925d01
(Android) Can now select libretro core from Phoenix too, argument
...
gets passed to native activity
2012-10-16 11:59:08 +02:00