diff options
author | Dave Parks <davep@lindenlab.com> | 2011-10-20 18:56:43 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-10-20 18:56:43 -0500 |
commit | 492f820c6b8a164cb201fed232e40e743e8e38c4 (patch) | |
tree | 7d360ddc2ff2288d1ec8163b6215cf9c81031b51 /indra/llrender/llgl.h | |
parent | 1c58b3b18ea732e0032e70ae6dc9c8ec2f2834b4 (diff) | |
parent | 34c01b6b1ff758463dcdff19782e5af668699304 (diff) |
merge
Diffstat (limited to 'indra/llrender/llgl.h')
-rw-r--r-- | indra/llrender/llgl.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/indra/llrender/llgl.h b/indra/llrender/llgl.h index d736133f3f..dee7ec0739 100644 --- a/indra/llrender/llgl.h +++ b/indra/llrender/llgl.h @@ -88,6 +88,7 @@ public: // ARB Extensions BOOL mHasVertexBufferObject; + BOOL mHasVertexArrayObject; BOOL mHasSync; BOOL mHasMapBufferRange; BOOL mHasFlushBufferRange; @@ -112,6 +113,7 @@ public: BOOL mHasAnisotropic; BOOL mHasARBEnvCombine; BOOL mHasCubeMap; + BOOL mHasDebugOutput; // Vendor-specific extensions BOOL mIsATI; @@ -252,7 +254,7 @@ public: static void dumpStates(); static void checkStates(const std::string& msg = ""); static void checkTextureChannels(const std::string& msg = ""); - static void checkClientArrays(const std::string& msg = "", U32 data_mask = 0x0001); + static void checkClientArrays(const std::string& msg = "", U32 data_mask = 0); protected: static boost::unordered_map<LLGLenum, LLGLboolean> sStateMap; @@ -419,15 +421,7 @@ extern LLMatrix4 gGLObliqueProjectionInverse; #include "llglstates.h" void init_glstates(); -void enable_vertex_weighting(const S32 index); -void disable_vertex_weighting(const S32 index); -void enable_binormals(const S32 index); -void disable_binormals(const S32 index); -void enable_cloth_weights(const S32 index); -void disable_cloth_weights(const S32 index); -void set_vertex_weights(const S32 index, const U32 stride, const F32 *weights); -void set_vertex_clothing_weights(const S32 index, const U32 stride, const LLVector4 *weights); -void set_binormals(const S32 index, const U32 stride, const LLVector3 *binormals); + void parse_gl_version( S32* major, S32* minor, S32* release, std::string* vendor_specific ); extern BOOL gClothRipple; |