SFML playground
Go to file
Fytch c678cae498 fixed sf::Image::create
Discussion thread: http://en.sfml-dev.org/forums/index.php?topic=20875.0
Basically, the issue with sf::Image::create was, that it would either
occupy space, it doesn't need, because std::vector::resize doesn't
actually shrink the vector, or reallocate in an inefficient way by
needlessly copying the whole old image over. Neither did it grant strong
exception safety guarantee because it changed the non-throwing members
(m_size) prior to doing the critical stuff (reallocating) which may
throw. Changing the order and using a temporary
(create-temporary-and-swap idiom; see http://www.gotw.ca/gotw/059.htm)
fixes both of these problems.
2017-01-23 16:52:21 +01:00
cmake Added some simple messaging when trying to build under Cygwin 2016-10-04 09:33:15 +02:00
doc Android: Added sf::getNativeActivity() to retrieve a handle to the current activity 2016-04-22 15:53:14 +02:00
examples Added missing setActive virtual method to sf::RenderTarget, added setActive calls to OpenGL example to demonstrate proper explicit context management. 2016-10-13 17:01:41 +02:00
extlibs Update OpenAL-soft for OS X to version 1.17.2 2016-04-14 09:04:53 +02:00
include/SFML Changed fillAndPushBuffer to use a retry loop. 2016-11-08 08:28:05 +01:00
src/SFML fixed sf::Image::create 2017-01-23 16:52:21 +01:00
tools Update copyright dates 2016-08-05 16:20:39 +02:00
.editorconfig Added an .editorconfig file 2015-02-06 11:07:39 +01:00
.gitattributes Added a FLAC file to the Sound example to cover all three supported formats. 2015-03-28 22:49:46 +01:00
changelog.txt Incremented SFML version number and added changes to the changelog. 2016-11-04 10:43:50 +01:00
CMakeLists.txt Incremented SFML version number and added changes to the changelog. 2016-11-04 10:43:50 +01:00
CONTRIBUTING Added CONTRIBUTING guidelines 2015-08-17 20:05:26 +02:00
license.txt Update copyright dates 2016-08-05 16:20:39 +02:00
readme.txt Increased version to 2.3, updated the changelog and license and added Mario to the readme.txt. 2015-05-03 21:53:53 +02:00

SFML - Simple and Fast Multimedia Library
=========================================

SFML is a simple, fast, cross-platform and object-oriented multimedia API. It provides access to windowing, graphics, audio and network.
It is written in C++, and has bindings for various languages such as C, .Net, Ruby, Python.

Authors
-------

Laurent Gomila - main developer (laurent@sfml-dev.org)
Marco Antognini - OS X developer (hiura@sfml-dev.org)
Jonathan De Wachter - Android developer (dewachter.jonathan@gmail.com)
Jan Haller (bromeon@sfml-dev.org)
Stefan Schindler (tank@sfml-dev.org)
Lukas Dürrenberger (eXpl0it3r@sfml-dev.org)
binary1248 (binary1248@hotmail.com)
Artur Moreira (artturmoreira@gmail.com)
Mario Liebisch (mario@sfml-dev.org)

Download
--------

You can get the latest official release on SFML website (http://www.sfml-dev.org/download.php).
You can also get the current development version from the git repository (https://github.com/SFML/SFML).

Install
-------

Follow the instructions of the tutorials (http://www.sfml-dev.org/tutorials/), there is one for each platform/compiler that SFML supports.

Learn
-----

There are several places to learn SFML:
* The official tutorials (http://www.sfml-dev.org/tutorials/)
* The online API documentation (http://www.sfml-dev.org/documentation/)
* The community wiki (https://github.com/SFML/SFML/wiki/)
* The community forum (http://en.sfml-dev.org/forums/) (or http://fr.sfml-dev.org/forums/ for French people)

Contribute
----------

SFML is an open-source project, and it needs your help to go on growing and improving.
If you want to get involved and suggest some additional features, file a bug report or submit a patch, please have a look at the contribution guidelines (http://www.sfml-dev.org/contribute.php).