113 Commits

Author SHA1 Message Date
twinaphex
7d19433a15 (Android context driver) Convert 2014-10-24 18:58:53 +02:00
twinaphex
8cbeeab39f Create unique names for context driver static functions - needed
for Griffin builds
2014-10-08 18:09:01 +02:00
twinaphex
bcd5f8aa5b Add has_windowed to video driver and graphics context driver 2014-10-08 17:23:02 +02:00
twinaphex
71fd3aa6b4 (Android) Build fix 2014-10-03 16:34:15 +02:00
Lioncash
ab1ab62a6d Fix some printf specifiers to the correct signed-ness 2014-09-05 19:43:32 -04:00
twinaphex
5216e90c12 (Android) - EGL context cleanups
- Add shared context support
2014-06-20 04:35:12 +02:00
twinaphex
26b62ba42e Don't abuse g_extern.lifecycle_state for setting RARCH_QUIT_KEY
anymore
2014-06-02 09:52:30 +02:00
twinaphex
e1387a7b0b Take out image driver 2014-05-28 21:14:33 +02:00
twinaphex
b2b5c6daec (Image) Put image functions through abstract interface
(Image) Add image_driver to retroarch.cfg to specify image driver to use
(Menu)  Add Image Driver to Drivers section
2014-05-10 20:26:58 +02:00
Themaister
f2c78c36e3 [Android] Add support for GLES3 HW render. 2014-04-14 13:17:05 +02:00
Themaister
d3c0431a3b Update more context backends ... 2014-03-09 17:11:06 +01:00
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