diff options
author | Merov Linden <merov@lindenlab.com> | 2014-01-28 10:19:57 -0800 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2014-01-28 10:19:57 -0800 |
commit | 6bf3cb875cef4da7c35850ebbea5100dc5244601 (patch) | |
tree | 538280be6e5dafda5f648d985f7e8104690c718d /indra/llimage/llimage.h | |
parent | ff3edd06d2c824a32753e689de3369abf593c684 (diff) |
ACME-1195 : WIP : Lazy evaluate intermediate images in snapshot preview so perf is better in common cases, allow thumbnail to be computed from grabed frame (for SL Share), thumbnail display still buggy in SL Share
Diffstat (limited to 'indra/llimage/llimage.h')
-rwxr-xr-x | indra/llimage/llimage.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llimage/llimage.h b/indra/llimage/llimage.h index 2277afc585..c1ba1e3c21 100755 --- a/indra/llimage/llimage.h +++ b/indra/llimage/llimage.h @@ -205,6 +205,9 @@ public: void verticalFlip(); + static S32 biasedDimToPowerOfTwo(S32 curr_dim, S32 max_dim = MAX_IMAGE_SIZE); + static S32 expandDimToPowerOfTwo(S32 curr_dim, S32 max_dim = MAX_IMAGE_SIZE); + static S32 contractDimToPowerOfTwo(S32 curr_dim, S32 min_dim = MIN_IMAGE_SIZE); void expandToPowerOfTwo(S32 max_dim = MAX_IMAGE_SIZE, BOOL scale_image = TRUE); void contractToPowerOfTwo(S32 max_dim = MAX_IMAGE_SIZE, BOOL scale_image = TRUE); void biasedScaleToPowerOfTwo(S32 max_dim = MAX_IMAGE_SIZE); |