Huge renderer update (WIP). Still plenty to do, especially pertaining to UI.
-Nametag bubble visbility is oddly inconsistent. May vanish with future planned UI merges... -VBOs are PAINFULLY slow on ATI hardware. This repos self-compiled davep/shining-fixes branch, so I'll leave the ball in LL's court for now regarding that.
This commit is contained in:
@@ -1964,6 +1964,7 @@ void LLLineEditor::draw()
|
||||
text_color,
|
||||
LLFontGL::LEFT, LLFontGL::BOTTOM,
|
||||
LLFontGL::NORMAL,
|
||||
LLFontGL::NO_SHADOW,
|
||||
select_left - mScrollHPos,
|
||||
mMaxHPixels - llround(rendered_pixels_right),
|
||||
&rendered_pixels_right);
|
||||
@@ -1983,6 +1984,7 @@ void LLLineEditor::draw()
|
||||
LLColor4( 1.f - text_color.mV[0], 1.f - text_color.mV[1], 1.f - text_color.mV[2], 1 ),
|
||||
LLFontGL::LEFT, LLFontGL::BOTTOM,
|
||||
LLFontGL::NORMAL,
|
||||
LLFontGL::NO_SHADOW,
|
||||
select_right - mScrollHPos - rendered_text,
|
||||
mMaxHPixels - llround(rendered_pixels_right),
|
||||
&rendered_pixels_right);
|
||||
@@ -1997,6 +1999,7 @@ void LLLineEditor::draw()
|
||||
text_color,
|
||||
LLFontGL::LEFT, LLFontGL::BOTTOM,
|
||||
LLFontGL::NORMAL,
|
||||
LLFontGL::NO_SHADOW,
|
||||
S32_MAX,
|
||||
mMaxHPixels - llround(rendered_pixels_right),
|
||||
&rendered_pixels_right);
|
||||
@@ -2010,6 +2013,7 @@ void LLLineEditor::draw()
|
||||
text_color,
|
||||
LLFontGL::LEFT, LLFontGL::BOTTOM,
|
||||
LLFontGL::NORMAL,
|
||||
LLFontGL::NO_SHADOW,
|
||||
S32_MAX,
|
||||
mMaxHPixels - llround(rendered_pixels_right),
|
||||
&rendered_pixels_right);
|
||||
@@ -2050,6 +2054,7 @@ void LLLineEditor::draw()
|
||||
LLColor4( 1.f - text_color.mV[0], 1.f - text_color.mV[1], 1.f - text_color.mV[2], 1 ),
|
||||
LLFontGL::LEFT, LLFontGL::BOTTOM,
|
||||
LLFontGL::NORMAL,
|
||||
LLFontGL::NO_SHADOW,
|
||||
1);
|
||||
}
|
||||
|
||||
@@ -2075,6 +2080,7 @@ void LLLineEditor::draw()
|
||||
LLFontGL::LEFT,
|
||||
LLFontGL::BOTTOM,
|
||||
LLFontGL::NORMAL,
|
||||
LLFontGL::NO_SHADOW,
|
||||
S32_MAX,
|
||||
mMaxHPixels - llround(rendered_pixels_right),
|
||||
&rendered_pixels_right, FALSE);
|
||||
@@ -2099,6 +2105,7 @@ void LLLineEditor::draw()
|
||||
LLFontGL::LEFT,
|
||||
LLFontGL::BOTTOM,
|
||||
LLFontGL::NORMAL,
|
||||
LLFontGL::NO_SHADOW,
|
||||
S32_MAX,
|
||||
mMaxHPixels - llround(rendered_pixels_right),
|
||||
&rendered_pixels_right, FALSE);
|
||||
|
||||
Reference in New Issue
Block a user