Commit Graph

136 Commits

Author SHA1 Message Date
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