Commit Graph

43 Commits

Author SHA1 Message Date
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
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
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
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
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
Lukas Dürrenberger
f39e7a9869 Updated FreeType to version 2.5.5. 2015-03-10 13:15:58 +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
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
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
Jonathan De Wachter
218c0897c8 [Android] Added the Android version of extlibs headers 2014-04-20 12:57:18 +02:00
Laurent
e5ee38fc26 Added the iOS port 2014-04-20 12:48:00 +02:00
Laurent Gomila
d077210750 Updated OpenAL to version 1.15.1 2013-08-04 23:07:25 +02: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
Marco Antognini
d5690ae8bc Fixed sndfile load error on OS X 10.5 (Issue #70)
New version of sndfile.framework
2011-07-05 13:52:25 +02:00
Laurent Gomila
4e3feba25b Added external dependencies and modified build files to enable 64 bits builds on Windows (VC++ only for now) 2011-03-26 23:57:10 +01:00
LaurentGom
7687a84f2c Fixed the sndfile.h issue on Mac OS X
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1755 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-13 21:01:49 +00:00
LaurentGom
5e73228b5e Switched to the latest version of FreeType (2.4.3) and recompiled the VC++ version with /MD
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1582 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-15 19:33:58 +00:00
LaurentGom
a991fe8e4d Added support for the CMake build system
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1550 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-19 15:59:24 +00:00
LaurentGom
ff367bdb57 Now using stb_image directly for loading image files, instead of SOIL (which is not maintained anymore)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1542 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-31 14:06:30 +00:00
LaurentGom
3a17e35cac Created DLL build configurations for samples in Code::Blocks and Visual C++ project files
Removed unused stuff from extlibs headers
Removed source files from generated API documentation
Removed the qt and wxwidgets samples
Fixed minor warnings in Packet.cpp

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1499 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-08 16:18:38 +00:00
LaurentGom
a6b9dbfd39 Upgraded external libraries (libpng 1.4.1, zlib 1.2.4, openal-soft 1.12.854) on Windows
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1496 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-07 07:57:32 +00:00
LaurentGom
dbd767376b The external libs used by sfml-graphics are now linked instead of being integrated to the source code
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1491 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-05 19:04:49 +00:00
LaurentGom
914db8bce0 Upgraded to the latest version of OpenAL Soft (1.11.753) on Windows
Fixed linker settings for Code::Blocks projects so that libgcc_s_dw2-1.dll is not required when compiling with gcc 4

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1432 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-02 08:38:45 +00:00
laurentgom
137ef64f2a Upgraded to libsndfile 1.0.19
Removed stb_vorbis

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1071 4e206d99-4929-0410-ac5d-dfc041789085
2009-04-07 12:11:11 +00:00
laurentgom
2f524481c1 Added the trunk/branches/tags directories at repository root, and moved previous root into trunk/
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1002 4e206d99-4929-0410-ac5d-dfc041789085
2009-01-28 16:18:34 +00:00