twinaphex
fd7f4d45cd
Move image files to gfx/image/
2014-02-25 21:24:15 +01:00
Hans-Kristian Arntzen
2ab94ad8d1
[Android]: Use ALPHA_SIZE 8.
...
Avoids weird 24-bit surfaces ...
2014-02-13 12:04:08 +01:00
twinaphex
0a15a17d44
Update years on all license headers
2014-01-01 01:50:59 +01:00
twinaphex
e3ebfbffa9
Rename frontend_android.h to platform_android.h
2013-11-03 17:02:40 +01:00
twinaphex
5060b5a379
(Android EGL) Take out looper snippets
2013-11-03 15:26:30 +01:00
twinaphex
727dc76db8
(Console/Android) Init input driver from context driver/graphics
...
driver from now on - just like PC - input driver initing can be
hoisted out of global_drivers_init that way
2013-11-01 16:33:32 +01:00
twinaphex
849cfb680e
Saves 'Show Framerate' setting to config file now too
2013-10-11 01:19:54 +02:00
Themaister
f46f26c42a
Revert "(Show FPS) Fix issue with DRM EGL context showing corrupted"
...
This reverts commit 10baf8456d7e7a2ad44cc5924f7e10e3584ba82d.
2013-10-08 12:27:25 +02:00
twinaphex
10baf8456d
(Show FPS) Fix issue with DRM EGL context showing corrupted
...
string - check if buf_fps is not null before pushing string to message
queue - do this for all context files from now on
2013-10-08 03:14:34 +02:00
Themaister
84c84814cf
Fix possible crash with uninitialized buf_fps.
...
If fps count == 0, buf_fps would not be written to.
Also, make writing into buf_fps optional. Drop always_write variable as
it doesn't serve a purpose anymore.
2013-10-07 21:54:29 +02:00
twinaphex
a98f0336df
Implement FPS show message option (Debug Info Text) for most
...
graphics contexts using message queue
2013-10-07 20:22:08 +02:00
twinaphex
c0c6ecc6cb
Rewrite gfx_get_fps - now outputs proper string for FPS output
2013-10-07 20:17:07 +02:00
Themaister
b9fce188ea
Initial work on core GL context support.
2013-08-11 00:50:04 +02:00
twinaphex
559c4a7964
(RARCH_CONSOLE) Add refresh rate FPS statistics
2013-06-08 01:45:25 +02:00
twinaphex
71c699b5fc
(Android/QNX) get_proc_address was not bound in context driver
2013-05-12 01:15:44 +02:00
Themaister
e389220df8
Refactor frame_counter.
...
Graphics drivers get the task of updating this.
If threaded driver is used, main thread cannot update the counter
due to race conditions.
2013-04-13 14:28:12 +02:00
twinaphex
db71eaf083
(Android context file) Add HAVE_EGL ifdefs
2013-04-07 03:13:47 +02:00
twinaphex
7111558359
wgl_ctx.c - ifdef HAVE_EGL portions of code
2013-04-06 19:28:19 +02:00
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