Ivan Epifanov
333d5e11e1
Add drawstate cache
2021-03-08 09:07:12 -08:00
Ivan Epifanov
56bde0f633
Rename memory functions to avoid clash with vita2d
2021-03-08 09:07:12 -08:00
Ivan Epifanov
94d7737bef
Texture render target
2021-03-08 09:07:12 -08:00
Ivan Epifanov
63e223fa50
Set initial blend mode
2021-03-08 09:07:12 -08:00
Ivan Epifanov
6c3bf56503
Unified build with both renderers
2021-03-08 09:07:12 -08:00
Ivan Epifanov
a1adc8a9d6
Add sensor support
2021-03-08 09:07:12 -08:00
Ivan Epifanov
bd14aa633f
Autobuild
2021-03-08 09:07:12 -08:00
Ivan Epifanov
0131105408
Fix render name
2021-03-08 09:07:12 -08:00
Ivan Epifanov
6ba8497518
Remove vita2d render, add raw gxm render
2021-03-08 09:07:12 -08:00
Ivan Epifanov
ef0bbfd6c6
Include anf fix vita2d renderer
2021-03-08 09:07:12 -08:00
Ivan Epifanov
dbb730d395
Separate vita piglet renderer. Add proper render initialization and window re-creation.
2021-03-08 09:07:12 -08:00
Ivan Epifanov
d75ea51ac0
Fix texture shaders
2021-03-08 09:07:12 -08:00
Ivan Epifanov
194c813893
Fix filesystem
2021-03-08 09:07:12 -08:00
Ivan Epifanov
73b545ed28
Fix joystick support
2021-03-08 09:07:12 -08:00
Ivan Epifanov
41d6c80b07
Filesystem module
2021-03-08 09:07:12 -08:00
Ivan Epifanov
2e3dd0a668
Remove debug log
2021-03-08 09:07:12 -08:00
Ivan Epifanov
8003623061
Cg shaders for vita gles2
2021-03-08 09:07:12 -08:00
Ivan Epifanov
2d64e37e41
Initial rebase of xerpi's port
2021-03-08 09:07:12 -08:00
Ozkan Sezer
bd06538778
configure: fix wrong AS_HELP_STRING quoting.
2021-03-08 17:02:28 +03:00
Sylvain
b6b0c908bd
Dynapi: fix 'gendynapi.pl' script for array parameters
2021-03-08 13:56:26 +01:00
Ozkan Sezer
a7938107ae
fix SDLK_DELETE after commit 2f5beac190
2021-03-06 11:28:04 +03:00
Lokathor
2f5beac190
Change octal char literals to hex char literals
...
This should not change anything at all within the compiled library, but it does make the header file easier to read for non-C programmers who don't expect an octal value.
2021-03-05 17:18:41 -08:00
Cameron Cawley
391bb80bb9
Replace duplicate functions and lstrlen/lstrcat with SDL string functions
2021-03-05 12:03:58 -08:00
Ethan Lee
67e8522d31
Add SDL_GetAudioDeviceSpec.
...
This API is supported by pipewire, pulseaudio, coreaudio, wasapi, and disk.
2021-03-05 12:03:07 -08:00
Subs
00fabdde18
Make github CI great again
...
The current CI doesn't work and can be fixed. To steps, use a matrix to build on various OS + allow platform specific flags.
The linux build should cover a wider case of video backends.
2021-03-04 22:02:47 -08:00
Ozkan Sezer
686935542e
dos2unix SDL_dynapi_*.h
2021-03-04 23:50:40 +03:00
Ozkan Sezer
34ecd71e80
CMake: don't add -Wl,--no-undefined to LDFLAGS for clang+windows cases
...
from a patchset by Vladislav Dmitrievich Turbanov:
https://github.com/libsdl-org/SDL/pull/4062
2021-03-04 18:44:04 +03:00
Ozkan Sezer
3880174a9f
CMake: set OPT_DEF_LIBC to ON for clang case, too.
...
from a patchset by Vladislav Dmitrievich Turbanov:
https://github.com/libsdl-org/SDL/pull/4062
2021-03-04 18:40:56 +03:00
Ozkan Sezer
05cc9e3764
CMake: move GCC check after CLANG, so that CLANG is properly recognized
...
from a patchset by Vladislav Dmitrievich Turbanov:
https://github.com/libsdl-org/SDL/pull/4062
2021-03-04 18:40:50 +03:00
Ozkan Sezer
81cdb1bb0d
test: add unifont-9.0.02.hex as a resource (so it works out-of-the-box)
...
from a patchset by Vladislav Dmitrievich Turbanov:
https://github.com/libsdl-org/SDL/pull/4062
2021-03-04 18:32:32 +03:00
Ozkan Sezer
a52d0db532
test/CMakeLists.txt: add OpenGL module checks and adjust dependencies.
...
from a patchset by Vladislav Dmitrievich Turbanov:
https://github.com/libsdl-org/SDL/pull/4062
2021-03-04 18:28:10 +03:00
Ozkan Sezer
e7abf96801
test/CMakeLists.txt: bump cmake minimum required to 3.0 for consistency
...
from a patchset by Vladislav Dmitrievich Turbanov:
https://github.com/libsdl-org/SDL/pull/4062
2021-03-04 18:28:04 +03:00
Ozkan Sezer
dd5aff308a
SDL_fillrect.c: updated SSE_BEGIN macro for windows clang-cl
...
from a patchset by Vladislav Dmitrievich Turbanov:
https://github.com/libsdl-org/SDL/pull/4062
2021-03-04 18:27:56 +03:00
Ozkan Sezer
0ed1713128
update SDL_COMPOSE_ERROR macro for windows clang-cl
...
from a patchset by Vladislav Dmitrievich Turbanov:
https://github.com/libsdl-org/SDL/pull/4062
2021-03-04 18:27:47 +03:00
Ozkan Sezer
e228d15261
SDL_config_windows.h: added clang to list of toolchains having stdint.h
...
from a patchset by Vladislav Dmitrievich Turbanov:
https://github.com/libsdl-org/SDL/pull/4062
2021-03-04 18:27:37 +03:00
Ozkan Sezer
c1c4f274c3
cpuinfo: updated xgetbv call for windows clang-cl.
...
from a patchset by Vladislav Dmitrievich Turbanov:
https://github.com/libsdl-org/SDL/pull/4062
2021-03-04 18:27:32 +03:00
Sylvain
e88d78462e
Update SDL_blit_auto.c
2021-03-04 14:36:33 +01:00
Sylvain
ab0cf42a4b
Software nearest scaling: start at the middle of pixel
...
so that it matches opengl GL_NEAREST mode most of the time
2021-03-04 14:33:56 +01:00
Ozkan Sezer
ac8a3fda8f
fix prepare_audiospec() possibly missing a bad SDL_AUDIO_CHANNELS env.
2021-03-03 20:33:20 +03:00
Nicolas Noble
6158621610
Update cpuid code for clang-cl
...
The clang-cl compiler defines `__llvm__` but not `__GNUC__`. The `__cpuid` intrinsic doesn't seem to exist with clang-cl, so the code won't link properly. The `__GNUC__` versions of these functions will work properly on Windows with clang-cl.
2021-03-03 15:37:21 +03:00
Frank Praznik
4de0c74aa7
audio: pipewire: Add the application name to the stream properties
2021-03-02 12:59:04 -08:00
Frank Praznik
9ed01da701
audio: pipewire: Constify and clarify period size calculations
...
Constify the min/max period variables, use a #define for the base clock rate used in the calculations and note that changing the upper limit can have dire side effects as it's a hard limit in Pipewire.
2021-03-02 12:59:04 -08:00
Frank Praznik
d7ca855c2b
audio: pipewire: Add missing static qualifiers to globals
2021-03-02 12:59:04 -08:00
Oschowa
84c44e01d3
audio: pipewire: fix uninitialized variable warnings
2021-03-01 09:34:04 -08:00
Ozkan Sezer
0a68322170
add missing PIPEWIRE defines to SDL_config.h.in
...
also specify 'audio' in Pipepire configuration enable messages.
2021-03-01 15:11:50 +03:00
Frank Praznik
7001b531c6
audio: pipewire: Add vim format lines to files and fix indentation
...
Increase indentation spacing from 2 to 4 to comply with style standards.
2021-02-28 19:40:09 -08:00
Frank Praznik
2fcba50ec9
audio: pipewire: Code and comment cleanups
...
Replace "magic numbers" with #defines, explain the requirements when using the userdata pointer in the node_object struct and a few other minor code and comment cleanups.
2021-02-28 19:40:09 -08:00
Frank Praznik
4eadd147cd
audio: pipewire: Fix outdated comment
2021-02-28 19:40:09 -08:00
Frank Praznik
cd56f1b346
audio: pipewire: Use "rear" designation for rear channels
...
Use the 'R' (rear) prefixed designations for the rear audio channels instead of 'S' (surround). Surround designated channels are only used in the 8 channel configuration.
2021-02-28 19:40:09 -08:00
Frank Praznik
adc0a931dd
audio: Move Pipewire bootstrap after Jack
...
Move the Pipewire audio driver below others in the list so it won't be mistakenly initialized when it's not the system mixer.
2021-02-28 19:40:09 -08:00