Henri's HTTP pipeline, with SG twist

This commit is contained in:
Siana Gearz
2010-12-30 20:27:26 +01:00
parent e31c21fc54
commit 5fd5049e9b
15 changed files with 1102 additions and 584 deletions

View File

@@ -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());