4039 Commits

Author SHA1 Message Date
twinaphex
26fcdae48b (OpenSL ES) Small nits 2012-10-18 07:33:45 +02:00
twinaphex
161afd98dc (OpenSL ES) OpenSL init seems to work now despite OutputMix interface
apparently being unsupported on Android. Included note for workaround.
2012-10-18 07:28:56 +02:00
twinaphex
6bf7c3cb06 Update credits for collaborated files 2012-10-18 06:06:55 +02:00
twinaphex
63238d3b67 (OpenSL) Add preliminary driver - OpenSL ES implementation in NDK
is a half-baked, half-implemented hackfest, so will have to go over
Android-specific examples to get this to work
2012-10-18 05:46:09 +02:00
Themaister
8da0fd6f6d Drop another call to glClearColor. 2012-10-17 21:35:40 +02:00
Themaister
b00194e52f Drop calling glClearColor. 2012-10-17 21:28:21 +02:00
twinaphex
6856a6651e (RGL) Ifndef glClearColor (if default clear color is always black, then
we should remove this)
2012-10-17 19:43:17 +02:00
Themaister
7ee9b8537f Actually load and not save SGB ram. 2012-10-17 08:46:56 +02:00
twinaphex
828762f6fd (Android) Take out excessive logging 2012-10-16 23:55:39 +02:00
twinaphex
bed99bb0da (Android) Compile with DPERF_TEST enabled - replace CLOCK_MONOTONIC_RAW
with CLOCK_MONOTONIC
2012-10-16 23:29:03 +02:00
twinaphex
4212458625 (Android) Log touchscreen events for now 2012-10-16 20:03:45 +02:00
Themaister
f68ea33d20 Use clock_gettime on Linux. 2012-10-16 19:56:15 +02:00
twinaphex
a675c4348f (Android) Split off input code into its own driver 2012-10-16 19:46:59 +02:00
Themaister
6d3c12b9bd Use HAVE_GLSL instead of HAVE_XML.
Replace where it makes sense.
2012-10-16 19:43:05 +02:00
twinaphex
97ef554e31 (Android) Use g_android.app state instead of local variable 2012-10-16 18:38:41 +02:00
twinaphex
977155425a (Android) No longer have to click on the screen to get RetroArch
to start
2012-10-16 18:07:22 +02: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
be1abb6f38 (Android) Runs now - note - we might want to refactor HAVE_XML ifdefs
to HAVE_GLSL since I currently don't have HAVE_XML defined for
Android NDK
2012-10-16 15:38:25 +02:00
twinaphex
e2ec1586ba (Android) Loads a config file now from either $(INTERNAL_STORAGE)/retroarch.cfg,
$(EXTERNAL_STORAGE)/retroarch.cfg, or /mnt/extsd/retroarch.cfg. will need to
find a better catch-all location to put this and just use the rest as fallbacks
2012-10-16 15:18:40 +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
608d3718a3 (Android) Android does not redirect stderr to the logger - so we
need to wrap all stderr fprintfs - this will help for Xbox 1 too
which also doesn't redirect stderr
2012-10-16 13:57:35 +02:00
twinaphex
2f26f8e76f (Android) Try to deinit RetroArch when closing - currently fails due to
not being able to dequeue native window buffer
2012-10-16 13:48:08 +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
d4dee21589 (Android) Runs now - brings window up - inits GLES through EGL -
but fails at shader init - 'called unimplemnted OpenGL ES API'
2012-10-16 13:08:36 +02:00
twinaphex
402f3ec364 (Android) Hack - loading libretro.so from /data/data/com.retroarch/lib/libretro.so for now - problem #2 - crashesat [ANDROID/EGL]: EGL version: 1.4 log - reason being
that window is not yet inited
2012-10-16 12:59:43 +02:00
Themaister
be7a63932f Remove output_rate from DSP plug. 2012-10-16 12:54:58 +02:00
Themaister
d027287d71 Leave some notes about downsampling. 2012-10-16 12:54:58 +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
24a7b25d6a (RARCH_CONSOLE) Android no longer uses RARCH_CONSOLE - so we can
get rid of all ANDROID ifdefs in console-side code
2012-10-16 12:05:01 +02:00
twinaphex
11465db9c1 (Android) We now do everything natively (including video) - so
we no longer need this
2012-10-16 12:01:00 +02:00
twinaphex
46fd925d01 (Android) Can now select libretro core from Phoenix too, argument
gets passed to native activity
2012-10-16 11:59:08 +02:00
twinaphex
99bb0734c8 (Android) Remove unnecessary icons for native activity 2012-10-16 02:20:53 +02:00
twinaphex
7a3e29539a (Android) Picks up ROM filename argument now in android_main -
passed from Java phoenix to native activity
2012-10-16 02:06:20 +02:00
Themaister
a22193d83d Fix potential crash in hermite as well. 2012-10-15 23:13:51 +02:00
Themaister
34713f40d1 Fix spurious segfaults when ratio dips below 1. 2012-10-15 22:53:05 +02:00
Themaister
d8d3442b29 Make rarch_main() the *real* entry point. 2012-10-15 21:50:22 +02:00
twinaphex
bbbdb1ccc0 (Android) Cut down on engine_draw_frame usage 2012-10-15 21:49:17 +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
82d2ee63dc (Android) Move g_android outside of general.h 2012-10-15 19:09:59 +02:00
Themaister
2af0a43ad0 Link against Cg framework on OSX. 2012-10-15 11:01:15 +02:00
Themaister
298600781c Indentation fix. 2012-10-15 09:57:08 +02:00
twinaphex
5ffab01827 (Android) Add g_android global struct - EGLDisplay, EGLContext
and EGLSurface in this struct are temporarily and all code
will be moved to EGL context file
2012-10-15 08:57:23 +02:00
twinaphex
f52d7f462e (360) Build fixes 2012-10-15 07:22:20 +02:00
twinaphex
a7a7671ac0 (Xbox 1) Build fixes 2012-10-15 07:00:58 +02:00
twinaphex
174c7d9d98 (RARCH_CONSOLE) g_console struct removed now - console settings
now a part of g_extern and also compiled in for PC - will use
this for RMenu
2012-10-15 06:25:12 +02:00