aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llrender/llvertexprogramgl.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:50 -0500
committerJacek Antonelli2008-08-15 23:45:50 -0500
commit2a4dea528f670b9bb1f77ef27a8a1dd16603d114 (patch)
tree95c68e362703c9099d571ecbdc6142b1cda1e005 /linden/indra/llrender/llvertexprogramgl.h
parentSecond Life viewer sources 1.20.6 (diff)
downloadmeta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.zip
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.gz
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.bz2
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.xz
Second Life viewer sources 1.20.7
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llanimstatelabels.h (renamed from linden/indra/llrender/llvertexprogramgl.h)33
1 files changed, 10 insertions, 23 deletions
diff --git a/linden/indra/llrender/llvertexprogramgl.h b/linden/indra/newview/llanimstatelabels.h
index f9190f9..db1c1d8 100644
--- a/linden/indra/llrender/llvertexprogramgl.h
+++ b/linden/indra/newview/llanimstatelabels.h
@@ -1,10 +1,11 @@
1/** 1/**
2 * @file llvertexprogramgl.h 2 * @file llanimstatelabels.h
3 * @brief LLVertexProgramGL base class 3 * @brief Declaration of LLVOAvatar class which is a derivation fo
4 * LLViewerObject
4 * 5 *
5 * $LicenseInfo:firstyear=2003&license=viewergpl$ 6 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 * 7 *
7 * Copyright (c) 2003-2008, Linden Research, Inc. 8 * Copyright (c) 2001-2008, Linden Research, Inc.
8 * 9 *
9 * Second Life Viewer Source Code 10 * Second Life Viewer Source Code
10 * The source code in this file ("Source Code") is provided by Linden Lab 11 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -29,27 +30,13 @@
29 * $/LicenseInfo$ 30 * $/LicenseInfo$
30 */ 31 */
31 32
32#ifndef LL_LLVERTEXPROGRAMGL_H 33#ifndef LL_LLANIMSTATELABELS_H
33#define LL_LLVERTEXPROGRAMGL_H 34#define LL_LLANIMSTATELABELS_H
34 35
35// This file contains the definition of LLVertexProgramGL, 36class LLAnimStateLabels
36// for purposes of running vertex programs on GL hardware.
37
38#include "llgl.h"
39
40class LLVertexProgramGL
41{ 37{
42public: 38public:
43 LLVertexProgramGL(); 39 static std::string getStateLabel( const char *animName );
44 ~LLVertexProgramGL();
45
46 void bind();
47 void unbind();
48
49 BOOL load(const char * filename);
50
51private:
52 LLGLuint mVertexProgramID;
53}; 40};
54 41
55#endif // LL_LLVERTEXPROGRAMGL_H 42#endif // LL_ANIMSTATELABELS_H