#include "linden_common.h"
#include "llsys.h"
#include "llgl.h"
#include "llerror.h"
#include "llquaternion.h"
#include "llmath.h"
#include "m4math.h"
#include "llstring.h"
#include "llglheaders.h"
Include dependency graph for llgl.cpp:
Go to the source code of this file.
Defines | |
#define | GLH_EXT_SINGLE_FILE |
Functions | |
void | rotate_quat (LLQuaternion &rotation) |
void | flush_glerror () |
void | assert_glerror () |
void | clear_glerror () |
void | enable_vertex_weighting (const S32 index) |
void | disable_vertex_weighting (const S32 index) |
void | enable_binormals (const S32 index) |
void | disable_binormals (const S32 index) |
void | enable_cloth_weights (const S32 index) |
void | disable_cloth_weights (const S32 index) |
void | set_vertex_weights (const S32 index, const U32 stride, const F32 *weights) |
void | set_vertex_clothing_weights (const S32 index, const U32 stride, const LLVector4 *weights) |
void | set_binormals (const S32 index, const U32 stride, const LLVector3 *binormals) |
void | set_palette (U8 *palette_data) |
void | parse_gl_version (S32 *major, S32 *minor, S32 *release, LLString *vendor_specific) |
Variables | |
BOOL | gClothRipple = FALSE |
BOOL | gNoRender = FALSE |
LLGLManager | gGLManager |
LLCPUInfo | gSysCPU |
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 llgl.cpp.
void assert_glerror | ( | ) |
Definition at line 927 of file llgl.cpp.
References gGLManager, glGetError, gNoRender, llendl, llerrs, and LLGLManager::mInited.
void clear_glerror | ( | ) |
Definition at line 1307 of file llgl.cpp.
Referenced by LLDrawPoolAvatar::endSkinned(), and LLDrawPoolAvatar::renderForSelect().
Definition at line 1314 of file llgl.cpp.
References glEnableVertexAttribArrayARB.
Referenced by LLDrawPoolAvatar::beginSkinned().
Definition at line 1335 of file llgl.cpp.
References glEnableVertexAttribArrayARB.
Referenced by LLDrawPoolAvatar::beginSkinned().
Definition at line 1300 of file llgl.cpp.
References glEnableVertexAttribArrayARB.
Referenced by LLDrawPoolAvatar::beginSkinned(), and LLDrawPoolAvatar::renderForSelect().
void flush_glerror | ( | ) |
Definition at line 1383 of file llgl.cpp.
References LLStringBase< char >::convertToS32(), i, S32, and start.
Referenced by LLGLManager::initGL().
void rotate_quat | ( | LLQuaternion & | rotation | ) |
Definition at line 915 of file llgl.cpp.
References LLQuaternion::getAngleAxis(), glRotatef, RAD_TO_DEG, x, y, and z.
Definition at line 1365 of file llgl.cpp.
References FALSE, glVertexAttribPointerARB, and stop_glerror.
Referenced by LLVertexBufferAvatar::setupVertexBuffer().
Definition at line 1374 of file llgl.cpp.
References gGLManager, glColorTableEXT, and LLGLManager::mHasPalettedTextures.
Referenced by LLGradientPaletteList::setHardwarePalette().
Definition at line 1357 of file llgl.cpp.
References glVertexAttribPointerARB, stop_glerror, and TRUE.
Referenced by LLVertexBufferAvatar::setupVertexBuffer().
Definition at line 1349 of file llgl.cpp.
References FALSE, glVertexAttribPointerARB, and stop_glerror.
Referenced by LLVertexBufferAvatar::setupVertexBuffer().
BOOL gClothRipple = FALSE |
Definition at line 269 of file llgl.cpp.
Referenced by assert_glerror(), LLCubeMap::bind(), LLImageGL::bindTextureInternal(), LLPipeline::canUseVertexShaders(), LLImageGL::cleanup(), LLImageGL::createGLTexture(), LLImageGL::destroyGL(), LLImageGL::destroyGLTexture(), LLCubeMap::disable(), display(), LLCubeMap::enable(), LLFloaterReporter::gatherReport(), LLParticlePartition::getGeometry(), LLViewerImageList::getMaxVideoRamSetting(), gl_line_2d(), gl_rect_2d(), LLUseOcclusionListener::handleEvent(), LLViewerParcelOverlay::idleUpdate(), LLCubeMap::init(), init_debug_rendering_menu(), LLVOSky::initCubeMap(), LLCubeMap::initGL(), LLFeatureManager::initGraphicsFeatureMasks(), llDrawRangeElements(), LLViewerWindow::LLViewerWindow(), LLFeatureManager::loadGPUClass(), main(), LLDrawPoolWater::prerender(), LLFace::pushVertices(), LLPanelDisplay3::refreshEnabledState(), LLPanelDisplay2::refreshEnabledState(), LLVolumeGeometryManager::registerFace(), LLTexLayerParamAlpha::render(), LLDrawPoolWater::render(), LLDrawPoolTerrain::render(), LLPipeline::renderGeom(), LLDrawPoolWater::renderShaderSimple(), LLVOSky::restoreGL(), LLViewerWindow::restoreGL(), send_stats(), set_palette(), LLImageGL::setMipFilterNearest(), LLShaderMgr::setShaders(), LLViewerWindow::stopGL(), LLDynamicTexture::updateAllInstances(), LLViewerImageList::updateImagesCreateTextures(), LLViewerImageList::updateImagesMediaStreams(), LLVOSky::updateSky(), and LLVOAvatar::updateTextures().