Testing support class for GlfGLContext.
More...
#include <testGLContext.h>
|
virtual GLF_API bool | IsValid () const |
| Returns true if this context is valid.
|
|
| GlfGLContext (const GlfGLContext &)=delete |
|
GlfGLContext & | operator= (const GlfGLContext &)=delete |
|
GLF_API bool | IsCurrent () const |
| Returns true if this context is current.
|
|
GLF_API bool | IsSharing (GlfGLContextSharedPtr const &otherContext) |
| Returns true if this context is sharing with otherContext.
|
|
virtual bool | IsValid () const =0 |
| Returns true if this context is valid.
|
|
virtual GlfGLContextSharedPtr | CreateSharingContext () |
| Creates a new GlfContext that shares GL resources with this context.
|
|
|
static GLF_API void | RegisterGLContextCallbacks () |
|
static GLF_API GlfTestGLContextSharedPtr | Create (GlfTestGLContextSharedPtr const &share) |
|
static GLF_API GlfGLContextSharedPtr | GetCurrentGLContext () |
| Returns an instance for the current GL context.
|
|
static GLF_API GlfGLContextSharedPtr | GetSharedGLContext () |
| Returns an instance for the shared GL context.
|
|
static GLF_API void | MakeCurrent (const GlfGLContextSharedPtr &context) |
| Makes context current if valid, otherwise makes no context current.
|
|
static GLF_API bool | AreSharing (GlfGLContextSharedPtr const &context1, GlfGLContextSharedPtr const &context2) |
| Returns true if context1 and context2 are sharing.
|
|
static GLF_API bool | IsInitialized () |
| Returns whether this interface has been initialized.
|
|
static GLF_API void | DoneCurrent () |
| Makes no context current.
|
|
|
virtual GLF_API void | _MakeCurrent () |
| Makes this context current.
|
|
virtual GLF_API bool | _IsSharing (const GlfGLContextSharedPtr &rhs) const |
| Returns true if this context is sharing with rhs.
|
|
virtual GLF_API bool | _IsEqual (const GlfGLContextSharedPtr &rhs) const |
| Returns true if this context is equal to rhs .
|
|
virtual void | _MakeCurrent ()=0 |
| Makes this context current.
|
|
virtual bool | _IsSharing (const GlfGLContextSharedPtr &rhs) const =0 |
| Returns true if this context is sharing with rhs.
|
|
virtual bool | _IsEqual (const GlfGLContextSharedPtr &rhs) const =0 |
| Returns true if this context is equal to rhs .
|
|
Testing support class for GlfGLContext.
Definition at line 45 of file testGLContext.h.
◆ _IsEqual()
virtual GLF_API bool _IsEqual |
( |
const GlfGLContextSharedPtr & |
rhs | ) |
const |
|
protectedvirtual |
Returns true
if this context is equal to rhs
.
Implements GlfGLContext.
◆ _IsSharing()
virtual GLF_API bool _IsSharing |
( |
const GlfGLContextSharedPtr & |
rhs | ) |
const |
|
protectedvirtual |
Returns true
if this context is sharing with rhs.
Implements GlfGLContext.
◆ _MakeCurrent()
virtual GLF_API void _MakeCurrent |
( |
| ) |
|
|
protectedvirtual |
◆ IsValid()
virtual GLF_API bool IsValid |
( |
| ) |
const |
|
virtual |
Returns true
if this context is valid.
Implements GlfGLContext.
◆ GlfTestGLContextRegistrationInterface
friend class GlfTestGLContextRegistrationInterface |
|
friend |
The documentation for this class was generated from the following file: