41 class OpenGLTargetProvider;
42 class OpenGLTarget_Impl;
43 class OpenGLContextDescription;
static void set_active_context(const GraphicContext &gc)
Set OpenGL context used by this GraphicContext to be active.
static void set_description(OpenGLContextDescription &desc)
Target should be current (using set_current() ) before using this function.
static std::vector< std::string > get_extensions(const GraphicContext &gc)
Get the list of opengl extensions.
static std::string get_vendor_string(const GraphicContext &gc)
Get the opengl vendor string.
static OpenGLContextDescription get_description()
Target should be current (using set_current() ) before using this function.
static void get_opengl_version(const GraphicContext &gc, int &version_major, int &version_minor)
Get the opengl version.
Display target for clanDisplay.
Definition: opengl_target.h:46
static bool is_current()
Returns true if this display target is the current target.
static void get_opengl_shading_language_version(const GraphicContext &gc, int &version_major, int &version_minor)
Get the opengl shading language version.
Interface to drawing graphics.
Definition: graphic_context.h:256
static std::string get_renderer_string(const GraphicContext &gc)
Get the opengl renderer string.
static void set_current()
Set this display target to be the current target.
OpenGL context specific settings.
Definition: opengl_context_description.h:41