Back to index

libsfml  1.6+dfsg2
Classes | Namespaces | Defines | Functions
GraphicsContext.hpp File Reference
#include <SFML/Config.hpp>
#include <SFML/System/NonCopyable.hpp>
#include <SFML/Graphics/GLEW/glew.h>
#include <iostream>
#include <string>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sf::priv::GraphicsContext
 RAII class ensuring a valid shared OpenGL context is bound to the current thread for all the lifetime of the instance. It also ensures all third party libraries (like GLEW) are properly initialized This class is for internal use only, it is required to solve tricky problems involving multi-threading /////////////////////////////////////////////////////////. More...

Namespaces

namespace  sf
namespace  sf::priv

Defines

#define GLCheck(Func)   (Func)
 Let's define a macro to quickly check every OpenGL API calls /////////////////////////////////////////////////////////.

Functions

void sf::GLCheckError (const std::string &File, unsigned int Line)
 Check the last OpenGL error.

Define Documentation

#define GLCheck (   Func)    (Func)

Let's define a macro to quickly check every OpenGL API calls /////////////////////////////////////////////////////////.

Definition at line 93 of file GraphicsContext.hpp.