Henri's HTTP pipeline, with SG twist
This commit is contained in:
@@ -465,6 +465,27 @@ void LLVOVolume::updateTextureVirtualSize()
|
||||
else
|
||||
{
|
||||
vsize = face->getTextureVirtualSize();
|
||||
if (isAttachment())
|
||||
{
|
||||
// Rez attachments faster and at full details !
|
||||
if (permYouOwner())
|
||||
{
|
||||
// Our attachments must really rez fast and fully:
|
||||
// we shouldn't have to zoom on them to get the textures
|
||||
// fully loaded !
|
||||
imagep->setBoostLevel(LLViewerImageBoostLevel::BOOST_HUD);
|
||||
imagep->dontDiscard();
|
||||
}
|
||||
else
|
||||
{
|
||||
// Others' can get their texture discarded to avoid
|
||||
// filling up the video buffers in crowded areas...
|
||||
imagep->setBoostLevel(LLViewerImageBoostLevel::BOOST_SELECTED);
|
||||
imagep->setAdditionalDecodePriority(1.5f);
|
||||
vsize = (F32) LLViewerCamera::getInstance()->getScreenPixelArea();
|
||||
face->setPixelArea(vsize); // treat as full screen
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
mPixelArea = llmax(mPixelArea, face->getPixelArea());
|
||||
|
||||
Reference in New Issue
Block a user