twinaphex
3273ccb5d6
(Android) Add preDispatchEvent
2012-12-19 00:55:39 +01:00
twinaphex
60dd07364e
(Android) Fix build
2012-12-18 20:56:33 +01:00
twinaphex
1c0fc0e65e
(Android) Pack the LUT entries so that we can store eight 8-bit
...
values in them - this will allow for custom LUTs per controller
2012-12-18 18:56:16 +01:00
twinaphex
1564d04a1e
Get rid of doubly #ifdef in retroarch.c
2012-12-18 07:46:40 +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
0210f8f72f
(Android) Last input tweak for today
2012-12-17 20:53:36 +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
dca1175854
(Android) Add performance counters for input poll
2012-12-16 17:13:49 +01:00
twinaphex
22f5f67522
(Android) Use AMotionEvent_getPointerCount() > 0
2012-12-16 16:35:49 +01:00
twinaphex
3eabba50f9
(Android) Onscreen input debugging
2012-12-16 15:46:53 +01:00
twinaphex
5f46f80b20
Revert "(Android) Simplify default binds - reduce code"
...
This reverts commit 68ab7e0372
.
2012-12-16 06:54:49 +01:00
twinaphex
68ab7e0372
(Android) Simplify default binds - reduce code
2012-12-16 06:26:12 +01:00
twinaphex
ae089a7b58
(Android) Make logging optional
2012-12-16 04:13:31 +01:00
twinaphex
c54d4a6955
(Android) Volume keys work again with new input code - most
...
bound keyboard shortcuts should work now
2012-12-16 03:03:44 +01:00
twinaphex
cf539edf91
(Android) android_input_poll now only reads and processes input
...
events - check_window polls for system messages once
2012-12-16 02:04:13 +01:00
twinaphex
7076685a1e
(Android) First check if an event is in the event queue before
...
'getting' it
2012-12-16 00:08:30 +01:00
twinaphex
224eaab902
(Android) Input - only do motion event if type is of 'key down'
2012-12-15 23:05:21 +01:00
twinaphex
627fd567a9
(Android) Do Android pausing in a different way
2012-12-15 19:17:26 +01:00
twinaphex
7a67348b3c
Change 1 << for bitmasks to 1ULL <<
2012-12-15 18:00:30 +01:00
twinaphex
dbb962e946
Streamline frame_count usage
...
(Android/Griffin) Fix build
2012-12-14 20:33:36 +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
5421fb8269
(Android) PERF_TEST no longer default
2012-12-13 23:09:28 +01:00
twinaphex
986f886a35
(Android) Compiles in bitmap fonts
2012-12-13 22:49:17 +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
567f4ff471
(Android) Input optimization #2
2012-12-12 20:52:42 +01:00
twinaphex
dd3ac28927
(Android) Input optimizations
2012-12-12 03:53:25 +01:00
twinaphex
0ba45d457e
(Android) Use pollAll instead of pollOnce - fixes input issues
...
to do with pushing multiple buttons simultaneously
2012-12-11 17:45:49 +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
Themaister
36c595335b
NEON optimized s16->float->s16.
2012-12-05 22:45:29 +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
2c2328d8a0
(NEON) Change WANT_NEON define back to HAVE_NEON
2012-12-04 07:57:31 +01:00
twinaphex
ddc9c94884
(Android) Refactor Android.mk - better defines
2012-12-03 04:58:44 +01:00
twinaphex
5eaaaacaf6
(Android) Make Neon compilation optional with a switch
2012-12-03 01:29:04 +01:00
twinaphex
7403faa608
HAVE_NEON define seems to give problems - WANT_NEON seems to work
...
- so quick-fix hack for now
2012-12-03 00:20:21 +01:00
twinaphex
1c9dec56a8
(NEON/Android) Some fixes
2012-12-02 23:50:32 +01: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
twinaphex
b072eba321
(Android) undefine HAVE_XML and WANT_LIBXML2 - performance
...
difference too big to justify including it
2012-12-02 01:37:40 +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
966cc93b5e
Refactor of driver function hooks
2012-11-27 00:50:56 +01:00
Themaister
02f84fe323
Updates to 0.9.8-beta3
2012-11-25 12:56:25 +01:00
twinaphex
05d04e443d
(Android) Define WANT_LIBXML2 - Griffin compiles in libxml2
2012-11-20 04:15:12 +01:00
twinaphex
01a7fb0f3b
(Griffin) Compile in RZlib into Grifin with WANT_RZLIB
2012-11-19 05:43:57 +01:00
twinaphex
d79ba6a9da
(libxml2) Cleanups
2012-11-18 01:28:10 +01:00
twinaphex
6abb9348ff
(libxml) Cleanups of DEBUG ifdefs
2012-11-18 00:41:50 +01:00
twinaphex
01369d69d1
(libxml2) some ifdefs removed
2012-11-18 00:23:59 +01:00
twinaphex
f338529585
(libxml2) LIBXML_VALID_ENABLED removed
2012-11-18 00:20:27 +01:00
twinaphex
3a230c0aab
(libxml2) LIBXML_REGEXP_ENABLED removed
2012-11-18 00:15:12 +01:00
twinaphex
99e08b76fa
(libxml2) LIBXML_UNICODE_ENABLED removed
2012-11-18 00:08:59 +01:00
twinaphex
2aeaf25e1f
(libxml2) LIBXML_AUTOMATA_ENABLED removed
2012-11-17 23:56:00 +01:00
twinaphex
d73602e687
(libxml2) LIBXML_MODULES_ENABLED removed
2012-11-17 23:47:45 +01:00
twinaphex
73162c7794
(libxml) LIBXML_C14N_ENABLED removed
2012-11-17 23:43:39 +01:00
twinaphex
08d34130ef
(libxml2) Remove LIBXML_OUTPUT_ENABLED
2012-11-17 23:40:15 +01:00
twinaphex
9871a42a3d
(libxml) LIBXML_ICU_ENABLED removed
2012-11-17 23:22:49 +01:00
twinaphex
7a0e128a97
(libxml) LIBXML_THREADS_ENABLED removed
2012-11-17 23:20:47 +01:00
twinaphex
a70a5b541c
(libxml) LIBXML_WRITER_ENABLED removed
2012-11-17 23:09:25 +01:00
twinaphex
c0ae8bc079
(libxml2) Remove LIBXML_LEGACY_ENABLED + SAX v1
2012-11-17 22:57:01 +01:00
twinaphex
aeceadc3e3
(libxml2) Remove LIBXML_SCHEMAS_ENABLED
2012-11-17 22:43:50 +01:00
twinaphex
818a204fbc
(libxml2) Remove XInclude
2012-11-17 22:32:32 +01:00
twinaphex
9f123a54d9
(libxml2) Remove XPath/ Xpointer
2012-11-17 22:25:27 +01:00
twinaphex
f459819813
(libxml) Remove schematron
2012-11-17 22:12:50 +01:00
twinaphex
1379d895ed
(libxml) remove XML_PATTERN
2012-11-17 22:09:00 +01:00
twinaphex
14cd3c1184
(libxml2) Remove docbook parser
2012-11-17 22:02:08 +01:00
twinaphex
089a1da8b2
(libxml2) Remove XML_CATALOG
2012-11-17 21:55:00 +01:00
twinaphex
da3ec111e8
(Android) Get rid of unnecessary input_android.h header
2012-11-17 21:36:22 +01:00
twinaphex
bd39d4c5fa
(libxml2) Take out STANDALONE ifdefs
2012-11-17 18:04:36 +01:00
twinaphex
af19546d8d
(libxml) take out LIBXML_DEBUG_ENABLED
2012-11-17 17:34:26 +01:00
twinaphex
4285d9d128
(Android) Add libxml2 - will be heavily cut down/slimmed down
...
- already took out HTML parser and nanohttp/nanoftp webserver
2012-11-17 17:16:11 +01:00
Themaister
64d9a6fbda
0.9.8-beta2
2012-11-13 00:52:23 +01:00
Themaister
d7c7ad279e
Update version strings to 0.9.8-beta1.
2012-11-07 23:33:22 +01:00
twinaphex
55562a96af
(Android) Clean up native glue code + inline some stuff
2012-11-03 22:52:41 +01:00
twinaphex
f4d6fedd44
(Android) Add commented-out NEON CFLAG for now
2012-11-03 22:26:15 +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
e0e5e8cb1b
(Android GLSL) MAX_PROGRAMS 8 instead of 16, MAX_TEXTURES 4 instead
...
of 8, PREV_TEXTURES 3 instead of 7
2012-11-03 09:35:18 +01:00
twinaphex
9da9c8042b
(Android) Use Griffin - faster
2012-11-03 08:42:33 +01:00
twinaphex
724206c348
(Android) reinsert native glue code
2012-11-03 07:17:55 +01:00
twinaphex
faba5f4c13
(Android) Fixup input logs
2012-11-03 04:36:32 +01:00
twinaphex
1d31f7efa0
(Android) All keyboard hotkeys work now
2012-11-03 00:57:47 +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
312a81a663
(Android) Set -fno-stack-protector
2012-11-02 18:11:34 +01:00
twinaphex
66c830a9a1
(Android) Rename sse3 to ssse3
2012-11-02 05:32:52 +01:00
twinaphex
18aa791296
(Android) Now detects if CPU has NEON or SSE3
2012-11-02 05:27:58 +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
b240cfbc7e
(RARCH_PERF) Rename benchmark.c to perforance.c
...
(MSVC2010) Rename incorrectly named MSVC2012 solution which was
really an MSVC 2010 solution
2012-11-01 06:21:18 +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
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
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