84 Commits

Author SHA1 Message Date
Themaister
5e755671da Add show_mouse() context callback. 2013-03-29 13:46:11 +01:00
Themaister
067e00b3dd Remove post_render context callback.
Was supposed to be used for overlay, but is useless now.
2013-03-29 13:26:07 +01:00
twinaphex
ec114db356 (Android) Reimplemented input loop - better throughput/latency 2013-03-02 23:53:06 +01:00
Themaister
76bf41188a Add video_threaded option to Android. 2013-02-17 00:26:17 +01:00
ToadKing
bf474b9f63 (Android) fix new FPS measurement 2013-02-04 18:02:10 -05:00
twinaphex
6d755ae193 (Android) Rename android_glue.h into frontend_android.h and move it 2013-01-09 05:12:56 +01:00
twinaphex
f8160fb2bd (Android) Cleanups 2013-01-06 06:10:24 +01:00
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
Themaister
0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +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
71505ccb87 Improve resize handling on Android. 2012-12-27 23:30:27 +01:00
twinaphex
7a9293b8c9 (Android) Remove gfx_ctx_get_aspect_ratio as well 2012-12-26 07:56:29 +01:00
twinaphex
0c3f9a854a (Android) Remove HAVE_RMENU code from Android EGL context file -
we aren't going to use RMenu after all
2012-12-26 07:20:31 +01:00
notaz
b1e8c84f55 (Android) Enable and fix warnings. 2012-12-26 03:11:33 +02:00
notaz
fff846d579 (Android) Remove unused variables.
width/height is read by gfx_ctx_get_video_size() later.
2012-12-26 03:11:33 +02:00
notaz
df2466c5ed (Android) Fix crash on orientation update. 2012-12-26 03:11:32 +02:00
notaz
bbc898400d (Android) Remove unneeded include.
Also fixes build on older NDK (r6b).
2012-12-26 03:11:32 +02: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
ae8c7b8d7f (Android) Orientation change works again - crashes after a finite
number of times changing orientation though
2012-12-24 19:06:28 +01:00
Themaister
5eb7432fff Add overlay rendering to GL.
This allows e.g. Android to render a keypad overlay for touch.
2012-12-19 13:26:11 +01:00
twinaphex
2e988a61d9 (Android) Same for Android - remove gfx_ctx_clear 2012-12-18 09:18:22 +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
3c5b7ba08e (Android) Call ALooper_pollOnce for command event queue once per frame -
seems to be enough
2012-12-16 05:52:39 +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
dacab094f0 (RMenu) menu_loop renamed into rmenu_iterate - iterates menu code for one frame 2012-12-15 16:40:02 +01:00
twinaphex
799a9c35fb gfx_common.c - make gfx_get_fps into the main public function -
and remove the two public wrapper functions
2012-12-15 07:03:33 +01:00
twinaphex
d2683cc02a (Android) Fix build 2012-12-15 02:59:35 +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
707bcd483f (Android) Some patches for RMenu compatibility 2012-12-14 01:29:01 +01:00
twinaphex
5421fb8269 (Android) PERF_TEST no longer default 2012-12-13 23:09:28 +01:00
twinaphex
44b2343a9b (Android) Move back to old reinit video context - meancoot - test
if this works for you
2012-12-05 19:53:57 +01:00
twinaphex
aab0ed8fce (Android) Refactor check_window - store AConfiguration_getOrientation
return value in local variable and reuse this value from there
2012-12-05 06:43:00 +01:00
twinaphex
f81ee3be30 (Android) Refactor context restore and video orientation change
code  - context restore only needs to restore video and not all
drivers
2012-12-05 06:31:24 +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
Themaister
28bb46483c Drop video_force_16bit.
This option is silly now.
2012-11-20 23:23:18 +01:00
twinaphex
de4648a127 (Android) Possible context fix 2012-11-09 22:33:54 +01:00
twinaphex
48b0bc7f2d (Android) Use eglGetError 2012-11-09 21:52:07 +01:00
twinaphex
acb4f63cfb (Android) Build fix 2012-11-09 21:20:55 +01:00
twinaphex
eb5bb55754 (Android) Need to know return val 2012-11-09 20:47:17 +01:00
twinaphex
8ba727ab30 (Android) Build fix 2012-11-09 17:05:03 +01:00
twinaphex
0b6bbe04a3 (Android) Add log error messages for Android EGL context for debugging 2012-11-09 09:43:16 +01:00
twinaphex
610b54e3b2 (Android) Some initial context restoring in EGL context 2012-11-03 19:23:52 +01:00
twinaphex
0dbcdb087d (Android) Rewrite of input code 2012-11-03 00:31:05 +01:00