Lukas Dürrenberger
d4d518e1be
Merge branch '2.6.x' into master
2022-10-25 19:17:35 +02:00
Subs
65ef0619c8
[DRM] Use the current resolution
...
In order to prevent an unnecessary modeswitch and use the current TTY resolution, don't use the preferred mode reported by DRM. This is useful for people who set a custom resolution at boot and are forced into the monitor's preferred resolution when a SFML DRM app starts
2022-10-24 00:16:32 +02:00
Subs
1d12c56332
[DRM] Use a GFX card with connected monitors
2022-10-20 00:19:30 +02:00
Chris Thrasher
a5dbe59f07
Merge branch '2.6.x'
2022-10-13 14:33:11 -06:00
Chris Thrasher
a47eb8320a
Remove vendored doctest header
2022-07-20 08:56:59 +02:00
Waldegger
308857702e
Add Android dependency binaries for x86_64 and arm64-v8a architectures
...
* Remove unused libFLAC++.a for all Android architectures
* Enhance GitHub Actions builds
Co-authored-by: Waldegger <Stefan.Waldegger@users.noreply.github.com>
2022-07-19 08:03:16 +02:00
kimci86
6d1e428640
Update glad/egl.h
2022-06-27 20:39:30 +02:00
Chris Thrasher
ce9577bbff
Upgrade to Doctest v2.4.9
...
Fixes some linker errors and a compiler error described here:
https://github.com/doctest/doctest/issues/636
2022-06-23 18:47:23 +02:00
Lukas Dürrenberger
9a6142bd22
Merge branch '2.6.x'
2022-04-27 08:12:25 +02:00
Radek Dutkiewicz
b6ca47e128
DRM Implementation
...
Ported sfml-pi DRM/KMS backend written by @mickelson
Port co-authored by @substring
Co-authored-by: Andrew Mickelson <andrew.mickelson@gmail.com>
Co-authored-by: Gil Delescluse <frog2wah@gmail.com>
2022-04-26 07:44:14 +02:00
Vittorio Romeo
29983aa8d4
Replace Catch with Doctest
2021-12-24 15:06:32 +01:00
Chris Thrasher
0f83e3d266
Use FetchContent to grab latest Catch2 release
...
The key benefit here is that now we're linking against their CMake
target which makes it easy to change how we depend on Catch2. We
can switch from FetchContent to FindPackage to a git submodule and
never have to change our code because we're depending on Catch2 in
the most flexible way possible.
2021-12-21 23:11:15 +01:00
Vittorio Romeo
4a189d6602
Remove build logic for unsupported compilers
2021-12-19 21:51:53 +01:00
Vittorio Romeo
18bb892625
Improve compilation times by removing some includes and avoiding heavy dependencies
2021-12-19 18:13:07 +01:00
lieff
e458f4651e
Add MP3 decoding support using 'minimp3'
...
Co-authored-by: Lukas Dürrenberger <eXpl0it3r@my-gate.net>
Co-authored-by: Vittorio Romeo <vittorio.romeo@outlook.com>
2021-12-08 08:19:08 +01:00
Vittorio Romeo
6cf124db66
Fix remaining warnings
...
- Fixes in examples
- Fixes across all the modules
2021-11-30 11:25:58 +01:00
binary1248
a759ccd5db
Enable compiler warnings.
2021-11-30 11:25:58 +01:00
Lukas Dürrenberger
600d0f3baf
Use correct rpath value for dependencies
...
FLAC as well as the vorbis libraries weren't correctly pointing to the ogg dependency via rpath, but instead used an absolute path of the build system
2021-11-14 18:31:27 +01:00
binary1248
4fcef893c9
Updated glad loader to OpenGL 4.6 Compatibility Profile as base and added version support defines to GLExtensions.hpp.
2021-03-28 19:26:16 +02:00
Lukas Dürrenberger
0fe1626a1f
Add support for arm64 on macOS
...
The existing dependencies in the extlibs directory
have been updated to use universal frameworks
for both x86_64 and arm64, allowing SFML to built
natively on the new M1 chipset
2021-03-23 20:14:59 +01:00
Jan Haller
ea7408e1ee
Update stb_image (2.16 -> 2.26) and stb_image_write (1.07 -> 1.15)
...
Closes #1711 - race condition on stbi_failure_reason()
This does not only avoid the race condition on the failure string itself, but also makes failure state thread-local, meaning that each string will be correctly associated with the last image it failed to load.
2020-12-06 13:35:00 +01:00
binary1248
6272f853c1
Add support for creating Vulkan window surfaces.
2019-10-16 21:48:24 +02:00
Lukas Dürrenberger
2eb70c6537
Replaced glLoadGen loader with glad loader and dynamically load EGL and GLES extensions as is done for desktop GL.
2019-09-12 23:02:52 +02:00
Lukas Dürrenberger
7d496095a5
Updated catch to v1.12.2
2019-02-19 10:16:38 +01:00
Stefan Schindler
3d46e39e6d
Added Catch unit test framework. Added Vector2(i) unit test. Re-enabled CMake's RPATH feature.
2019-02-19 10:16:38 +01:00
binary1248
22f1b85515
Added support for interfacing with joysticks via DirectInput when it is available.
2018-02-10 14:47:37 +01:00
Laurent Gomila
2aa70def6f
Removed dependency to libjpeg, stb_image_write now supports writing JPEG files
2017-09-28 19:55:10 +02:00
Lukas Dürrenberger
158f410ab5
Updated stb_image to v2.16 and stb_image_write to v1.07.
2017-09-06 00:05:15 +02:00
Lukas Dürrenberger
6b3061d9c2
Updated OpenAL Soft to 1.18.1 for Windows.
2017-08-25 16:29:32 +02:00
sol-prog
700fc7d9e0
Updated the binary libs from exlibs/libs-ios in order to work with Xcode 8 and iOS 10
2017-04-25 14:51:01 +02:00
Marco Antognini
40ae477cc3
Added CFBundleSupportedPlatforms key-value
...
This should improve the signing process of Mac Applications.
This improves the frameworks of external dependencies used by SFML. To
patch sfml-*.framework, one would need to customised the
`MACOSX_FRAMEWORK_INFO_PLIST` cmake property and provide a custom
Info.plist file with CFBundleSupportedPlatforms property set. See
https://cmake.org/cmake/help/latest/prop_tgt/FRAMEWORK.html
This is however not required (probably) if one used dylibs instead.
Related to #1020 and #1036 . Credits go to @kipbits.
2017-02-20 18:23:37 +01:00
Marco Antognini
c98a84a5d8
Update OpenAL-soft for OS X to version 1.17.2
...
Build script: https://gist.github.com/mantognini/05460d9b6a8a272ed188
2016-04-14 09:04:53 +02:00
Lukas Dürrenberger
6b9781475d
Added support for VS 2015.
2015-09-30 08:32:30 +02:00
Lukas Dürrenberger
7b4610b55b
Merge branch 'feature/gl_dev_new'
2015-03-26 10:04:12 +01:00
Ceylo
ce16554763
SFML#541 Use openal-soft 1.16 as default OpenAL framework on OS X instead of the system's one
2015-03-25 22:47:39 +01:00
binary1248
3e397bff4b
Replaced GLEW with (a highly customized) loader generated by glLoadGen, restructured GLExtensions.hpp for easier extension bookkeeping, make use of GLEXT definitions in Shader.cpp and Texture.cpp as well, replaced GL_MAX_TEXTURE_COORDS with GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, implemented flags for requesting a debug or core/compatibility profile context, changed the default context version from 2.0 to 2.1.
2015-03-23 16:10:28 +01:00
Marco Antognini
426b137516
Fixed freetype.framework install name id
...
Changed @executable_path to @rpath
2015-03-19 15:55:20 +01:00
Marco Antognini
b758f9a1dd
Fixed broken symlinks in frameworks
2015-03-12 10:58:32 +01:00
Lukas Dürrenberger
f39e7a9869
Updated FreeType to version 2.5.5.
2015-03-10 13:15:58 +01:00
Lukas Dürrenberger
20af2a4dfa
Merge branch 'feature/no_libsndfile_all_os'
2015-03-10 00:05:00 +01:00
Marco Antognini
66eab23b10
Updated Flac, ogg, vorbis, vorbisenc and vorbisfile for MinGW and MSVC
2015-03-04 09:36:23 +01:00
Mario Liebisch
62933114ec
Android: Moved ogg's os specific header to build properly
2015-03-04 09:36:21 +01:00
Mario Liebisch
0d29d38d20
Android: Added precompiled libraries
2015-03-04 09:36:20 +01:00
Marco Antognini
592a25b768
Added MinGW binaries for FLAC
...
Credit goes to @eXpl0it3r
2015-03-04 09:33:09 +01:00
Marco Antognini
599a16b1f2
Added OS X frameworks: ogg, vorbis, vorbisfile, vorbisenc and flac
...
- Updated CMake installation script
- The build script for the frameworks is available here: https://gist.github.com/mantognini/05460d9b6a8a272ed188
2015-03-04 09:33:08 +01:00
Laurent
d45364b753
Updated external audio libs for iOS
2015-03-04 09:33:07 +01:00
Jonathan De Wachter
3fbfde39a5
Adjusted the new audio backends to compile on Linux
2015-03-04 09:33:06 +01:00
Laurent Gomila
5e0e645f46
Added support for FLAC audio files
2015-03-04 09:33:05 +01:00
Laurent Gomila
6096d22091
Fixed ogg/vorbis MSVC libraries
2015-03-04 09:33:04 +01:00
Laurent Gomila
f0608eaed8
Redesigned the audio encoding/decoding classes to get rid of libsndfile
2015-03-04 09:33:03 +01:00