Commit Graph

41 Commits

Author SHA1 Message Date
Anonymous Maarten
f543faf837 Allow in-tree build 2024-10-30 00:04:17 +01:00
Susko3
152bcce85f
Add examples to SDL.sln (#11255) 2024-10-29 07:36:38 -07:00
Anonymous Maarten
45dfdfbb7b Add parametrized build script
[ci skip]
2024-10-14 21:30:48 +02:00
cosmonaut
2e7d5bb429 Add the SDL_GPU API
Project Lead: Evan Hemsley <evan@moonside.games>

Co-designer, Metal Port, Console Ports:

Co-authored-by: Caleb Cornett <caleb.cornett@outlook.com>

Production, QA, Debug:

Co-authored-by: Ethan Lee <flibitijibibo@gmail.com>

SDL_Render Driver, Bugfixes:

Co-authored-by: Andrei Alexeyev <akari@taisei-project.org>

Additional D3D12 Programming, Bugfixes:

Co-authored-by: Bart van der Werf <bluelive@gmail.com>

Bugfixes and Feedback:

Co-authored-by: Zakary Strange <zakarystrange@gmail.com>
Co-authored-by: meyraud705 <meyraud705@gmail.com>
Co-authored-by: Joshua T. Fisher <playmer@gmail.com>
Co-authored-by: Topi Ritala <ritalat@fastmail.com>
Co-authored-by: David Gow <david@ingeniumdigital.com>

Original API Proposal:

Co-authored-by: Ryan C. Gordon <icculus@icculus.org>
2024-08-29 15:57:29 -07:00
Anonymous Maarten
31b3f5ea79 ci: add GDK 2024-08-04 13:07:32 +00:00
Ryan C. Gordon
38f0214e8a audio: Refer to audio devices to "playback" and "recording".
Fixes #9619.
2024-06-15 01:08:12 -04:00
Petar Popovic
410a3c2c37 .gitignore: Adding compile_commands.json and .cache/ 2024-04-26 08:48:22 -07:00
Jade Macho
23ace600fc GDK: Remove old shader sources, unify shader compilation .bats 2024-03-02 10:30:29 -08:00
chalonverse
3a4ac15a27
Make Xbox GDK code public (and fix some GDK code rot) (#8844) 2024-01-14 20:31:41 -08:00
Sam Lantinga
e6e54b22c8 Ignore all surface comparison output files in the testautomation directory 2023-12-19 08:48:44 -08:00
Starbuck5
4cffbc3644 Add VS code directory to gitignore 2023-07-25 23:36:14 -07:00
Wohlstand
cddcc4f406 Don't ignore "build-scripts" 2023-05-30 19:56:17 -07:00
Wohlstand
8e0b47331f Also ignore "build-*/" sub-directories
Locally, I do make multiple build directories for various purposes, like "build-debug", "build-release", "build-novideo", etc. Also, Qt Creator (if configure it) may automatically create build directories that always starts with a "build-*" prefix.
2023-05-30 19:56:17 -07:00
Anonymous Maarten
549cedfa88 include: add \brief to includes 2023-02-19 10:01:33 -08:00
Sam Lantinga
6084d60c66 Removed QtCreator entries from .gitignore
We don't use QtCreator in the SDL project, and it matches the build-scripts directory
2023-01-04 11:18:18 -08:00
Sam Lantinga
1d956c2817 Rename SDL2 tests for SDL3 2023-01-03 11:54:35 -08:00
Sam Lantinga
659abc721a SDL API renaming: SDL_gamecontroller.h
SDL_gamecontroller.h has been renamed SDL_gamepad.h, and all APIs have been renamed to match.

Fixes https://github.com/libsdl-org/SDL/issues/6885
2022-12-27 09:47:24 -08:00
Sam Lantinga
074a2b0f30 Cleaned up .gitignore, removing autotools files
This also removes various names for build directories. We're not going to add everyone's random build directory name, if you want git to appear clean you can build in the build subdirectory or out of tree.
2022-12-24 08:39:29 -08:00
Sam Lantinga
b7ac14f2bd Ignore __pycache__ directory 2022-12-23 20:33:09 -08:00
Simon McVittie
4a46a9e372 .gitignore: Replace all SDL2 with SDL3
Some of these are probably unnecessary now that Autotools (with its
optional in-tree builds) has been deleted in favour of CMake (with
mandatory out-of-tree builds), but let's be consistent.

Spotted while doing a `git grep` for other bugs of the same form as #6801.

Signed-off-by: Simon McVittie <smcv@collabora.com>
2022-12-13 09:02:28 -05:00
Anonymous Maarten
9eb4d1f020 cmake: use FindALSA.cmake to find ALSA libraries
Co-authored-by: nfarid <54642193+nfarid@users.noreply.github.com>
2022-12-12 01:37:01 +01:00
Ozkan Sezer
34231f5ba0 reverted opengles removal. 2022-11-23 18:50:02 +03:00
Ozkan Sezer
bd5d26071a removed testgles.c remnants. 2022-11-22 22:14:14 +03:00
Ozkan Sezer
d8864ea11d removed visualtest 2022-11-22 18:47:03 +03:00
Sam Lantinga
8ae46a49ea Save the version in VERSION.txt instead of VERSION
Fixes https://github.com/libsdl-org/SDL/issues/6558
2022-11-21 06:57:02 -08:00
Simon McVittie
2dc788cb9f build: Expand version info in SDL_REVISION and SDL_GetRevision()
Instead of using a URL and git sha1, this uses `git describe` to
describe the version relative to the nearest previous git tag, which
gives a better indication of whether this is a release, a prerelease,
a slightly patched prerelease, or a long way after the last release
during active development.

This serves two purposes: it makes those APIs more informative, and it
also puts this information into the binary in a form that is easy to
screen-scrape using strings(1). For instance, if the bundled version of
SDL in a game has this, we can see at a glance what version it is.

It's also shorter than using the web address of the origin git
repository and the full git commit sha1.

Also write the computed version into a file ./VERSION in `make dist`
tarballs, so that when we build from a tarball on a system that doesn't
have git available, we still get the version details.

For the Perforce code path in showrev.sh, output the version number
followed by the Perforce revision, in a format reminiscent of
`git describe` (with p instead of g to indicate Perforce).

For the code path with no VCS available at all, put a suffix on the
version number to indicate that this is just a guess (we can't know
whether this SDL version is actually a git snapshot or has been
patched locally or similar).

Resolves: https://github.com/libsdl-org/SDL/issues/6418
Signed-off-by: Simon McVittie <smcv@collabora.com>
2022-10-22 09:27:10 -07:00
Julio C. Rocha
d1e9015639 Update .gitignore 2022-08-24 15:34:46 -07:00
chalonverse
f317d619cc
Xbox GDKX support (#5869)
* Xbox GDK support (14 squashed commits)

* Added basic keyboard testing

* Update readme

* Code review fixes

* Fixed issue where controller add/removal wasn't working (since the device notification events don't work on Xbox, have to use the joystick thread to poll XInput)
2022-07-01 13:59:14 -07:00
Cameron Cawley
9dfa000bc0 Initial support for building for Windows with OpenWatcom 2022-05-19 20:11:10 +03:00
Cameron Gutman
cd66c050fe testsurround: Add surround sound channel tester 2021-10-30 21:26:03 -07:00
Sam Lantinga
0c8277e9bd Added testgeometry to the git ignore file 2021-09-22 09:30:28 -07:00
Cameron Cawley
830206581b Add testmouse 2021-09-09 13:46:58 -07:00
Sam Lantinga
7d8f34cb71 Updated .gitignore from @Zangetsu38 - thanks! 2021-07-24 01:19:58 -07:00
Sam Lantinga
0f00f6dd86 Ignore checkkeysthreads 2021-07-06 10:01:31 -07:00
Philippe Coval
78095e3701 git: Ignore debian generated files
Signed-off-by: Philippe Coval <rzr@users.sf.net>
Change-Id: Iebfef58f41056c01736aba99f38fdedb9ee93013
2021-04-05 15:38:32 -04:00
Cameron Cawley
d79bc0015e Update the .gitignore file 2021-02-17 11:55:01 +03:00
Ozkan Sezer
b34d92bf37 further .gitignore updates 2021-02-14 11:56:40 +03:00
Ozkan Sezer
2faa478325 further .gitignore updates 2021-02-14 11:55:24 +03:00
Ozkan Sezer
67a9d6ba98 updates to .gitignore 2021-02-13 20:50:24 +03:00
erik yuzwa
5cbe62eac0 ignore vs2019 meta folder 2021-02-13 14:27:20 +03:00
Cameron Cawley
9f71a809e9 Rename .hgignore to .gitignore 2021-02-13 02:41:49 +03:00