summaryrefslogtreecommitdiff
path: root/indra/newview/llface.h
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2010-08-18 11:33:01 -0600
committerXiaohong Bao <bao@lindenlab.com>2010-08-18 11:33:01 -0600
commit3ac134ec228d81a222d4df58be9577faa6757539 (patch)
tree263b1bc328fa1f8fb2c9164146d8b69946b2f592 /indra/newview/llface.h
parent0742f89208c016e5b9e73e471e669445bffde744 (diff)
EXT-8673: FIXED: UDP texture loading is slower in 2.x viewers than 1.23.5
Improved the following: 1, make sure the texture callback queue is properly handled and cleaned in time; 2, estimate the LLVOTree pixel area more accurately; 3, eliminate the possibility of back and forth stopping/restarting a texture fetching
Diffstat (limited to 'indra/newview/llface.h')
-rw-r--r--indra/newview/llface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llface.h b/indra/newview/llface.h
index de533a6864..8f17bc3178 100644
--- a/indra/newview/llface.h
+++ b/indra/newview/llface.h
@@ -214,6 +214,7 @@ private:
BOOL calcPixelArea(F32& cos_angle_to_view_dir, F32& radius) ;
public:
static F32 calcImportanceToCamera(F32 to_view_dir, F32 dist);
+ static F32 LLFace::adjustPixelArea(F32 importance, F32 pixel_area) ;
public: