42 Commits

Author SHA1 Message Date
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
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
3837a503b7 (Android) Reimplement native glue code 2012-11-01 05:48:46 +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
cbcffbb5cf (Android) Get rid of unused width/height/animated in g_android struct 2012-10-31 17:12:45 +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
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
702f99b80e (Android) Some teardown refinements 2012-10-21 17:38:47 +02:00
twinaphex
9b6425c1da (Android) Use DetachCurrentThread - first stab at setting up clean
deiniting
2012-10-21 17:30:02 +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
Toad King
c7dad59402 Add EGLImage support to GL driver.
On videocore, uploading image textures using OpenVG instead of OpenGL ES saves us about 4.5 milliseconds per frame.
2012-10-19 23:08:53 -04:00
Toad King
faf1b47d61 VideoCore EGLImage, still needs EGLImage support in GL driver 2012-10-19 21:24:28 -04:00
Toad King
301848e037 compile fix 2012-10-18 19:09:16 -04:00
Toad King
86fb0984d2 beginning framework for EGLImage support, added (untested) example to OpenVG 2012-10-18 19:00:25 -04:00
twinaphex
90d5913faa (Android) Add optional fps logging 2012-10-16 17:18:10 +02:00
twinaphex
303c4968f2 (Android) Get rid of extra swap buffers call 2012-10-16 16:23:55 +02:00
twinaphex
3cf0e3c984 (Android) Cleanups in context file - do away with everything related
to RARCH_CONSOLE
2012-10-16 14:43:34 +02:00
twinaphex
5977ab5be1 (Android) Implement gfx_ctx_get_video_size 2012-10-16 14:31:18 +02:00
twinaphex
5e85906f94 (Android) Comment out accelerometer logging for now - so that we
don't spam the logger
2012-10-16 13:27:49 +02:00
twinaphex
7bdd81b0bb (Android) Seems to run now (with GLES 2 forced) - but just shows
black right now
2012-10-16 13:15:11 +02:00
twinaphex
ff914dd862 (Android) Set up RetroArch for real (Android is retarded in that it
only allows us to use dlopen on shared libs that are in the app's
'lib' folder - 'security' concerns and all
2012-10-16 12:49:56 +02:00
twinaphex
ee1194d19a (Android EGL) don't needlessly set up GL state after gfx_ctx_init 2012-10-15 19:37:18 +02:00
twinaphex
8ac8b16d34 (Android) Use EGL context file 2012-10-15 19:33:57 +02:00
twinaphex
d30d345d84 (Android) Cleanups - remove unneeded gfx_ctx_set_window/gfx_ctx_free_window 2012-10-15 19:15:09 +02:00
twinaphex
96f5c78304 (Android) removed bifrost.c - made libretroarch.so now a native
activity
2012-10-14 03:37:08 +02:00
twinaphex
73194640a0 Revert "(Android) Renamed GUI to RetroArch Android - Phoenix will be Java-only,"
This reverts commit ad27bedcb49b6c41e84e3c5087f6f58307aca094.
2012-10-14 01:49:15 +02:00
twinaphex
ad27bedcb4 (Android) Renamed GUI to RetroArch Android - Phoenix will be Java-only,
and the RetroArch program itself will be a native activity
2012-10-14 00:56:50 +02:00
twinaphex
254239849a Revert "(Android) Cleanup - remove android java audio driver / remove android java video"
This reverts commit ba99f83aa5d1481876530747dbbae7d445415634.
2012-10-08 22:55:31 +02:00
twinaphex
ba99f83aa5 (Android) Cleanup - remove android java audio driver / remove android java video
driver - do as much stuff natively
2012-10-07 18:20:11 +02:00
twinaphex
350b15b0f2 (Android) Add some initial funtions for setting native window 2012-10-06 06:51:42 +02:00
twinaphex
1fd32e0ae6 (Android) Implement gfx_ctx_set_swap_interval 2012-10-05 16:13:48 +02:00
twinaphex
286edce639 (Android) Clean up EGL context file - bring it more in line with the
others
2012-10-05 01:47:52 +02:00
twinaphex
de72779577 (Android) Add preliminary EGL context driver 2012-10-05 01:19:39 +02:00