|
|
@ -84,6 +84,8 @@ struct CGlExtensions
|
|
|
|
bool FrameBufferMultisample;
|
|
|
|
bool FrameBufferMultisample;
|
|
|
|
bool PackedDepthStencil;
|
|
|
|
bool PackedDepthStencil;
|
|
|
|
bool EXTTextureFilterAnisotropic;
|
|
|
|
bool EXTTextureFilterAnisotropic;
|
|
|
|
|
|
|
|
float EXTTextureFilterAnisotropicMaximum;
|
|
|
|
|
|
|
|
|
|
|
|
// true if NVVertexProgram and if we know that VP is emulated
|
|
|
|
// true if NVVertexProgram and if we know that VP is emulated
|
|
|
|
bool NVVertexProgramEmulated;
|
|
|
|
bool NVVertexProgramEmulated;
|
|
|
|
bool EXTSecondaryColor;
|
|
|
|
bool EXTSecondaryColor;
|
|
|
@ -170,6 +172,7 @@ public:
|
|
|
|
NVTextureRectangle = false;
|
|
|
|
NVTextureRectangle = false;
|
|
|
|
EXTTextureRectangle = false;
|
|
|
|
EXTTextureRectangle = false;
|
|
|
|
EXTTextureFilterAnisotropic = false;
|
|
|
|
EXTTextureFilterAnisotropic = false;
|
|
|
|
|
|
|
|
EXTTextureFilterAnisotropicMaximum = 1.f;
|
|
|
|
ARBTextureRectangle = false;
|
|
|
|
ARBTextureRectangle = false;
|
|
|
|
ARBTextureNonPowerOfTwo = false;
|
|
|
|
ARBTextureNonPowerOfTwo = false;
|
|
|
|
ARBMultisample = false;
|
|
|
|
ARBMultisample = false;
|
|
|
@ -206,7 +209,7 @@ public:
|
|
|
|
result += NVTextureRectangle ? "NVTextureRectangle " : "";
|
|
|
|
result += NVTextureRectangle ? "NVTextureRectangle " : "";
|
|
|
|
result += EXTTextureRectangle ? "EXTTextureRectangle " : "";
|
|
|
|
result += EXTTextureRectangle ? "EXTTextureRectangle " : "";
|
|
|
|
result += ARBTextureRectangle ? "ARBTextureRectangle " : "";
|
|
|
|
result += ARBTextureRectangle ? "ARBTextureRectangle " : "";
|
|
|
|
result += EXTTextureFilterAnisotropic ? "EXTTextureFilterAnisotropic " : "";
|
|
|
|
result += EXTTextureFilterAnisotropic ? "EXTTextureFilterAnisotropic (Maximum = " + NLMISC::toString(EXTTextureFilterAnisotropicMaximum) + ") " : "";
|
|
|
|
result += ARBTextureNonPowerOfTwo ? "ARBTextureNonPowerOfTwo " : "";
|
|
|
|
result += ARBTextureNonPowerOfTwo ? "ARBTextureNonPowerOfTwo " : "";
|
|
|
|
result += "texture stages(*) = ";
|
|
|
|
result += "texture stages(*) = ";
|
|
|
|
result += NLMISC::toString(NbTextureStages);
|
|
|
|
result += NLMISC::toString(NbTextureStages);
|
|
|
@ -236,6 +239,7 @@ public:
|
|
|
|
result += WGLEXTSwapControl ? "WGLEXTSwapControl " : "";
|
|
|
|
result += WGLEXTSwapControl ? "WGLEXTSwapControl " : "";
|
|
|
|
#elif defined(NL_OS_MAC)
|
|
|
|
#elif defined(NL_OS_MAC)
|
|
|
|
#elif defined(NL_OS_UNIX)
|
|
|
|
#elif defined(NL_OS_UNIX)
|
|
|
|
|
|
|
|
result += "\n GLX: ";
|
|
|
|
result += GLXEXTSwapControl ? "GLXEXTSwapControl " : "";
|
|
|
|
result += GLXEXTSwapControl ? "GLXEXTSwapControl " : "";
|
|
|
|
result += GLXSGISwapControl ? "GLXSGISwapControl " : "";
|
|
|
|
result += GLXSGISwapControl ? "GLXSGISwapControl " : "";
|
|
|
|
result += GLXMESASwapControl ? "GLXMESASwapControl " : "";
|
|
|
|
result += GLXMESASwapControl ? "GLXMESASwapControl " : "";
|
|
|
|