diff options
author | Jacek Antonelli | 2008-12-01 17:39:58 -0600 |
---|---|---|
committer | Jacek Antonelli | 2008-12-01 17:40:06 -0600 |
commit | 7abecb48babe6a6f09bf6692ba55076546cfced9 (patch) | |
tree | 8d18a88513fb97adf32c10aae78f4be1984942db /linden/indra/llrender/llvertexbuffer.h | |
parent | Second Life viewer sources 1.21.6 (diff) | |
download | meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.zip meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.gz meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.bz2 meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.xz |
Second Life viewer sources 1.22.0-RC
Diffstat (limited to 'linden/indra/llrender/llvertexbuffer.h')
-rw-r--r-- | linden/indra/llrender/llvertexbuffer.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/linden/indra/llrender/llvertexbuffer.h b/linden/indra/llrender/llvertexbuffer.h index 8edcf69..a97c74e 100644 --- a/linden/indra/llrender/llvertexbuffer.h +++ b/linden/indra/llrender/llvertexbuffer.h | |||
@@ -39,6 +39,7 @@ | |||
39 | #include "v4coloru.h" | 39 | #include "v4coloru.h" |
40 | #include "llstrider.h" | 40 | #include "llstrider.h" |
41 | #include "llmemory.h" | 41 | #include "llmemory.h" |
42 | #include "llrender.h" | ||
42 | #include <set> | 43 | #include <set> |
43 | #include <vector> | 44 | #include <vector> |
44 | #include <list> | 45 | #include <list> |
@@ -123,19 +124,8 @@ public: | |||
123 | MAP_UNMAPPED = 0x8000 // Indicates that buffer has been logically un-mapped | 124 | MAP_UNMAPPED = 0x8000 // Indicates that buffer has been logically un-mapped |
124 | }; | 125 | }; |
125 | 126 | ||
126 | enum { | ||
127 | TRIANGLES = 0, | ||
128 | TRIANGLE_STRIP, | ||
129 | TRIANGLE_FAN, | ||
130 | POINTS, | ||
131 | LINES, | ||
132 | LINE_STRIP, | ||
133 | QUADS, | ||
134 | LINE_LOOP, | ||
135 | NUM_MODES | ||
136 | }; | ||
137 | protected: | 127 | protected: |
138 | friend class LLGLImmediate; | 128 | friend class LLRender; |
139 | 129 | ||
140 | virtual ~LLVertexBuffer(); // use unref() | 130 | virtual ~LLVertexBuffer(); // use unref() |
141 | 131 | ||
@@ -255,7 +245,7 @@ public: | |||
255 | 245 | ||
256 | static BOOL sEnableVBOs; | 246 | static BOOL sEnableVBOs; |
257 | static S32 sTypeOffsets[TYPE_MAX]; | 247 | static S32 sTypeOffsets[TYPE_MAX]; |
258 | static U32 sGLMode[NUM_MODES]; | 248 | static U32 sGLMode[LLRender::NUM_MODES]; |
259 | static U32 sGLRenderBuffer; | 249 | static U32 sGLRenderBuffer; |
260 | static U32 sGLRenderIndices; | 250 | static U32 sGLRenderIndices; |
261 | static BOOL sVBOActive; | 251 | static BOOL sVBOActive; |