Pure OpenGL capabilities base class.
More...
Pure OpenGL capabilities base class.
Definition at line 29 of file PureHwVideoDiscoverOpenGLbase.h.
#include <PureHwVideoDiscoverOpenGLbase.h>
◆ PureHwVideoDiscoverOpenGLbase() [1/3]
PureHwVideoDiscoverOpenGLbase::PureHwVideoDiscoverOpenGLbase |
( |
const std::string & | sFtrsOGL, |
|
|
const std::string & | sFtrsWGL, |
|
|
const std::string & | sVerOGL, |
|
|
const TPureUInt & | nVidVerGLSLmaj, |
|
|
const TPureUInt & | nVidVerGLSLmin ) |
◆ ~PureHwVideoDiscoverOpenGLbase()
PureHwVideoDiscoverOpenGLbase::~PureHwVideoDiscoverOpenGLbase |
( |
| ) |
|
|
virtual |
◆ PureHwVideoDiscoverOpenGLbase() [2/3]
PureHwVideoDiscoverOpenGLbase::PureHwVideoDiscoverOpenGLbase |
( |
| ) |
|
|
protected |
◆ PureHwVideoDiscoverOpenGLbase() [3/3]
◆ CheckAgainstStandardMinValue()
void PureHwVideoDiscoverOpenGLbase::CheckAgainstStandardMinValue |
( |
GLint | value, |
|
|
GLint | stdValue ) |
|
static |
◆ CheckAgainstStandardMinValuef()
void PureHwVideoDiscoverOpenGLbase::CheckAgainstStandardMinValuef |
( |
GLfloat | value, |
|
|
GLfloat | stdValue ) |
|
static |
◆ CheckAgainstStandardRange()
void PureHwVideoDiscoverOpenGLbase::CheckAgainstStandardRange |
( |
GLint | val1, |
|
|
GLint | val2, |
|
|
GLint | stdVal1, |
|
|
GLint | stdVal2 ) |
|
static |
◆ discoverOpenGLavailability()
virtual bool PureHwVideoDiscoverOpenGLbase::discoverOpenGLavailability |
( |
| ) |
|
|
pure virtual |
Implemented in PureHwVideoDiscoverOpenGL_1_1, PureHwVideoDiscoverOpenGL_1_2, PureHwVideoDiscoverOpenGL_1_3, PureHwVideoDiscoverOpenGL_1_4, PureHwVideoDiscoverOpenGL_1_5, PureHwVideoDiscoverOpenGL_2_0, PureHwVideoDiscoverOpenGL_2_1, PureHwVideoDiscoverOpenGL_3_0, PureHwVideoDiscoverOpenGL_3_1, PureHwVideoDiscoverOpenGL_3_2, PureHwVideoDiscoverOpenGL_3_3, PureHwVideoDiscoverOpenGL_4_0, PureHwVideoDiscoverOpenGL_4_1, PureHwVideoDiscoverOpenGL_4_2, and PureHwVideoDiscoverOpenGL_4_3.
◆ getConsole()
CConsole & PureHwVideoDiscoverOpenGLbase::getConsole |
( |
| ) |
const |
Returns access to console preset with logger module name as this class.
Intentionally not virtual, so the getConsole() in derived class should hide this instead of overriding.
- Returns
- Console instance used by this class.
Definition at line 85 of file PurehwVideoDiscoverOpenGLbase.cpp.
◆ getLoggerModuleName()
const char * PureHwVideoDiscoverOpenGLbase::getLoggerModuleName |
( |
| ) |
|
|
static |
Returns the logger module name of this class.
Intentionally not virtual, so derived class should hide this instead of overriding. Not even private, so user can also access this from outside, for any reason like controlling log filtering per logger module name.
- Returns
- The logger module name of this class.
Definition at line 98 of file PurehwVideoDiscoverOpenGLbase.cpp.
◆ getVersion()
virtual std::string PureHwVideoDiscoverOpenGLbase::getVersion |
( |
| ) |
const |
|
pure virtual |
Implemented in PureHwVideoDiscoverOpenGL_1_1, PureHwVideoDiscoverOpenGL_1_2, PureHwVideoDiscoverOpenGL_1_3, PureHwVideoDiscoverOpenGL_1_4, PureHwVideoDiscoverOpenGL_1_5, PureHwVideoDiscoverOpenGL_2_0, PureHwVideoDiscoverOpenGL_2_1, PureHwVideoDiscoverOpenGL_3_0, PureHwVideoDiscoverOpenGL_3_1, PureHwVideoDiscoverOpenGL_3_2, PureHwVideoDiscoverOpenGL_3_3, PureHwVideoDiscoverOpenGL_4_0, PureHwVideoDiscoverOpenGL_4_1, PureHwVideoDiscoverOpenGL_4_2, and PureHwVideoDiscoverOpenGL_4_3.
◆ isExtensionSupported() [1/2]
TPureBool PureHwVideoDiscoverOpenGLbase::isExtensionSupported |
( |
const char * | extname | ) |
const |
|
protected |
Is the given extension supported?
- Returns
- True if the given extension is supported (exported by the driver), false otherwise.
Definition at line 111 of file PurehwVideoDiscoverOpenGLbase.cpp.
◆ isExtensionSupported() [2/2]
TPureBool PureHwVideoDiscoverOpenGLbase::isExtensionSupported |
( |
const char * | extname, |
|
|
const std::string & | sVidFeaturesOGL, |
|
|
const std::string & | sVidFeaturesWGL ) |
|
static |
Is the given extension supported?
- Returns
- True if the given extension name can be found in either sVidFeaturesOGL or sVidFeaturesWGL, false otherwise.
Definition at line 25 of file PurehwVideoDiscoverOpenGLbase.cpp.
◆ operator=()
◆ printExtensionSupported()
bool PureHwVideoDiscoverOpenGLbase::printExtensionSupported |
( |
const char * | title, |
|
|
const char * | name, |
|
|
std::vector< void * > & | functions ) |
|
protected |
Checks if given extension is supported and prints the result.
Not only extension name string but extension-specific function pointers can be also checked.
- Parameters
-
title | A human-readable short form title of the extension/feature. |
name | The extension name we are checking for. |
functions | Extension-specific function pointers to be checked. This vector becomes empty after the call. |
- Returns
- True if given extension name string is exported by driver and optionally specified function pointers are also valid, otherwise false.
Definition at line 138 of file PurehwVideoDiscoverOpenGLbase.cpp.
◆ nVidVersionGLSLmaj
const TPureUInt& PureHwVideoDiscoverOpenGLbase::nVidVersionGLSLmaj |
|
protected |
◆ nVidVersionGLSLmin
const TPureUInt& PureHwVideoDiscoverOpenGLbase::nVidVersionGLSLmin |
|
protected |
◆ sVidFeaturesOGL
const std::string& PureHwVideoDiscoverOpenGLbase::sVidFeaturesOGL |
|
private |
◆ sVidFeaturesWGL
const std::string& PureHwVideoDiscoverOpenGLbase::sVidFeaturesWGL |
|
private |
◆ sVidVersionOGL
const std::string& PureHwVideoDiscoverOpenGLbase::sVidVersionOGL |
|
private |
◆ tmpRet
GLint PureHwVideoDiscoverOpenGLbase::tmpRet[6] |
|
protected |
◆ tmpRetf
GLfloat PureHwVideoDiscoverOpenGLbase::tmpRetf[2] |
|
protected |
The documentation for this class was generated from the following files: