diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-05-06 23:19:54 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-05-07 08:25:13 +0300 |
commit | a156998fa6abfca95740595b4cf2259a452cd0ce (patch) | |
tree | c301dc2495202adbc6eb11d4267220ea4b8a405c /indra/llrender/llimagegl.h | |
parent | ea268fcd48550f98baceef0294fd977ff12d2b35 (diff) |
viewer#799 Account for reflection probes' memory
Diffstat (limited to 'indra/llrender/llimagegl.h')
-rw-r--r-- | indra/llrender/llimagegl.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llrender/llimagegl.h b/indra/llrender/llimagegl.h index 60fa1258b6..18187734f1 100644 --- a/indra/llrender/llimagegl.h +++ b/indra/llrender/llimagegl.h @@ -47,6 +47,14 @@ class LLWindow; #define BYTES_TO_MEGA_BYTES(x) ((x) >> 20) #define MEGA_BYTES_TO_BYTES(x) ((x) << 20) +namespace LLImageGLMemory +{ + void alloc_tex_image(U32 width, U32 height, U32 pixformat); + void free_tex_image(U32 texName); + void free_tex_images(U32 count, const U32* texNames); + void free_cur_tex_image(); +} + //============================================================================ class LLImageGL : public LLRefCount { |