summaryrefslogtreecommitdiff
path: root/indra/llrender/llvertexbuffer.h
diff options
context:
space:
mode:
authormobserveur <mobserveur@gmail.com>2024-07-05 20:13:59 +0200
committermobserveur <mobserveur@gmail.com>2024-07-05 20:13:59 +0200
commit9f62ef6cb34ebc91aa82715ce8b036c0af7affef (patch)
tree8d7afa7a264f32a84031caf7a393416f81efefd0 /indra/llrender/llvertexbuffer.h
parent6369047dcb74323b248de59bc8187db0d315548a (diff)
Tuning floater and buffer mapping improvements
This commit adds the tuning floater accessible via the fps button, and improvements to the buffer mapping optimisation modes.
Diffstat (limited to 'indra/llrender/llvertexbuffer.h')
-rw-r--r--indra/llrender/llvertexbuffer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llrender/llvertexbuffer.h b/indra/llrender/llvertexbuffer.h
index b634609929..184b0a4ac9 100644
--- a/indra/llrender/llvertexbuffer.h
+++ b/indra/llrender/llvertexbuffer.h
@@ -161,7 +161,7 @@ public:
// set for rendering
// assumes (and will assert on) the following:
- // - this buffer has no pending unampBuffer call
+ // - this buffer has no pending unmapBuffer call
// - a shader is currently bound
// - This buffer has sufficient attributes within it to satisfy the needs of the currently bound shader
void setBuffer();
@@ -267,6 +267,8 @@ public:
static U32 sGLRenderIndices;
static U32 sLastMask;
static U32 sVertexCount;
+
+ static U32 sMappingMode;
};
#ifdef LL_PROFILER_ENABLE_RENDER_DOC