Commit graph

29 commits

Author SHA1 Message Date
Laurent Gomila 62941c4264 Now using an explicit prefix for OpenGL extension macros, to avoid conflicts 2014-04-20 12:57:51 +02:00
Laurent Gomila 67177ce55c Fixed framebuffer binding messed up after a call to Texture::copyToImage() on OpenGL ES 2014-04-20 12:57:19 +02:00
Laurent e5ee38fc26 Added the iOS port 2014-04-20 12:48:00 +02:00
Jan Haller 12d81304e6 Updated copyright year to 2014 2014-02-06 20:08:26 +01:00
Laurent Gomila 0c39c1b146 Fixed bug with sf::Texture (and especially with sf::RenderTexture) on old graphics cards (#418) 2013-10-30 23:31:42 +01:00
Laurent Gomila 7c4b058c9a The texture matrix is now reset in Texture::bind(NULL) 2013-09-16 22:30:58 +02:00
Laurent Gomila 6b50691551 Solved graphics resources not updated or corrupted when loaded in a thread (#411) 2013-07-01 21:59:46 +02:00
Laurent Gomila 4e8c144879 Updated the year in the copyright notice 2013-04-06 09:34:44 +02:00
Laurent Gomila 91e1743516 Changed Texture::bind and Shader::bind to be static functions, that can accept a null argument 2013-01-08 22:24:43 +01:00
Laurent Gomila c3fb58b33f Texture::bind no longer crashes when the texture is invalid 2012-07-07 21:38:57 +02:00
Laurent Gomila 69f387de22 Fixed bug in texture creation (was a mistake in last commit) 2012-04-01 10:01:53 +02:00
Laurent Gomila 17e6a45a90 Replaced getWidth/getHeight with getSize in sf::Texture and sf::Image 2012-03-31 22:37:13 +02:00
Laurent Gomila ee7cd94220 Fixed various minor warnings 2012-03-17 17:00:19 +01:00
Laurent Gomila d592b2a7d1 Updated the copyright text 2012-03-13 18:37:34 +01:00
Laurent Gomila 7d91763606 Fixed error on ALCheck.hpp and GLCheck.hpp header names 2012-03-11 20:13:50 +01:00
Laurent Gomila 14ac411542 Changed the naming convention for public member variables/functions and free functions (using lowerCase instead of UpperCase) 2012-03-11 19:10:37 +01:00
Laurent Gomila ff5b69d312 Changed the naming convention for member variables (prefix changed from "my" to "m_") 2012-03-09 01:48:45 +01:00
Laurent Gomila 15e9d999b3 Added Window::GetPosition, and renamed some setters in Window for better consistency 2012-03-07 23:29:54 +01:00
Laurent Gomila 4116ad033c Added the sf::Time class 2012-01-19 23:51:06 +01:00
Laurent Gomila 191730ac0d Added a render states cache to improve performances 2011-12-25 22:30:38 +01:00
Laurent Gomila eeff685255 Merge branch 'master' into drawables
Conflicts:
	include/SFML/Graphics/Sprite.hpp
	include/SFML/Graphics/Text.hpp
	src/SFML/Graphics/Sprite.cpp
2011-12-02 20:58:14 +01:00
Laurent Gomila 5bae08a2d8 Implemented the new graphics API:
- Removed the internal classes sf::Renderer and sf::Matrix3
- Split sf::Drawable into sf::Drawable and sf::Transformable
- Added sf::Transform
- Added sf::Vertex
- Added sf::VertexArray
- Types of shapes are now handled with their own derived class
- Modified the Pong example
2011-12-01 23:24:58 +01:00
Laurent Gomila 017ef652f9 Removed the Resource and ResourcePtr classes 2011-11-05 15:50:44 +01:00
Laurent Gomila 5b6c824773 Fixed error in subrect adjustment in Texture::LoadFromImage 2011-10-07 08:03:24 +02:00
Laurent Gomila 1e2aca6e49 Fixed sf::Texture copy constructor 2011-08-19 18:28:21 +02:00
Laurent Gomila 9cda5d0474 Fixed Texture::LoadFromXxx functions not working when loading a sub-rectangle of the image 2011-08-16 08:11:36 +02:00
Laurent Gomila 541509d2a7 sf::Texture's function don't preserve the current texture binding anymore (was used to keep mixing SFML and OpenGL safe, but the potential performance loss was too high -- glGet* may trigger a glFlush) 2011-08-12 15:40:32 +02:00
Laurent Gomila d5ced60dec Fixed font's textures not smoothed 2011-08-07 19:33:26 +02:00
Laurent Gomila e509f01180 Split sf::Image into sf::Image and sf::Texture (implements issue #18) 2011-07-22 22:31:27 +02:00