diff options
author | Jason Sams <rjsams@android.com> | 2010-02-23 17:44:28 -0800 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2010-02-23 17:44:28 -0800 |
commit | c2908e60c9b021fb4bb69acff8d49981dd4dade8 (patch) | |
tree | 7b719d7ca8dc804e2906df1d38022ea4f9c22c50 /libs/rs/rsScriptC_Lib.cpp | |
parent | 7eecbf2085bcfe475daf68090a1a4f47fbb6ec72 (diff) |
Support defered generation of mipmaps. With this change we support mipmap generation when the texture is uploaded to GL without requiring RS to retain the full chain.
Diffstat (limited to 'libs/rs/rsScriptC_Lib.cpp')
-rw-r--r-- | libs/rs/rsScriptC_Lib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/rs/rsScriptC_Lib.cpp b/libs/rs/rsScriptC_Lib.cpp index 6b8ed0dd8e0f..235c153b058d 100644 --- a/libs/rs/rsScriptC_Lib.cpp +++ b/libs/rs/rsScriptC_Lib.cpp @@ -975,7 +975,7 @@ static void SC_hsb(float h, float s, float b, float a) static void SC_uploadToTexture(RsAllocation va, uint32_t baseMipLevel) { GET_TLS(); - rsi_AllocationUploadToTexture(rsc, va, baseMipLevel); + rsi_AllocationUploadToTexture(rsc, va, false, baseMipLevel); } static void SC_uploadToBufferObject(RsAllocation va) |