summaryrefslogtreecommitdiff
path: root/indra/newview/lltexlayer.h
diff options
context:
space:
mode:
authorMark Palange <palange@lindenlab.com>2008-12-23 19:39:58 +0000
committerMark Palange <palange@lindenlab.com>2008-12-23 19:39:58 +0000
commitfb793870fe95f1951d7c30ea6068e187b9dededd (patch)
tree6d11632353ff4fb07133625ec5031b135b1e2882 /indra/newview/lltexlayer.h
parentd182b9fb82b9c63f41d81bc80dbbfe627475facf (diff)
QAR-1142 merging 1.22 RC0-RC4 changes.
svn merge -c 106471 svn+ssh://svn.lindenlab.com/svn/linden/qa/viewer_1-22-106055_merge
Diffstat (limited to 'indra/newview/lltexlayer.h')
-rw-r--r--indra/newview/lltexlayer.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/indra/newview/lltexlayer.h b/indra/newview/lltexlayer.h
index 992e392fc7..3fb6b50977 100644
--- a/indra/newview/lltexlayer.h
+++ b/indra/newview/lltexlayer.h
@@ -527,41 +527,6 @@ public:
};
-//-----------------------------------------------------------------------------
-// LLGradientPaletteList
-// A static set of ramp grayscale palettes. The "effective_weight" is used
-// to determine the x position of the ramp (offset)
-//
-// "Domain" isn't really the right word. It refers to the width of the
-// ramp portion of the function that relates input and output pixel values.
-// A domain of 0 gives a step function.
-//
-// | /----------------
-// O| / |
-// u| / |
-// t| / |
-// p|------------------/ |
-// u| | |
-// t|<---------------->|<-->|
-// | "offset" "domain"
-// |
-// --+---Input--------------------------------
-// |
-//-----------------------------------------------------------------------------
-class LLGradientPaletteList
-{
-public:
- LLGradientPaletteList() {}
- ~LLGradientPaletteList();
-
- void initPalette(F32 domain);
- void setHardwarePalette(F32 domain, F32 effective_weight);
-
-private:
- typedef std::map<F32, U8*> palette_map_t;
- palette_map_t mPaletteMap;
-};
-
// Used by LLTexLayerSetBuffer for a callback.
class LLBakedUploadData
{