Commit Graph

51 Commits

Author SHA1 Message Date
elasota
5d9dde6589 Refactor audio buffering API, this should mainly prevent SDL audio driver from allocating memory in the mixer callback. 2021-04-25 00:34:02 -04:00
elasota
f9d3b91f72 Fixed redundant set 2021-04-20 21:02:11 -04:00
elasota
1dc86a703e Fix somewhat incorrect upscale texture handling. Replace InstancedResources reset with something that's less likely to be undefined behavior. 2021-04-20 20:42:30 -04:00
elasota
c49bab04d5 Fix modulation being applied twice 2021-04-11 10:57:33 -04:00
elasota
71f27f0a05 Fix some suboptimal audio constants. 2021-04-11 01:22:48 -04:00
elasota
b9fe553ff8 Improve mixer performance 2021-04-10 23:56:25 -04:00
elasota
7ae31bc7fc Use fixed latency offset in SDL mixer. This should fix score tick sounds having uneven spacing.
Reduce buffer to 512 samples again.
2021-04-10 21:54:41 -04:00
elasota
93195207dc Disable glGetError calls in release config 2021-04-07 00:03:09 -04:00
elasota
3692a966bf Tweak some values to help with sound choppiness in Chrome slightly, until we port to OpenAL 2021-03-30 05:23:44 -04:00
elasota
a6f6ffcdcc Remove log func 2021-03-30 00:00:07 -04:00
elasota
6fb45f480b Emscripten port 2021-03-29 21:41:11 -04:00
elasota
50f420d2b1 Font system refactor, use pre-rendered fonts 2021-03-27 03:01:19 -04:00
elasota
c87f238563 Display driver loop refactor 2021-03-26 17:05:38 -04:00
elasota
89831f0ff6 Fix Windows SDL build 2021-03-18 19:05:16 -04:00
elasota
7060676b73 Cygwin port 2021-03-18 17:08:11 -04:00
elasota
c981a97a20 Fix fullscreen prefs not working in SDL. Add SDL GameController support. 2021-03-05 01:56:32 -05:00
elasota
a5562f96e0 Move portable things to AerofoilPortable. 2021-03-05 00:35:43 -05:00
elasota
d97bd8ad1c Move some C++11 types from Android to AerofoilSDL. 2021-03-01 01:06:56 -05:00
elasota
e94d1511b1 Add 32-bit support to SDL version 2021-02-28 23:31:13 -05:00
elasota
15bdb97c38 Add volume control to SDL audio driver. 2021-02-28 22:58:01 -05:00
elasota
553e343abe Fix display resolution desynchronizing with auto-position 2020-11-30 02:59:02 -05:00
elasota
3c3f9e3675 Add 2-stage startup for mobile init so there's less black screen 2020-11-25 15:09:31 -05:00
elasota
5c640b72eb Code cleanup, move a lot of "Host" APIs to GpCommon 2020-11-25 12:05:59 -05:00
elasota
a13f90bd71 Fix upscale filter crash 2020-11-04 17:44:22 -05:00
elasota
02bccda8a0 Re-enable text input when selecting a text box if OSK was dismissed 2020-11-03 18:37:31 -05:00
elasota
0d5db76492 Add text input on mobile 2020-11-02 22:06:38 -05:00
elasota
2ab1416eef Improve upscale filter quality on mobile 2020-11-02 19:04:49 -05:00
elasota
64a2d712e3 Improve GL error logging, fix wrong texture upload on GLES2 2020-11-02 01:08:18 -05:00
elasota
232a98a380 Log OpenGL context resets 2020-11-01 13:48:14 -05:00
elasota
23b69cf0ee Lots of Android fixes and stubs. Increase SDL log level on Android. Add GL context loss handling. 2020-10-20 23:43:02 -04:00
elasota
1da35d45ae Don't default to fullscreen in touchscreen simulation mode 2020-10-18 14:55:56 -04:00
elasota
ad5a0795f4 GL error checks, remove GL_ALPHA_TEST check, which doesn't work in GLES2. 2020-10-16 20:06:32 -04:00
elasota
1e1c91915a Fix OpenGL scaling and improve performance 2020-10-14 19:02:55 -04:00
elasota
3347e94b88 Fix GLES2 compile failure 2020-10-14 18:12:12 -04:00
elasota
e4cddda183 Touchscreen improvements 2020-10-14 18:12:02 -04:00
elasota
c13677122c Fix flicker 2020-10-13 10:01:55 -04:00
elasota
aeef313a8a Fix GLES2 flicker crash 2020-10-13 10:00:32 -04:00
elasota
aa2f6dfd2c Fix desaturation not working 2020-10-13 09:47:25 -04:00
elasota
3b6ae1dba5 Android fixups 2020-10-12 00:37:32 -04:00
elasota
5fbf3f5df0 Clean up game thread in SDL version 2020-10-12 00:37:11 -04:00
elasota
184daefe7b Touchscreen things 2020-10-11 19:50:03 -04:00
elasota
5c98783bbb More Android stub-outs and bug fixes. Fix broken SDL fiber sync. 2020-10-10 02:42:06 -04:00
elasota
15282f2ab2 Remove Win32 log driver from SDL project 2020-10-09 16:16:11 -04:00
elasota
4445ea5770 SDL event translation 2020-09-28 17:38:39 -04:00
elasota
9cb60af2b3 SDL audio driver 2020-09-28 09:58:19 -04:00
elasota
e88c9e7112 Redo mouse cursor handling 2020-09-26 21:15:43 -04:00
elasota
db54e92425 Fix flicker effect in OpenGL driver 2020-09-26 16:54:30 -04:00
elasota
c3b1f45f96 Fix missing return value 2020-09-26 16:47:45 -04:00
elasota
45aa5b4cba OpenGL display driver 2020-09-26 16:45:52 -04:00
elasota
1fb135a6d2 Clean up project configs. Remove Win32 targets. Enforce that GP_DEBUG_CONFIG is set correctly. 2020-09-12 23:07:44 -04:00