Commit Graph

81 Commits

Author SHA1 Message Date
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
Jeffrey Clark
f47f89a759 Update stb_image to v2.02 and stb_image_write to v0.97 2015-02-28 12:14:58 +01:00
binary1248
5dbfb477a0 Moved stb_image into the extlibs directory. 2015-02-06 18:32:04 +01:00
Marco Antognini
ba1488ec97 Improve flexibility of dependencies locations on OS X
- Replaced @executable_path by @rpath for more flexibility
 - Updated freetype and sndfile libs as follow:

    install_name_tool -id "@rpath/../Frameworks/freetype.framework/Versions/A/freetype" freetype
    install_name_tool -id "@rpath/../Frameworks/sndfile.framework/Versions/A/sndfile" sndfile
2014-10-07 10:46:05 +02:00
Jonathan De Wachter
e56d697755 [Android] Fixed the audio module not working
Who knew the official version of OpenAL-Soft would work on Android...
2014-06-13 15:58:26 +02:00
Jonathan De Wachter
2caec961ee [Android] Dropped stlport in favor of libc++ which supports C++11 2014-04-20 12:58:27 +02:00
Jonathan De Wachter
218c0897c8 [Android] Added the Android version of extlibs headers 2014-04-20 12:57:18 +02:00
Jonathan De Wachter
663dad18f2 [Android] Fixed compilation issue and enabled audio module for mips arches 2014-04-20 12:57:14 +02:00
Jonathan De Wachter
bc46dfb8f5 [Android] Various adjustements 2014-04-20 12:57:11 +02:00
Jonathan De Wachter
90d8b37442 [Android] Removed ogg, FLAC, vorbis and vorbisenc dependencies 2014-04-20 12:56:46 +02:00
Jonathan De Wachter
cc0d982f72 [Android] Wrote a native activity acting as a bootstrap
A current limitation prevents one library from depending on shared libraries.
As we have legal issues here (LGPL wants us to use shared libs of OpenAL-Soft and libsndfile), we're forced to use this homemade native activity which will manually load our shared libraries.
2014-04-20 12:56:42 +02:00
Jonathan De Wachter
293b85af53 [Android] Recompiled extlibs/ properly
External libraries are compiled with the latest NDK version (r9) with android-9 as API level using the recommended flags (see docs/).
External libraries are now compiled without the so version suffix because the NDK strips it at install time.
Static libraries of libsndfile and OpenAL-Soft have been removed because of their non-permissive license. It now uses their shared libraries.

NOTE: The audio module is disabled on MIPS arches because I was unable to compile OpenAL-Soft. Once the compilation issue fixed, I'll re-enable it.
2014-04-20 12:53:36 +02:00
Jonathan De Wachter
63bbe2c91e Added the Android port 2014-04-20 12:52:04 +02:00
Laurent
e5ee38fc26 Added the iOS port 2014-04-20 12:48:00 +02:00
Marco Antognini
b1c062d84f Fixed incorrect symlink in freetype.framework (close #519) 2014-04-15 20:19:12 +02:00
Laurent Gomila
d077210750 Updated OpenAL to version 1.15.1 2013-08-04 23:07:25 +02:00
Lukas Dürrenberger
4a642014d4 Added x64 binaries for MinGW and adapted the CMake file. 2013-02-19 11:30:12 +01:00
Marco Antognini
54bc864484 Add freetype.framework and edit CMake accordingly. (Close #241)
Freetype version 2.4.11, build for OS X 10.5 and above as universal
binary (i386 + x86_64)
2013-01-19 16:20:01 +01:00
Laurent Gomila
40b5a3fa84 Recompiled dependencies on Windows to fix linker errors when compiling static libs with static runtime 2012-11-01 12:12:53 +01:00