llmemoryview.cpp File Reference

LLMemoryView class implementation. More...

#include "llviewerprecompiledheaders.h"
#include "indra_constants.h"
#include "llmemoryview.h"
#include "llrect.h"
#include "llerror.h"
#include "llgl.h"
#include "llmath.h"
#include "llfontgl.h"
#include "llmemtype.h"
#include "viewer.h"
#include "llui.h"
#include "llviewercontrol.h"
#include "llstat.h"
#include "llfasttimer.h"

Include dependency graph for llmemoryview.cpp:

Go to the source code of this file.

Classes

struct  mtv_display_info

Variables

static LLColor4 red0 (0.5f, 0.0f, 0.0f, 1.0f)
static struct mtv_display_info mtv_display_table []
static const int MTV_DISPLAY_NUM = (sizeof(mtv_display_table)/sizeof(mtv_display_table[0]))


Detailed Description

LLMemoryView class implementation.

LicenseInfo
firstyear=2001&license=viewergpl

Copyright (c) 2001-2007, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llmemoryview.cpp.


Variable Documentation

const int MTV_DISPLAY_NUM = (sizeof(mtv_display_table)/sizeof(mtv_display_table[0])) [static]

Definition at line 146 of file llmemoryview.cpp.

Referenced by LLMemoryView::draw().

struct mtv_display_info mtv_display_table[] [static]

Initial value:

{
        { LLMemType::MTYPE_INIT,                        "Init",                         &LLColor4::white },
        { LLMemType::MTYPE_STARTUP,                     "Startup",                      &LLColor4::cyan1 },
        { LLMemType::MTYPE_MAIN,                        "Main",                         &LLColor4::cyan2 },
        { LLMemType::MTYPE_IMAGEBASE,           "ImageBase",            &LLColor4::yellow1 },
        { LLMemType::MTYPE_IMAGERAW,            "ImageRaw",             &LLColor4::yellow2 },
        { LLMemType::MTYPE_IMAGEFORMATTED,      "ImageFmtd",            &LLColor4::yellow3 },
        { LLMemType::MTYPE_APPFMTIMAGE,         "ViewerImageFmt",       &LLColor4::orange1 },
        { LLMemType::MTYPE_APPRAWIMAGE,         "ViewerImageRaw",       &LLColor4::orange2 },
        { LLMemType::MTYPE_APPAUXRAWIMAGE,      "ViewerImageAux",       &LLColor4::orange3 },
        { LLMemType::MTYPE_DRAWABLE,            "Drawable",             &LLColor4::green1 },
        { LLMemType::MTYPE_OBJECT,                      "ViewerObject",         &LLColor4::green2 },
        { LLMemType::MTYPE_PIPELINE,            "Pipeline",                     &LLColor4::green3 },
        { LLMemType::MTYPE_PARTICLES,           "Particles",            &LLColor4::green4 },
        { LLMemType::MTYPE_SPACE_PARTITION,     "Space Partition",      &LLColor4::blue2 },
        { LLMemType::MTYPE_VERTEX_DATA,         "Vertex Buffer",        &LLColor4::blue3 },
        { LLMemType::MTYPE_AVATAR,                      "Avatar",                       &LLColor4::purple1 },
        { LLMemType::MTYPE_REGIONS,                     "Regions",                      &LLColor4::blue1 },
        { LLMemType::MTYPE_TEMP1,                       "Temp1",                        &LLColor4::red1 },
        { LLMemType::MTYPE_TEMP2,                       "Temp2",                        &LLColor4::magenta1 },
        { LLMemType::MTYPE_TEMP3,                       "Temp3",                        &LLColor4::red2 },
        { LLMemType::MTYPE_TEMP4,                       "Temp4",                        &LLColor4::magenta2 },
        { LLMemType::MTYPE_TEMP5,                       "Temp5",                        &LLColor4::red3 },
        { LLMemType::MTYPE_TEMP6,                       "Temp6",                        &LLColor4::magenta3 },
        { LLMemType::MTYPE_TEMP7,                       "Temp7",                        &LLColor4::red4 },
        { LLMemType::MTYPE_TEMP8,                       "Temp8",                        &LLColor4::magenta4 },

        { LLMemType::MTYPE_OTHER,                       "Other",                        &red0 },
}

Definition at line 116 of file llmemoryview.cpp.

LLColor4 red0(0.5f, 0.0f, 0.0f, 1.0f) [static]


Generated on Thu Jul 1 06:10:33 2010 for Second Life Viewer by  doxygen 1.4.7