X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftexture-manager%2Ftexture-cache-manager.h;h=fb7dfd7148b0fd634a13eff0653feee7f7707b85;hb=73949ef40f8dbe1e9661ae33e2f7765c93f0b25a;hp=dbd3e62fd9fd63d21fe76710407de9bc680e4e9c;hpb=b33712a17095254f5a42eb2458c7e2f840fd8a13;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/texture-manager/texture-cache-manager.h b/dali-toolkit/internal/texture-manager/texture-cache-manager.h index dbd3e62..fb7dfd7 100644 --- a/dali-toolkit/internal/texture-manager/texture-cache-manager.h +++ b/dali-toolkit/internal/texture-manager/texture-cache-manager.h @@ -208,6 +208,7 @@ public: * @param[in] useAtlas True if atlased * @param[in] maskTextureId The masking texture id (or INVALID_TEXTURE_ID) * @param[in] cropToMask True if crop to mask + * @param[in] frameIndex The frame index to use * @return A hash of the provided data for caching. */ TextureCacheManager::TextureHash GenerateHash( @@ -217,7 +218,8 @@ public: const Dali::SamplingMode::Type& samplingMode, const TextureCacheManager::UseAtlas& useAtlas, const TextureCacheManager::TextureId& maskTextureId, - const bool& cropToMask); + const bool& cropToMask, + const std::uint32_t& frameIndex); /** * @brief Looks up a cached texture by its hash. @@ -228,10 +230,12 @@ public: * @param[in] fittingMode The FittingMode to use * @param[in] samplingMode The SamplingMode to use * @param[in] useAtlas True if atlased + * @param[in] storageType Whether the pixel data is stored in the cache or uploaded to the GPU * @param[in] maskTextureId Optional texture ID to use to mask this image + * @param[in] cropToMask True if crop to mask * @param[in] preMultiplyOnLoad if the image's color should be multiplied by it's alpha. Set to OFF if there is no alpha. * @param[in] isAnimatedImage True if the texture is from animated image. - * @param[in] cropToMask True if crop to mask + * @param[in] frameIndex The frame index to use * @return A TextureCacheIndex of a cached Texture if found. Or INVALID_CACHE_INDEX if not found. */ TextureCacheManager::TextureCacheIndex FindCachedTexture( @@ -241,10 +245,12 @@ public: const Dali::FittingMode::Type& fittingMode, const Dali::SamplingMode::Type& samplingMode, const TextureCacheManager::UseAtlas& useAtlas, + const StorageType& storageType, const TextureCacheManager::TextureId& maskTextureId, const bool& cropToMask, const TextureCacheManager::MultiplyOnLoad& preMultiplyOnLoad, - const bool& isAnimatedImage); + const bool& isAnimatedImage, + const std::uint32_t& frameIndex); /** * @brief Append a Texture to the TextureCacheManager.