LLGLImmediate Class Reference

#include <llglimmediate.h>

Collaboration diagram for LLGLImmediate:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLGLImmediate ()
void translatef (const GLfloat &x, const GLfloat &y, const GLfloat &z)
void pushMatrix ()
void popMatrix ()
void blendFunc (GLenum sfactor, GLenum dfactor)
void flush ()
void begin (const GLuint &mode)
void end ()
void vertex2i (const GLint &x, const GLint &y)
void vertex2f (const GLfloat &x, const GLfloat &y)
void vertex3f (const GLfloat &x, const GLfloat &y, const GLfloat &z)
void vertex2fv (const GLfloat *v)
void vertex3fv (const GLfloat *v)
void texCoord2i (const GLint &x, const GLint &y)
void texCoord2f (const GLfloat &x, const GLfloat &y)
void texCoord2fv (const GLfloat *tc)
void color4ub (const GLubyte &r, const GLubyte &g, const GLubyte &b, const GLubyte &a)
void color4f (const GLfloat &r, const GLfloat &g, const GLfloat &b, const GLfloat &a)
void color4fv (const GLfloat *c)
void color3f (const GLfloat &r, const GLfloat &g, const GLfloat &b)
void color3fv (const GLfloat *c)
void color4ubv (const GLubyte *c)

Private Attributes

U32 mCount
U32 mMode
LLPointer< LLVertexBuffermBuffer
LLStrider< LLVector3mVerticesp
LLStrider< LLVector2mTexcoordsp
LLStrider< LLColor4UmColorsp

Classes

struct  Vertex


Detailed Description

Definition at line 45 of file llglimmediate.h.


Constructor & Destructor Documentation

LLGLImmediate::LLGLImmediate (  ) 


Member Function Documentation

void LLGLImmediate::translatef ( const GLfloat &  x,
const GLfloat &  y,
const GLfloat &  z 
)

void LLGLImmediate::pushMatrix (  ) 

void LLGLImmediate::popMatrix (  ) 

void LLGLImmediate::blendFunc ( GLenum  sfactor,
GLenum  dfactor 
)

void LLGLImmediate::flush (  ) 

Definition at line 114 of file llglimmediate.cpp.

References immediate_mask, llendl, llerrs, mBuffer, mColorsp, mCount, mMode, mTexcoordsp, and mVerticesp.

Referenced by begin(), LLImageGL::bindExternalTexture(), LLImageGL::bindTextureInternal(), blendFunc(), display_startup(), LLWorldMapView::draw(), LLFastTimerView::draw(), LLViewerWindow::drawDebugText(), LLViewerWindow::drawPickBuffer(), end(), LLRenderTarget::flush(), LLPipeline::generateImpostor(), gl_rect_2d_checkerboard(), gl_stippled_line_3d(), LLManipTranslate::highlightIntersection(), LLGLDepthTest::LLGLDepthTest(), popMatrix(), pushMatrix(), LLVisualParamHint::render(), LLTexLayerParamAlpha::render(), LLTexLayer::render(), LLTexLayerSet::render(), LLTexLayerSetBuffer::render(), LLImagePreviewAvatar::render(), LLPreviewAnimation::render(), LLBox::render(), render_disconnected_background(), render_hud_elements(), render_ui_and_swap(), LLTexLayer::renderAlphaMasks(), LLPipeline::renderBloom(), renderBoundingBox(), LLPipeline::renderDebug(), LLVOAvatar::renderImpostor(), LLViewerObjectList::renderObjectBeacons(), LLViewerObjectList::renderObjectsForSelect(), renderOctree(), LLSelectNode::renderOneSilhouette(), LLVOAvatar::renderSkinned(), LLManipTranslate::renderSnapGuides(), LLGLState::resetTextureStates(), LLGLState::setEnabled(), LLUI::setLineWidth(), translatef(), LLOctreeRenderNonOccluded::traverse(), LLImageGL::unbindTexture(), LLDynamicTexture::updateAllInstances(), LLGLDepthTest::~LLGLDepthTest(), and LLGLState::~LLGLState().

Here is the caller graph for this function:

void LLGLImmediate::begin ( const GLuint &  mode  ) 

Definition at line 76 of file llglimmediate.cpp.

References flush(), LLVertexBuffer::LINES, llendl, llerrs, mCount, mMode, LLVertexBuffer::POINTS, LLVertexBuffer::QUADS, and LLVertexBuffer::TRIANGLES.

Referenced by LLWorldMapView::draw(), LLWebBrowserCtrl::draw(), LLVisualParamHint::draw(), LLFloaterTexturePicker::draw(), LLNetMap::draw(), LLHorizontalCompass::draw(), LLCompass::draw(), LLSnapshotLivePreview::draw(), LLFloaterImagePreview::draw(), LLFloaterColorPicker::draw(), LLFloaterAnimPreview::draw(), LLFastTimerView::draw(), draw_axes(), draw_shockwave(), LLViewerJoint::drawBone(), drawBox(), drawBoxOutline(), LLView::drawDebugRect(), drawDot(), LLWorldMapView::drawFrustum(), LLFontGL::drawGlyph(), LLJoystickCameraRotate::drawRotatedImage(), LLViewerJointAttachment::drawShape(), LLViewBorder::drawTextureTrapezoid(), LLPipeline::generateImpostor(), gl_arc_2d(), gl_circle_2d(), gl_corners_2d(), gl_deep_circle(), gl_draw_scaled_image_inverted(), gl_draw_scaled_image_with_border(), gl_draw_scaled_rotated_image(), gl_draw_x(), gl_drop_shadow(), gl_line_2d(), gl_rect_2d(), gl_rect_2d_simple(), gl_rect_2d_simple_tex(), gl_rect_2d_xor(), gl_segmented_rect_2d_fragment_tex(), gl_segmented_rect_2d_tex(), gl_segmented_rect_3d_tex(), gl_stippled_line_3d(), gl_triangle_2d(), gl_washer_2d(), gl_washer_segment_2d(), gl_washer_spokes_2d(), LLVoiceVisualizer::render(), LLHUDEffectPointAt::render(), LLHUDEffectLookAt::render(), LLFontGL::render(), LLManipTranslate::renderArrow(), LLDrawPoolAvatar::renderAvatars(), LLTracker::renderBeacon(), LLPipeline::renderBloom(), LLViewerParcelMgr::renderCollisionSegments(), renderCoordinateAxes(), LLPipeline::renderDebug(), LLBox::renderface(), LLManipScale::renderFaces(), LLManipTranslate::renderGrid(), LLManip::renderGuidelines(), LLViewerParcelMgr::renderHighlightSegments(), LLHUDIcon::renderIcon(), LLVOAvatar::renderImpostor(), LLViewerObjectList::renderObjectBeacons(), LLSelectNode::renderOneSilhouette(), LLToolBrushLand::renderOverlay(), renderPoints(), LLViewerParcelOverlay::renderPropertyLines(), LLViewerParcelMgr::renderRect(), LLFace::renderSelectedUV(), LLViewerJoint::renderSkeleton(), LLVOAvatar::renderSkinned(), LLManipTranslate::renderSnapGuides(), LLManipScale::renderSnapGuides(), LLManipRotate::renderSnapGuides(), LLHUDText::renderText(), LLManipTranslate::renderTranslationHandles(), and LLWind::renderVectors().

Here is the call graph for this function:

void LLGLImmediate::end (  ) 

Definition at line 96 of file llglimmediate.cpp.

References flush(), LLVertexBuffer::LINES, mCount, mMode, LLVertexBuffer::POINTS, LLVertexBuffer::QUADS, and LLVertexBuffer::TRIANGLES.

Referenced by LLWorldMapView::draw(), LLWebBrowserCtrl::draw(), LLVisualParamHint::draw(), LLFloaterTexturePicker::draw(), LLNetMap::draw(), LLHorizontalCompass::draw(), LLCompass::draw(), LLSnapshotLivePreview::draw(), LLFloaterImagePreview::draw(), LLFloaterColorPicker::draw(), LLFloaterAnimPreview::draw(), LLFastTimerView::draw(), draw_axes(), draw_shockwave(), LLViewerJoint::drawBone(), drawBox(), drawBoxOutline(), LLView::drawDebugRect(), drawDot(), LLWorldMapView::drawFrustum(), LLFontGL::drawGlyph(), LLJoystickCameraRotate::drawRotatedImage(), LLViewerJointAttachment::drawShape(), LLViewBorder::drawTextureTrapezoid(), LLPipeline::generateImpostor(), gl_arc_2d(), gl_circle_2d(), gl_corners_2d(), gl_deep_circle(), gl_draw_scaled_image_inverted(), gl_draw_scaled_image_with_border(), gl_draw_scaled_rotated_image(), gl_draw_x(), gl_drop_shadow(), gl_line_2d(), gl_rect_2d(), gl_rect_2d_simple(), gl_rect_2d_simple_tex(), gl_rect_2d_xor(), gl_segmented_rect_2d_fragment_tex(), gl_segmented_rect_2d_tex(), gl_segmented_rect_3d_tex(), gl_stippled_line_3d(), gl_triangle_2d(), gl_washer_2d(), gl_washer_segment_2d(), gl_washer_spokes_2d(), LLVoiceVisualizer::render(), LLHUDEffectPointAt::render(), LLHUDEffectLookAt::render(), LLFontGL::render(), LLManipTranslate::renderArrow(), LLDrawPoolAvatar::renderAvatars(), LLTracker::renderBeacon(), LLPipeline::renderBloom(), LLViewerParcelMgr::renderCollisionSegments(), renderCoordinateAxes(), LLPipeline::renderDebug(), LLBox::renderface(), LLManipScale::renderFaces(), LLManipTranslate::renderGrid(), LLManip::renderGuidelines(), LLViewerParcelMgr::renderHighlightSegments(), LLHUDIcon::renderIcon(), LLVOAvatar::renderImpostor(), LLViewerObjectList::renderObjectBeacons(), LLSelectNode::renderOneSilhouette(), LLToolBrushLand::renderOverlay(), renderPoints(), LLViewerParcelOverlay::renderPropertyLines(), LLViewerParcelMgr::renderRect(), LLFace::renderSelectedUV(), LLViewerJoint::renderSkeleton(), LLVOAvatar::renderSkinned(), LLManipTranslate::renderSnapGuides(), LLManipScale::renderSnapGuides(), LLManipRotate::renderSnapGuides(), LLHUDText::renderText(), LLManipTranslate::renderTranslationHandles(), and LLWind::renderVectors().

Here is the call graph for this function:

void LLGLImmediate::vertex2i ( const GLint &  x,
const GLint &  y 
)

void LLGLImmediate::vertex2f ( const GLfloat &  x,
const GLfloat &  y 
)

void LLGLImmediate::vertex3f ( const GLfloat &  x,
const GLfloat &  y,
const GLfloat &  z 
)

void LLGLImmediate::vertex2fv ( const GLfloat *  v  ) 

Definition at line 198 of file llglimmediate.cpp.

References vertex3f().

Referenced by gl_segmented_rect_2d_fragment_tex(), and gl_segmented_rect_2d_tex().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLGLImmediate::vertex3fv ( const GLfloat *  v  ) 

void LLGLImmediate::texCoord2i ( const GLint &  x,
const GLint &  y 
)

Definition at line 213 of file llglimmediate.cpp.

References texCoord2f().

Referenced by LLVisualParamHint::draw(), and LLVoiceVisualizer::render().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLGLImmediate::texCoord2f ( const GLfloat &  x,
const GLfloat &  y 
)

void LLGLImmediate::texCoord2fv ( const GLfloat *  tc  ) 

Definition at line 218 of file llglimmediate.cpp.

References texCoord2f().

Referenced by LLJoystickCameraRotate::drawRotatedImage(), LLSelectNode::renderOneSilhouette(), and LLFace::renderSelectedUV().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLGLImmediate::color4ub ( const GLubyte &  r,
const GLubyte &  g,
const GLubyte &  b,
const GLubyte &  a 
)

Definition at line 223 of file llglimmediate.cpp.

References mColorsp, and mCount.

Referenced by color4f(), color4ubv(), and LLPipeline::generateImpostor().

Here is the caller graph for this function:

void LLGLImmediate::color4f ( const GLfloat &  r,
const GLfloat &  g,
const GLfloat &  b,
const GLfloat &  a 
)

Definition at line 233 of file llglimmediate.cpp.

References color4ub(), and llclamp().

Referenced by LLPipeline::blurReflectionMap(), color3f(), color3fv(), color4fv(), display_startup(), LLWorldMapView::draw(), LLToolSelectRect::draw(), LLVisualParamHint::draw(), LLGLTexMemBar::draw(), LLTextureBar::draw(), LLFloaterTexturePicker::draw(), LLProgressView::draw(), LLNetMap::draw(), LLHorizontalCompass::draw(), LLCompass::draw(), LLSnapshotLivePreview::draw(), LLFloaterColorPicker::draw(), LLFastTimerView::draw(), LLViewerWindow::drawDebugText(), LLWorldMapView::drawFrustum(), LLViewerWindow::drawMouselookInstructions(), LLViewerWindow::drawPickBuffer(), LLTextEditor::drawSelectionBackground(), LLViewerJointAttachment::drawShape(), LLPipeline::generateImpostor(), gl_stippled_line_3d(), LLManipTranslate::highlightIntersection(), LLVisualParamHint::render(), LLTexLayerParamAlpha::render(), LLTexLayerSet::render(), LLManipRotate::render(), LLImagePreviewSculpted::render(), LLImagePreviewAvatar::render(), LLPreviewAnimation::render(), render_disconnected_background(), render_hud_elements(), render_ui_and_swap(), LLTexLayer::renderAlphaMasks(), LLDrawPoolAvatar::renderAvatars(), LLPipeline::renderBloom(), renderBoundingBox(), LLTexLayerSet::renderBump(), LLViewerParcelMgr::renderCollisionSegments(), LLPipeline::renderDebug(), LLManipTranslate::renderGridVert(), LLManip::renderGuidelines(), LLViewerParcelMgr::renderHighlightSegments(), LLVOAvatar::renderImpostor(), renderLights(), LLViewerObjectList::renderObjectsForSelect(), renderOctree(), LLSelectNode::renderOneSilhouette(), LLViewerParcelMgr::renderRect(), LLVOAvatar::renderSkinned(), LLManipTranslate::renderSnapGuides(), LLManipScale::renderSnapGuides(), LLHUDText::renderText(), renderTextureAnim(), LLManipTranslate::renderTranslationHandles(), LLManip::renderXYZ(), LLOctreeRenderNonOccluded::traverse(), and LLDynamicTexture::updateAllInstances().

Here is the call graph for this function:

void LLGLImmediate::color4fv ( const GLfloat *  c  ) 

Definition at line 241 of file llglimmediate.cpp.

References color4f().

Referenced by LLManipScale::conditionalHighlight(), LLWorldMapView::draw(), LLWebBrowserCtrl::draw(), LLTextureBar::draw(), LLStatGraph::draw(), LLNetMap::draw(), LLHorizontalCompass::draw(), LLSnapshotLivePreview::draw(), LLFastTimerView::draw(), LLColorSwatchCtrl::draw(), LLScrollListCtrl::draw(), LLScrollListItem::draw(), LLScrollableContainerView::draw(), LLPieMenu::draw(), LLMenuItemBranchDownGL::draw(), LLMenuItemTearOffGL::draw(), LLMenuItemSeparatorGL::draw(), LLMenuItemGL::draw(), draw_shockwave(), LLNotifyBox::drawBackground(), LLPieMenu::drawBackground(), LLMenuGL::drawBackground(), LLTextEditor::drawCursor(), LLView::drawDebugRect(), drawDot(), LLFontGL::drawGlyph(), LLViewBorder::drawOnePixelLines(), LLViewerWindow::drawPickBuffer(), LLJoystickCameraRotate::drawRotatedImage(), gl_draw_scaled_image_inverted(), gl_draw_scaled_image_with_border(), gl_draw_scaled_rotated_image(), gl_draw_x(), gl_drop_shadow(), gl_line_2d(), gl_rect_2d(), gl_rect_2d_offset_local(), gl_rect_2d_xor(), gl_ring(), gl_triangle_2d(), gl_washer_2d(), gl_washer_segment_2d(), gl_washer_spokes_2d(), LLVoiceVisualizer::render(), LLTexLayer::render(), LLFontGL::render(), render_ui_2d(), LLTexLayer::renderAlphaMasks(), LLManipTranslate::renderArrow(), LLTracker::renderBeacon(), LLManipScale::renderFaces(), LLHUDIcon::renderIcon(), LLViewerObjectList::renderObjectBeacons(), renderOctree(), LLToolBrushLand::renderOverlay(), LLFace::renderSelectedUV(), LLManipScale::renderSnapGuides(), LLManipRotate::renderSnapGuides(), LLHUDText::renderText(), renderTexturePriority(), and LLManipTranslate::renderTranslationHandles().

Here is the call graph for this function:

void LLGLImmediate::color3f ( const GLfloat &  r,
const GLfloat &  g,
const GLfloat &  b 
)

void LLGLImmediate::color3fv ( const GLfloat *  c  ) 

Definition at line 251 of file llglimmediate.cpp.

References color4f().

Referenced by LLViewBorder::drawTwoPixelLines().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLGLImmediate::color4ubv ( const GLubyte *  c  ) 

Definition at line 228 of file llglimmediate.cpp.

References color4ub().

Referenced by LLViewerParcelMgr::renderCollisionSegments(), LLHUDIcon::renderIcon(), LLVOAvatar::renderImpostor(), LLViewerParcelOverlay::renderPropertyLines(), and LLHUDText::renderText().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 83 of file llglimmediate.h.

Referenced by begin(), color4ub(), end(), flush(), LLGLImmediate(), texCoord2f(), and vertex3f().

Definition at line 84 of file llglimmediate.h.

Referenced by begin(), end(), flush(), LLShaderMgr::linkProgramObject(), and LLGLImmediate().

Definition at line 85 of file llglimmediate.h.

Referenced by flush(), and LLGLImmediate().

Definition at line 86 of file llglimmediate.h.

Referenced by flush(), LLGLImmediate(), and vertex3f().

Definition at line 87 of file llglimmediate.h.

Referenced by flush(), LLGLImmediate(), texCoord2f(), and vertex3f().

Definition at line 88 of file llglimmediate.h.

Referenced by color4ub(), flush(), LLGLImmediate(), and vertex3f().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:48:22 2008 for SecondLife by  doxygen 1.5.5