llglsandbox.cpp File Reference

GL functionality access. More...

#include "llviewerprecompiledheaders.h"
#include "llviewercontrol.h"
#include "llgl.h"
#include "llglheaders.h"
#include "llparcel.h"
#include "llui.h"
#include "lldrawable.h"
#include "lltextureentry.h"
#include "llviewercamera.h"
#include "llvoavatar.h"
#include "llagent.h"
#include "lltoolmgr.h"
#include "llselectmgr.h"
#include "llhudmanager.h"
#include "llsphere.h"
#include "llviewerobjectlist.h"
#include "lltoolselectrect.h"
#include "llviewerwindow.h"
#include "viewer.h"
#include "llcompass.h"
#include "llsurface.h"
#include "llwind.h"
#include "llworld.h"
#include "llviewerparcelmgr.h"
#include "llviewerregion.h"
#include "llpreviewtexture.h"
#include "llresmgr.h"
#include "pipeline.h"

Include dependency graph for llglsandbox.cpp:

Go to the source code of this file.

Functions

void draw_line_cube (F32 width, const LLVector3 &center)
void pre_show_depth_buffer ()
void post_show_depth_buffer ()

Variables

BOOL gDebugSelect
const F32 COMPASS_SIZE = 64
static const F32 COMPASS_RANGE = 0.33f
const F32 WIND_ALTITUDE = 180.f


Detailed Description

GL functionality access.

LicenseInfo
firstyear=2003&license=viewergpl

Copyright (c) 2003-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 llglsandbox.cpp.


Function Documentation

void draw_line_cube ( F32  width,
const LLVector3 center 
)

Definition at line 972 of file llglsandbox.cpp.

References LLVector3::mV, VX, VY, and VZ.

Referenced by LLViewerObjectList::renderObjectBeacons().

void post_show_depth_buffer (  ) 

Definition at line 1109 of file llglsandbox.cpp.

References f, i, llfloor(), stride, and y.

Referenced by render_ui_3d().

void pre_show_depth_buffer (  ) 

Definition at line 1101 of file llglsandbox.cpp.

References glClear, glEnable, and glStencilFunc.

Referenced by display().


Variable Documentation

const F32 COMPASS_RANGE = 0.33f [static]

Definition at line 353 of file llglsandbox.cpp.

Referenced by LLHorizontalCompass::draw().

const F32 COMPASS_SIZE = 64

Definition at line 352 of file llglsandbox.cpp.

Referenced by LLCompass::draw().

BOOL gDebugSelect

Definition at line 222 of file llviewerwindow.cpp.

Referenced by init_debug_rendering_menu(), and render_ui_2d().

const F32 WIND_ALTITUDE = 180.f

Definition at line 474 of file llglsandbox.cpp.

Referenced by LLWind::renderVectors().


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