diff options
author | Oz Linden <oz@lindenlab.com> | 2011-07-07 14:08:36 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-07-07 14:08:36 -0400 |
commit | 5d92dc44026f7dd237aa871593080fd151064e62 (patch) | |
tree | 4f0c70e428824a0a01e38ff77850fb009b6c13f0 /indra/llrender/llgl.h | |
parent | 7614ceff24129643ecb96f57f0491507e4ff8dbd (diff) | |
parent | 4d77146b9016a4db37112e153e71c05c596f7fdc (diff) |
merge changes for 2.7.4 release
Diffstat (limited to 'indra/llrender/llgl.h')
-rw-r--r-- | indra/llrender/llgl.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/indra/llrender/llgl.h b/indra/llrender/llgl.h index 1d7ab188fc..d1bee00161 100644 --- a/indra/llrender/llgl.h +++ b/indra/llrender/llgl.h @@ -83,10 +83,12 @@ public: BOOL mHasMipMapGeneration; BOOL mHasCompressedTextures; BOOL mHasFramebufferObject; + S32 mMaxSamples; BOOL mHasBlendFuncSeparate; - + // ARB Extensions BOOL mHasVertexBufferObject; + BOOL mHasMapBufferRange; BOOL mHasPBuffer; BOOL mHasShaderObjects; BOOL mHasVertexShader; @@ -98,6 +100,11 @@ public: BOOL mHasDrawBuffers; BOOL mHasDepthClamp; BOOL mHasTextureRectangle; + BOOL mHasTextureMultisample; + S32 mMaxSampleMaskWords; + S32 mMaxColorTextureSamples; + S32 mMaxDepthTextureSamples; + S32 mMaxIntegerSamples; // Other extensions. BOOL mHasAnisotropic; @@ -139,6 +146,7 @@ public: void printGLInfoString(); void getGLInfo(LLSD& info); + U32 getNumFBOFSAASamples(U32 desired_samples = 32); // In ALL CAPS std::string mGLVendor; std::string mGLVendorShort; |