Commit Graph

4333 Commits

Author SHA1 Message Date
Themaister
d7c7ad279e Update version strings to 0.9.8-beta1. 2012-11-07 23:33:22 +01:00
Themaister
752b7608e7 Fix audio test. 2012-11-07 23:42:23 +01:00
Themaister
6421fe248b Optimize SINC resampler.
Trade memory for performance. Avoid using linear interpolation
between phases.
2012-11-07 23:27:31 +01:00
Themaister
ef418260de Shut up clang about inline asm.
We make sure to only compile it in for GCC compatible compilers.
2012-11-06 19:05:00 +01:00
Themaister
bebe0d78a7 Optimize sinc for AVX as well.
Disable it for now however, as it's slightly slower
than SSE1 for the few taps we're using.

From testing, it's 10-20% faster when number of taps are increased.
The AVX path might need some more tuning, but it's fair to
assume the algorithm is memory bound.
2012-11-06 18:52:09 +01:00
twinaphex
71191c1440 (RGLv2) Take out accidental swap file 2012-11-06 09:36:30 +01:00
twinaphex
5580c201b1 (PS3) Committed RGL v2 - PS3 build should now compile again 2012-11-06 09:23:41 +01:00
Themaister
330e724f34 Use vec_madd instead of vec_mul.
vec_mul was apparently a POWER7 instruction.
2012-11-06 09:26:28 +01:00
twinaphex
876bf69a80 (PS3) Hack around vec_mul not being supported for PS3 VMX/Altivec
for now
2012-11-06 03:33:00 +01:00
twinaphex
fcf75398ea (PS3) Get build at least working again 2012-11-06 02:37:36 +01:00
Themaister
cb6ae7726a Fix derp. 2012-11-06 01:50:10 +01:00
Themaister
aa6d291707 Style nits. 2012-11-05 11:57:40 +01:00
twinaphex
af648b6598 (Performance) Use one single unsigned variable instead of
multiple bools - also introduce bitmasks
2012-11-05 09:06:00 +01:00
Themaister
9f3af988f1 Only build D3D as C++ on Win32.
Fix a couple of headers with #ifdef __cplusplus.
2012-11-04 22:56:41 +01:00
Themaister
df53e3eee4 Compile in D3D9 by default. 2012-11-04 00:48:13 +01:00
Themaister
18f704988d Add perf counter to d3d frame. 2012-11-04 00:14:43 +01:00
Themaister
29158640e6 Slim down double ifdef. 2012-11-03 23:11:27 +01:00
twinaphex
c89a601b2e (Android) Take out (erroneous) HAVE_FIXED_POINT ifdef 2012-11-03 23:04:33 +01:00
Themaister
61a5b42ee7 Purge some more fixed point cruft. 2012-11-03 23:03:57 +01:00
Themaister
aaefdbf27e Remove lingering HAVE_FIXED_POINT define. 2012-11-03 23:02:27 +01:00
twinaphex
f6031379f4 Remove HAVE_FIXED_POINT in general.h 2012-11-03 23:00:42 +01:00
twinaphex
55562a96af (Android) Clean up native glue code + inline some stuff 2012-11-03 22:52:41 +01:00
twinaphex
f4d6fedd44 (Android) Add commented-out NEON CFLAG for now 2012-11-03 22:26:15 +01:00
Themaister
879efadf01 Fix CXXBUILD. 2012-11-03 22:22:49 +01:00
twinaphex
6932f866ca (Android) Try to reduce call stack by pointing everything in thread entry function 2012-11-03 21:03:14 +01:00
Themaister
3e2863af4a Add VOLUME_UP, VOLUME_DOWN to command interface. 2012-11-03 20:12:57 +01:00
twinaphex
610b54e3b2 (Android) Some initial context restoring in EGL context 2012-11-03 19:23:52 +01:00
twinaphex
46a4efd885 (Android) Better lifecycle management - getting close to restoring state 2012-11-03 19:06:55 +01:00
twinaphex
2e58e25dbe (Android) Can now cleanly exit with back button - lifecycle event
improvements
2012-11-03 17:42:09 +01:00
twinaphex
09b4630ef4 (Griffin) Quick build fix 2012-11-03 16:40:47 +01:00
twinaphex
89e77ee9b5 (Griffin) Add audio override hooks for OpenSL 2012-11-03 16:40:47 +01:00
Themaister
91edc8ff49 Add volume control.
It imposes no performance loss as it is performed
during s16->float conversion.

It is however grouped together with check_mute.
2012-11-03 14:15:03 +01:00
twinaphex
71f71c909d (Android) Implement macro override calls for Android - for bypassing
several layers of function call indirection
2012-11-03 10:18:08 +01:00
twinaphex
e0e5e8cb1b (Android GLSL) MAX_PROGRAMS 8 instead of 16, MAX_TEXTURES 4 instead
of 8, PREV_TEXTURES 3 instead of 7
2012-11-03 09:35:18 +01:00
twinaphex
a3c14626a4 (GL) Use macro defines for context functions - will override this for
Griffin targets in order to avoid function pinter
2012-11-03 09:18:31 +01:00
twinaphex
9da9c8042b (Android) Use Griffin - faster 2012-11-03 08:42:33 +01:00
twinaphex
724206c348 (Android) reinsert native glue code 2012-11-03 07:17:55 +01:00
twinaphex
faba5f4c13 (Android) Fixup input logs 2012-11-03 04:36:32 +01:00
twinaphex
1d31f7efa0 (Android) All keyboard hotkeys work now 2012-11-03 00:57:47 +01:00
twinaphex
0dbcdb087d (Android) Rewrite of input code 2012-11-03 00:31:05 +01:00
Themaister
d875c78988 Add input_enable_hotkey to joyconfig. 2012-11-02 23:27:08 +01:00
Themaister
0ac3ee7d31 Add input_hotkey_enable.
Adds a mechanism to toggle when hotkeys are enabled.
2012-11-02 23:26:29 +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
Themaister
6ce23c57df Fix x86_cpuid to preserve ebx for PIC. 2012-11-02 21:25:54 +01:00
twinaphex
312a81a663 (Android) Set -fno-stack-protector 2012-11-02 18:11:34 +01:00
twinaphex
66c830a9a1 (Android) Rename sse3 to ssse3 2012-11-02 05:32:52 +01:00
twinaphex
18aa791296 (Android) Now detects if CPU has NEON or SSE3 2012-11-02 05:27:58 +01:00
twinaphex
7ac8d02a05 (Android) Performance changes - build fix 2012-11-02 04:13:35 +01:00
Themaister
36f32696b2 Always compile in performance.c on Win32. 2012-11-01 22:40:42 +01:00
Themaister
c6b50d2645 Add CPU feature detection for X86. 2012-11-01 22:31:24 +01:00