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
|
@ -46,10 +46,9 @@ namespace sf
|
|||
namespace priv
|
||||
{
|
||||
class WindowImpl;
|
||||
class ContextGL;
|
||||
}
|
||||
|
||||
class Context;
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// Window is a rendering window ; it can create a new window
|
||||
/// or connect to an existing one
|
||||
|
@ -309,7 +308,7 @@ private :
|
|||
// Member data
|
||||
////////////////////////////////////////////////////////////
|
||||
priv::WindowImpl* myWindow; ///< Platform-specific implementation of the window
|
||||
Context* myContext; ///< Platform-specific implementation of the OpenGL context
|
||||
priv::ContextGL* myContext; ///< Platform-specific implementation of the OpenGL context
|
||||
std::queue<Event> myEvents; ///< Queue of received events
|
||||
Input myInput; ///< Input manager connected to window
|
||||
Clock myClock; ///< Clock for measuring the elapsed time between frames
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue