4073 Commits

Author SHA1 Message Date
Themaister
a79ca54bc7 Fix CXX_BUILD. 2012-10-21 23:24:25 +02:00
Themaister
668ff7687e Let CPU filters work with any format. 2012-10-21 22:59:13 +02:00
twinaphex
84abbe110b Merge branch 'rgb565' of https://github.com/Themaister/RetroArch into rgb565 2012-10-21 22:11:30 +02:00
Themaister
1336820a15 Merge branch 'master' into rgb565 2012-10-21 22:01:54 +02:00
Themaister
411bf932b6 Update SDL and XVideo for RGB565. 2012-10-21 21:59:25 +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
6d44198f8a (Android) Slight nit 2012-10-21 16:52:54 +02:00
twinaphex
3ec51cbd23 (Android) Comment out accelerometer code also in event callback 2012-10-21 16:51:04 +02:00
twinaphex
f6e46ce8a4 (Android) Now builds RetroArch libraries for all Android ABIs -
ARM, ARMv7a, MIPS, x86
2012-10-21 16:38:56 +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
Themaister
a2839001f7 Fix warning. 2012-10-21 12:20:53 +02:00
Themaister
a545964be8 Fix crash on frame dupe. 2012-10-21 11:17:21 +01:00
Themaister
a734e18295 Merge branch 'rgb565' of git://github.com/Themaister/RetroArch 2012-10-21 02:11:11 +01:00
Themaister
461cf0fef3 Pre-cache uniform locations in GLSL. 2012-10-21 03:05:10 +02:00
Themaister
81b2cce5ac Pre-cache uniform locations in GLSL. 2012-10-21 03:01:59 +02:00
Themaister
98f4edfe34 Merge branch 'master' of github.com:Themaister/RetroArch into rgb565 2012-10-20 23:52:47 +02:00
Themaister
b6576e91ca Merge branch 'master' of git://github.com/Themaister/RetroArch 2012-10-20 22:46:19 +01:00
Themaister
5a4caf1c51 Fix build on VC.
Conflicts:
	gfx/gl_common.h
2012-10-20 23:46:09 +02:00
Themaister
2145d1c4e2 Use RGB565 in VC context. 2012-10-20 21:55:58 +01:00
Themaister
3bcbc605d7 Merge branch 'master' into rgb565 2012-10-20 22:47:23 +02:00
Themaister
283d17284b Do not use assert() as error handling. 2012-10-20 22:39:46 +02:00
Themaister
653cbf1baa Enforce static on globals that aren't used outside. 2012-10-20 22:36:43 +02:00
Themaister
be491bdbe9 Use RGB565 in libretro-test. 2012-10-20 11:40:32 +02:00
Themaister
cc4e41dafb Merge branch 'master' into rgb565
Conflicts:
	gfx/gl.c
2012-10-20 11:31:38 +02:00
Themaister
dd21ae58d7 Don't initialize globals to NULL. 2012-10-20 10:58:02 +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
Themaister
93078889cc Begin reworking RGB565 as default pixel format. 2012-10-20 01:12:02 +02: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
497f4dfb31 (OpenSL ES) Add workaround for OutputMix - setting volume not working
with Android OSL ES implementation - seems to fail at init now though
2012-10-18 08:03:21 +02:00
twinaphex
943ee288e1 (OpenSL ES) memset pcmData to 0 at init 2012-10-18 07:51:57 +02:00
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