![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Core/GL/ContextGLX.h>
OpenGL context using GLX as backend. More...
Inheritance diagram for ContextGLX:OpenGL context using GLX as backend.
Public Member Functions | |
| std::unique_ptr< Context > | clone () override |
| Instantiates a new OpenGL context that is shared with this one. | |
| bool | makeCurrent () const override |
| Make context current. | |
| bool | doneCurrent () const override |
| Disable context. | |
| void * | internalHandle () const override |
| Returns the native handle (GLXContext) of this OpenGL context. | |
Public Member Functions inherited from Context | |
| virtual void | detachFromCurrentThread () |
| Removes the binding of the OpenGL context to the current (i.e., calling) thread. | |
| virtual void | moveToCurrentThread () |
| Moves the OpenGL context to the current (i.e., calling) thread. | |
Static Public Member Functions | |
| static std::unique_ptr< ContextGLX > | create (CreateInfo createInfo) |
| Factory function for creating a new Windows OpenGL context. | |
| static bool | hasCurrent () |
| Returns whether the calling thread has a current OpenGL context. | |
| static void * | current () |
| Returns the native handle (GLXContext) representing the OpenGL context current in the calling thread. | |
| static bool | isExtensionSupported (const char *extList, const char *extension) |
Static Public Member Functions inherited from Context | |
| static std::unique_ptr< Context > | create (CreateInfo createInfo) |
| Factory function for creating a new offscreen OpenGL context. | |
Additional Inherited Members | |
Protected Member Functions inherited from Context | |
| virtual void | deinitialize () |
| Clean up internal resources attached to this context. | |
Static Protected Member Functions inherited from Context | |
| static int | defaultPixelBufferSize () |
| Default width and height of the pixel buffer of newly created offscreen contexts. | |
| static void | installDefaultDebugMessageHandler () |
| Sets up the Debug::defaultMessageCallback handler. | |
|
overridevirtual |
Instantiates a new OpenGL context that is shared with this one.
The freshly created context will be made current. This method will throw if the context could not be initialized.
Implements Context.
|
overridevirtual |
Make context current.
Implements Context.
|
overridevirtual |
Disable context.
Implements Context.
|
overridevirtual |
Returns the native handle (GLXContext) of this OpenGL context.
Implements Context.