FS#84 - Rewrite the OpenGL context handling
FS#66 - Free the global rendering context Added thread-local storage classes git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1116 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
3e23e46a64
commit
23bf546b6a
44 changed files with 1263 additions and 405 deletions
|
@ -1,11 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||
<CodeBlocks_workspace_file>
|
||||
<Workspace title="SFML workspace">
|
||||
<Project filename="sfml-system.cbp" />
|
||||
<Project filename="sfml-system.cbp" active="1" />
|
||||
<Project filename="sfml-window.cbp" />
|
||||
<Project filename="sfml-network.cbp" />
|
||||
<Project filename="sfml-graphics.cbp" />
|
||||
<Project filename="sfml-audio.cbp" active="1" />
|
||||
<Project filename="sfml-audio.cbp" />
|
||||
<Project filename="sfml-main.cbp" />
|
||||
<Project filename="..\..\samples\build\codeblocks\ftp.cbp" />
|
||||
<Project filename="..\..\samples\build\codeblocks\opengl.cbp" />
|
||||
|
|
|
@ -138,14 +138,14 @@
|
|||
<Unit filename="..\..\src\SFML\Graphics\Font.cpp" />
|
||||
<Unit filename="..\..\src\SFML\Graphics\FontLoader.cpp" />
|
||||
<Unit filename="..\..\src\SFML\Graphics\FontLoader.hpp" />
|
||||
<Unit filename="..\..\src\SFML\Graphics\GLCheck.cpp" />
|
||||
<Unit filename="..\..\src\SFML\Graphics\GLCheck.hpp" />
|
||||
<Unit filename="..\..\src\SFML\Graphics\GLEW\glew.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="..\..\src\SFML\Graphics\GLEW\glew.h" />
|
||||
<Unit filename="..\..\src\SFML\Graphics\GLEW\glxew.h" />
|
||||
<Unit filename="..\..\src\SFML\Graphics\GLEW\wglew.h" />
|
||||
<Unit filename="..\..\src\SFML\Graphics\GraphicsContext.cpp" />
|
||||
<Unit filename="..\..\src\SFML\Graphics\GraphicsContext.hpp" />
|
||||
<Unit filename="..\..\src\SFML\Graphics\Image.cpp" />
|
||||
<Unit filename="..\..\src\SFML\Graphics\ImageLoader.cpp" />
|
||||
<Unit filename="..\..\src\SFML\Graphics\ImageLoader.hpp" />
|
||||
|
|
|
@ -99,6 +99,9 @@
|
|||
<Unit filename="..\..\include\SFML\System\ResourcePtr.inl" />
|
||||
<Unit filename="..\..\include\SFML\System\Sleep.hpp" />
|
||||
<Unit filename="..\..\include\SFML\System\Thread.hpp" />
|
||||
<Unit filename="..\..\include\SFML\System\ThreadLocal.hpp" />
|
||||
<Unit filename="..\..\include\SFML\System\ThreadLocalPtr.hpp" />
|
||||
<Unit filename="..\..\include\SFML\System\ThreadLocalPtr.inl" />
|
||||
<Unit filename="..\..\include\SFML\System\Unicode.hpp" />
|
||||
<Unit filename="..\..\include\SFML\System\Unicode.inl" />
|
||||
<Unit filename="..\..\include\SFML\System\Vector2.hpp" />
|
||||
|
@ -112,6 +115,7 @@
|
|||
<Unit filename="..\..\src\SFML\System\Randomizer.cpp" />
|
||||
<Unit filename="..\..\src\SFML\System\Sleep.cpp" />
|
||||
<Unit filename="..\..\src\SFML\System\Thread.cpp" />
|
||||
<Unit filename="..\..\src\SFML\System\ThreadLocal.cpp" />
|
||||
<Unit filename="..\..\src\SFML\System\Unicode.cpp" />
|
||||
<Unit filename="..\..\src\SFML\System\Win32\MutexImpl.cpp" />
|
||||
<Unit filename="..\..\src\SFML\System\Win32\MutexImpl.hpp" />
|
||||
|
@ -119,6 +123,8 @@
|
|||
<Unit filename="..\..\src\SFML\System\Win32\Platform.hpp" />
|
||||
<Unit filename="..\..\src\SFML\System\Win32\ThreadImpl.cpp" />
|
||||
<Unit filename="..\..\src\SFML\System\Win32\ThreadImpl.hpp" />
|
||||
<Unit filename="..\..\src\SFML\System\Win32\ThreadLocalImpl.cpp" />
|
||||
<Unit filename="..\..\src\SFML\System\Win32\ThreadLocalImpl.hpp" />
|
||||
<Extensions>
|
||||
<code_completion />
|
||||
<envvars />
|
||||
|
|
|
@ -119,6 +119,8 @@
|
|||
<Unit filename="..\..\include\SFML\Window\WindowStyle.hpp" />
|
||||
<Unit filename="..\..\include\SFML\Window\glew\glew.h" />
|
||||
<Unit filename="..\..\src\SFML\Window\Context.cpp" />
|
||||
<Unit filename="..\..\src\SFML\Window\ContextGL.cpp" />
|
||||
<Unit filename="..\..\src\SFML\Window\ContextGL.hpp" />
|
||||
<Unit filename="..\..\src\SFML\Window\Input.cpp" />
|
||||
<Unit filename="..\..\src\SFML\Window\Joystick.hpp" />
|
||||
<Unit filename="..\..\src\SFML\Window\VideoMode.cpp" />
|
||||
|
|
|
@ -3314,18 +3314,18 @@
|
|||
RelativePath="..\..\src\SFML\Graphics\FontLoader.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\SFML\Graphics\GLCheck.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\SFML\Graphics\GLCheck.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\SFML\Graphics\Glyph.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\SFML\Graphics\GraphicsContext.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\SFML\Graphics\GraphicsContext.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\SFML\Graphics\Image.cpp"
|
||||
>
|
||||
|
|
|
@ -365,6 +365,14 @@
|
|||
RelativePath="..\..\src\SFML\System\Win32\ThreadImpl.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\SFML\System\Win32\ThreadLocalImpl.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\SFML\System\Win32\ThreadLocalImpl.hpp"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath="..\..\src\SFML\System\Clock.cpp"
|
||||
|
@ -470,6 +478,22 @@
|
|||
RelativePath="..\..\include\SFML\System\Thread.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\SFML\System\ThreadLocal.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\SFML\System\ThreadLocal.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\SFML\System\ThreadLocalPtr.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\SFML\System\ThreadLocalPtr.inl"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\SFML\System\Unicode.cpp"
|
||||
>
|
||||
|
|
|
@ -456,6 +456,14 @@
|
|||
RelativePath="..\..\include\SFML\Window\Context.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\SFML\Window\ContextGL.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\SFML\Window\ContextGL.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\SFML\Window\ContextSettings.hpp"
|
||||
>
|
||||
|
|
|
@ -3308,18 +3308,18 @@
|
|||
RelativePath="..\..\src\SFML\Graphics\FontLoader.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\SFML\Graphics\GLCheck.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\SFML\Graphics\GLCheck.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\SFML\Graphics\Glyph.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\SFML\Graphics\GraphicsContext.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\SFML\Graphics\GraphicsContext.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\SFML\Graphics\Image.cpp"
|
||||
>
|
||||
|
|
|
@ -358,6 +358,14 @@
|
|||
RelativePath="..\..\src\SFML\System\Win32\ThreadImpl.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\SFML\System\Win32\ThreadLocalImpl.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\SFML\System\Win32\ThreadLocalImpl.hpp"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath="..\..\src\SFML\System\Clock.cpp"
|
||||
|
@ -427,6 +435,22 @@
|
|||
RelativePath="..\..\src\SFML\System\Thread.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\SFML\System\ThreadLocal.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\SFML\System\ThreadLocal.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\SFML\System\ThreadLocalPtr.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\SFML\System\ThreadLocalPtr.inl"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\SFML\System\Unicode.cpp"
|
||||
>
|
||||
|
|
|
@ -415,6 +415,14 @@
|
|||
RelativePath="..\..\include\SFML\Window\Context.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\SFML\Window\ContextGL.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\SFML\Window\ContextGL.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\SFML\Window\ContextSettings.hpp"
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue