![]() |
PURE API 0.5
PR00F's Ultimate Rendering Engine full documentation
|
Pure OpenGL 1.2 capabilities class. More...
Pure OpenGL 1.2 capabilities class.
Definition at line 23 of file PureHwVideoDiscoverOpenGL_1_2.h.
#include <PureHwVideoDiscoverOpenGL_1_2.h>
Public Member Functions | |
PureHwVideoDiscoverOpenGL_1_2 (const std::string &sVidFeaturesOGL, const std::string &sVidFeaturesWGL, const std::string &sVidVersionOGL, const TPureUInt &nVidVersionGLSLmaj, const TPureUInt &nVidVersionGLSLmin) | |
virtual | ~PureHwVideoDiscoverOpenGL_1_2 () |
virtual std::string | getVersion () const |
virtual bool | discoverOpenGLavailability () |
This method checks for related OpenGL extensions, however final verdict on extension support is declared by Discover...Availability() functions of this class. | |
void | DiscoverDrawRangeElementsAvailability () |
Query draw range elements availability. | |
TPureBool | isNativeDIBFormatSupported () const |
Gets whether uploading of native DIBs (BGRA) is supported or not. | |
TPureBool | isDrawRangeElementsSupported () const |
Gets whether DrawRangeElements is supported or not. | |
![]() | |
PureHwVideoDiscoverOpenGLbase (const std::string &sFtrsOGL, const std::string &sFtrsWGL, const std::string &sVerOGL, const TPureUInt &nVidVerGLSLmaj, const TPureUInt &nVidVerGLSLmin) | |
virtual | ~PureHwVideoDiscoverOpenGLbase () |
CConsole & | getConsole () const |
Returns access to console preset with logger module name as this class. | |
Protected Member Functions | |
PureHwVideoDiscoverOpenGL_1_2 () | |
PureHwVideoDiscoverOpenGL_1_2 (const PureHwVideoDiscoverOpenGL_1_2 &) | |
PureHwVideoDiscoverOpenGL_1_2 & | operator= (const PureHwVideoDiscoverOpenGL_1_2 &) |
![]() | |
PureHwVideoDiscoverOpenGLbase () | |
PureHwVideoDiscoverOpenGLbase (const PureHwVideoDiscoverOpenGLbase &) | |
PureHwVideoDiscoverOpenGLbase & | operator= (const PureHwVideoDiscoverOpenGLbase &) |
TPureBool | isExtensionSupported (const char *extname) const |
Is the given extension supported? | |
bool | printExtensionSupported (const char *title, const char *name, std::vector< void * > &functions) |
Checks if given extension is supported and prints the result. | |
Private Attributes | |
TPureBool | bSuppBGRAtex |
Is uploading textures in BGRA-format available? | |
TPureBool | bSuppDrawRangeElements |
Is DrawRangeElements supported? | |
Additional Inherited Members | |
![]() | |
static TPureBool | isExtensionSupported (const char *extname, const std::string &sVidFeaturesOGL, const std::string &sVidFeaturesWGL) |
Is the given extension supported? | |
static void | CheckAgainstStandardMinValue (GLint value, GLint stdValue) |
Checks given value against given standard value. | |
static void | CheckAgainstStandardMinValuef (GLfloat value, GLfloat stdValue) |
Checks given value against given standard value. | |
static void | CheckAgainstStandardRange (GLint val1, GLint val2, GLint stdVal1, GLint stdVal2) |
Checks given range against given standard range. | |
static const char * | getLoggerModuleName () |
Returns the logger module name of this class. | |
![]() | |
const TPureUInt & | nVidVersionGLSLmaj |
GLSL major version. | |
const TPureUInt & | nVidVersionGLSLmin |
GLSL minor version. | |
GLint | tmpRet [6] |
Hold for glGetInteger...() results. | |
GLfloat | tmpRetf [2] |
Hold for glGetFloat...() results. | |
|
inline |
Definition at line 31 of file PureHwVideoDiscoverOpenGL_1_2.h.
|
inlinevirtual |
Definition at line 48 of file PureHwVideoDiscoverOpenGL_1_2.h.
|
inlineprotected |
Definition at line 154 of file PureHwVideoDiscoverOpenGL_1_2.h.
|
inlineprotected |
Definition at line 160 of file PureHwVideoDiscoverOpenGL_1_2.h.
|
inline |
Query draw range elements availability.
Definition at line 102 of file PureHwVideoDiscoverOpenGL_1_2.h.
|
inlinevirtual |
This method checks for related OpenGL extensions, however final verdict on extension support is declared by Discover...Availability() functions of this class.
Some higher level manager first invokes this method, then later based on some logic it invokes the Discover...Availability() functions of this class. This class doesn't limit the way you invoke its public functions as this class is not intended to have that kind of logic, however the order is important from the perspective of the logic of the higher-level class, including logging.
Implements PureHwVideoDiscoverOpenGLbase.
Definition at line 61 of file PureHwVideoDiscoverOpenGL_1_2.h.
|
inlinevirtual |
Implements PureHwVideoDiscoverOpenGLbase.
Definition at line 50 of file PureHwVideoDiscoverOpenGL_1_2.h.
|
inline |
Gets whether DrawRangeElements is supported or not.
Definition at line 148 of file PureHwVideoDiscoverOpenGL_1_2.h.
|
inline |
Gets whether uploading of native DIBs (BGRA) is supported or not.
Definition at line 140 of file PureHwVideoDiscoverOpenGL_1_2.h.
|
inlineprotected |
Definition at line 161 of file PureHwVideoDiscoverOpenGL_1_2.h.
|
private |
Is uploading textures in BGRA-format available?
Definition at line 164 of file PureHwVideoDiscoverOpenGL_1_2.h.
|
private |
Is DrawRangeElements supported?
Definition at line 165 of file PureHwVideoDiscoverOpenGL_1_2.h.