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
|
5240f2d9f1
|
(Android) native glue code - fix indenting and remove savestate
leftovers
|
2012-10-31 18:52:43 +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
|
0fe3ab8f2d
|
(Android) Input - get rid of android_input_state_t struct - only
use a single uint64 array now for state
|
2012-10-31 16:18:58 +01:00 |
twinaphex
|
ff599ac392
|
(Android) Change input process conditional to 'event' -also disable
PERF_TEST for regular usage
|
2012-10-31 16:04:40 +01:00 |
twinaphex
|
035713f124
|
(Android) performance counter for engine_handle_input
|
2012-10-31 15:18:47 +01:00 |
twinaphex
|
12f5434f3e
|
(Android) use ALooper_pollOnce instead of ALooper_pollAll
|
2012-10-31 15:16:16 +01:00 |
twinaphex
|
94ccdd627b
|
(Android) Input - now handles volume up/down and back buttons
|
2012-10-31 06:56:14 +01:00 |
twinaphex
|
0aa08c3b46
|
(Android) Input optimizations - this function has heavy overhead
depending on how many times you press buttons / input event activity
|
2012-10-31 04:01:17 +01:00 |
twinaphex
|
49cff6a46a
|
(Android) Input - another cleanup
|
2012-10-31 01:59:15 +01:00 |
twinaphex
|
666e2910b3
|
(Android) Input - Small cleanups
|
2012-10-31 01:38:34 +01:00 |
twinaphex
|
e426087ebc
|
(Android) Input rewrite - should now be faster and support more
keycodes - keyboard keys are hooked up too for control with keyboard
|
2012-10-31 01:25:24 +01:00 |
twinaphex
|
1902763f67
|
Performance counters for audio
|
2012-10-30 23:46:01 +01:00 |
twinaphex
|
50bc08aa7b
|
(Android) Improved performance - avoid logging like the plague
apparently
|
2012-10-30 17:16:57 +01:00 |
twinaphex
|
b204b55386
|
(Android) Remove unnecessary animating conditional block in gfx_ctx_check_window
|
2012-10-30 06:36:38 +01:00 |
twinaphex
|
1ff6175bd2
|
(Android) Move polling for events into Android input driver instead
of EGL context check_window function
|
2012-10-30 06:20:49 +01:00 |
twinaphex
|
c2f49f1c53
|
(Android) Input control improvements
|
2012-10-30 05:57:12 +01:00 |
twinaphex
|
fb25f31598
|
(Android/OpenSL) Bigger audio buffers - bigger latency/longer
delay in audio, but no audio breakup - also applied -O3 and -funroll-loops
for Android Makefile - seems to help
|
2012-10-30 05:25:14 +01:00 |
twinaphex
|
8123cb1013
|
(Android) Add alternate control layouts - will need to switch
between these with a button combo
|
2012-10-29 22:06:56 +01:00 |
twinaphex
|
6424513df8
|
(Android) Input - use custom binds
|
2012-10-29 14:45:25 +01:00 |
twinaphex
|
45142ed3d2
|
(Android) Get rid of do_pollblock - unnecessary now
|
2012-10-29 13:34:03 +01:00 |
twinaphex
|
c2557e0d4f
|
(Android) Input experiment
|
2012-10-29 05:09:10 +01:00 |
twinaphex
|
db15975315
|
(Android) Small changes
|
2012-10-29 04:58:15 +01:00 |
twinaphex
|
2da102a13f
|
(Android) Add native activity glue code
|
2012-10-29 02:34:27 +01:00 |
twinaphex
|
50875ce46c
|
(Android) Working (but hoky) controls
|
2012-10-29 01:28:15 +01:00 |
twinaphex
|
1ce5869096
|
(Android) Add input_android.h
|
2012-10-28 22:22:04 +01:00 |
twinaphex
|
915f26cbd0
|
(Android) Initial work on input
|
2012-10-28 22:20:56 +01:00 |
twinaphex
|
aefb3ee3af
|
(GL) Fix build for HAVE_OPENGLES target
(Android) Input - add device ID per joypad
|
2012-10-28 03:14:50 +01:00 |
twinaphex
|
43602b97c9
|
(Android) Flesh out Android input
|
2012-10-28 02:21:09 +01:00 |
twinaphex
|
9cd7181813
|
(Android) AMotionEvent_getAxisValue function pointer - even USB
joystick support in NDK code requires hacks even in ICS 4.0 and
up - Google worst faildevs of the century
|
2012-10-27 20:22:53 +02:00 |
twinaphex
|
cfdfcd4b8e
|
(Android) Speed optimization
|
2012-10-25 20:58:05 +02:00 |
twinaphex
|
8161aec704
|
(Android Phoenix) Some build fixes
|
2012-10-22 20:11:00 +02: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
|
f6e46ce8a4
|
(Android) Now builds RetroArch libraries for all Android ABIs -
ARM, ARMv7a, MIPS, x86
|
2012-10-21 16:38:56 +02:00 |
twinaphex
|
647fd0abf0
|
(Android) Not sure if we have to do this 'event loop' in gfx_ctx_check_window
- make it sample one frame of events and that is it - also comment out
accelerometer stuff for now
|
2012-10-21 16:37:15 +02:00 |
twinaphex
|
161afd98dc
|
(OpenSL ES) OpenSL init seems to work now despite OutputMix interface
apparently being unsupported on Android. Included note for workaround.
|
2012-10-18 07:28:56 +02:00 |
twinaphex
|
6bf7c3cb06
|
Update credits for collaborated files
|
2012-10-18 06:06:55 +02:00 |
twinaphex
|
63238d3b67
|
(OpenSL) Add preliminary driver - OpenSL ES implementation in NDK
is a half-baked, half-implemented hackfest, so will have to go over
Android-specific examples to get this to work
|
2012-10-18 05:46:09 +02:00 |
twinaphex
|
828762f6fd
|
(Android) Take out excessive logging
|
2012-10-16 23:55:39 +02:00 |
twinaphex
|
bed99bb0da
|
(Android) Compile with DPERF_TEST enabled - replace CLOCK_MONOTONIC_RAW
with CLOCK_MONOTONIC
|
2012-10-16 23:29:03 +02:00 |
twinaphex
|
4212458625
|
(Android) Log touchscreen events for now
|
2012-10-16 20:03:45 +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
|
be1abb6f38
|
(Android) Runs now - note - we might want to refactor HAVE_XML ifdefs
to HAVE_GLSL since I currently don't have HAVE_XML defined for
Android NDK
|
2012-10-16 15:38:25 +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 |
twinaphex
|
99bb0734c8
|
(Android) Remove unnecessary icons for native activity
|
2012-10-16 02:20:53 +02:00 |
twinaphex
|
7a3e29539a
|
(Android) Picks up ROM filename argument now in android_main -
passed from Java phoenix to native activity
|
2012-10-16 02:06:20 +02:00 |
twinaphex
|
bbbdb1ccc0
|
(Android) Cut down on engine_draw_frame usage
|
2012-10-15 21:49:17 +02:00 |
twinaphex
|
8ac8b16d34
|
(Android) Use EGL context file
|
2012-10-15 19:33:57 +02:00 |
twinaphex
|
82d2ee63dc
|
(Android) Move g_android outside of general.h
|
2012-10-15 19:09:59 +02:00 |
twinaphex
|
5ffab01827
|
(Android) Add g_android global struct - EGLDisplay, EGLContext
and EGLSurface in this struct are temporarily and all code
will be moved to EGL context file
|
2012-10-15 08:57:23 +02:00 |
twinaphex
|
4f8a040411
|
(Android) Now starts up the native activity correctly when a ROM has been
selected - arguments still need to be passed and right now it's just doing
some glClears - however - POC more or less works - now to make it run Rarch
|
2012-10-14 07:21:12 +02:00 |
twinaphex
|
b89e0e90c9
|
(Android) Phoenix works again
|
2012-10-14 05:24:34 +02:00 |
twinaphex
|
6e730dab47
|
(Android) Split up project into native / phoenix - phoenix now doesn't
show main screen/rom browser (sigh)
|
2012-10-14 05:18:53 +02:00 |
twinaphex
|
96f5c78304
|
(Android) removed bifrost.c - made libretroarch.so now a native
activity
|
2012-10-14 03:37:08 +02:00 |
twinaphex
|
1195e92850
|
(Android) Remove more unnecessary files / simplify fileio/Option.java
|
2012-10-14 02:44:36 +02:00 |
twinaphex
|
87cec1a077
|
(Android) Do removal of Android classes sanely - without local working
copy
|
2012-10-14 01:54:02 +02:00 |
twinaphex
|
73194640a0
|
Revert "(Android) Renamed GUI to RetroArch Android - Phoenix will be Java-only,"
This reverts commit ad27bedcb4 .
|
2012-10-14 01:49:15 +02:00 |
twinaphex
|
158f4676a4
|
(Android Phoenix) Will no longer require GLES 2.0
|
2012-10-14 01:00:41 +02:00 |
twinaphex
|
ad27bedcb4
|
(Android) Renamed GUI to RetroArch Android - Phoenix will be Java-only,
and the RetroArch program itself will be a native activity
|
2012-10-14 00:56:50 +02:00 |
twinaphex
|
7a761393dd
|
(Griffin) refactor hook.h from Griffin
|
2012-10-08 23:42:08 +02:00 |
twinaphex
|
254239849a
|
Revert "(Android) Cleanup - remove android java audio driver / remove android java video"
This reverts commit ba99f83aa5 .
|
2012-10-08 22:55:31 +02:00 |
twinaphex
|
ba99f83aa5
|
(Android) Cleanup - remove android java audio driver / remove android java video
driver - do as much stuff natively
|
2012-10-07 18:20:11 +02:00 |
twinaphex
|
350b15b0f2
|
(Android) Add some initial funtions for setting native window
|
2012-10-06 06:51:42 +02:00 |
twinaphex
|
2c1980b7b0
|
(Android) Seems to run frames now - now to get video/sound
|
2012-10-05 19:02:32 +02:00 |
twinaphex
|
936daba8de
|
(Android) Implement onActivityResult callback system
|
2012-10-05 18:49:13 +02:00 |
twinaphex
|
770aa757dd
|
(Android) Loads ROM now - now need to define audio driver/input
driver
|
2012-10-05 01:28:15 +02:00 |
twinaphex
|
de72779577
|
(Android) Add preliminary EGL context driver
|
2012-10-05 01:19:39 +02:00 |
twinaphex
|
94ac629d6a
|
(Android) fails at video_gl.start right now
|
2012-10-04 20:13:02 +02:00 |
twinaphex
|
c6cf258b42
|
Simplify rarch_config_load
|
2012-10-04 20:09:23 +02:00 |
twinaphex
|
cd76a2c3b3
|
(Android) Added stub file so that gen is always a pregenerated directory
|
2012-10-04 19:39:28 +02:00 |
twinaphex
|
f6e91732a1
|
(Android) Loads libretro library now but still SEGV at unspecified
location
|
2012-10-04 19:39:28 +02:00 |
twinaphex
|
2dcb61cb53
|
(Android) Some more work - fails right now at dylib_load
|
2012-10-03 19:45:20 +02:00 |
twinaphex
|
0d0fd03e09
|
(Android) use RARCH_LOG in bifrost.c
|
2012-10-03 16:23:50 +02:00 |
twinaphex
|
c49aa886a1
|
(Android) Need to add JNI_OnLoad and JNI_OnUnLoad in Bifrost
|
2012-10-03 06:11:33 +02:00 |
twinaphex
|
ad7bc1bbe2
|
(Android) Add missing (and required by Eclipse) 'gen' directory
|
2012-10-03 06:02:03 +02:00 |
twinaphex
|
4cfafc65b7
|
(Android / JNI) Compiles RetroArch in ARM mode now instead of THUMB -
can now use mrc instruction
|
2012-10-03 00:02:46 +02:00 |
twinaphex
|
0a20857a44
|
(ARM) Add mrc ARM define for benchmark.c
- Some Android build fixes
- Removed doubly defined static inline function
|
2012-10-02 23:59:19 +02:00 |
Twinaphex
|
8ad585ad34
|
(Android) Compile with HAVE_DYLIB
|
2012-09-17 05:31:29 +02:00 |
Twinaphex
|
7bec5ddb55
|
(Android) Add Android Makefile + commit auo-generated com_retroarch_rruntime.h
header
|
2012-09-17 02:40:34 +02:00 |
Twinaphex
|
511e94dbd7
|
(Android) Add rruntime.java
|
2012-09-17 02:16:23 +02:00 |
Twinaphex
|
6c05196e4f
|
(Android) More exposed functions in Bifrost
|
2012-09-16 22:11:15 +02:00 |
Twinaphex
|
e84db7ba1f
|
(Android) Begin RetroArch bridge code - JNI - call it 'Bifrost'
|
2012-09-16 21:00:34 +02:00 |
Twinaphex
|
50d8520085
|
(Android) Use GLES v2 - codepath for GLES v1 is broken if
GL_CLAMP_TO_BORDER is not available
|
2012-09-12 15:21:25 +02:00 |
Twinaphex
|
3d93b6a052
|
Add additional note
|
2012-09-11 10:21:22 +02:00 |
Twinaphex
|
005d25f709
|
(Android) Loads libretroarch library now
|
2012-09-10 04:51:22 +02:00 |
Twinaphex
|
e6303c9615
|
Add null_ctx.c and use this for Android for now
|
2012-09-10 02:00:06 +02:00 |