X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fvisuals%2Fanimated-image%2Frolling-image-cache.h;h=a0d734d27aca4dd482ef1afb67e6a2e68ccd8c28;hp=b1fcce3780d1102920a4237ef733bf1716016232;hb=69ca1d127beedc5bc18d30f59b50afa14aa07f0d;hpb=f6d6e9bb02a6d7b0d8b16c9af2eb5de32b383065 diff --git a/dali-toolkit/internal/visuals/animated-image/rolling-image-cache.h b/dali-toolkit/internal/visuals/animated-image/rolling-image-cache.h index b1fcce3..a0d734d 100644 --- a/dali-toolkit/internal/visuals/animated-image/rolling-image-cache.h +++ b/dali-toolkit/internal/visuals/animated-image/rolling-image-cache.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_INTERNAL_ROLLING_IMAGE_CACHE_H /* - * Copyright (c) 2018 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -63,14 +63,14 @@ public: * Get the first frame. If it's not ready, this will trigger the * sending of FrameReady() when the image becomes ready. */ - virtual TextureSet FirstFrame(); + TextureSet FirstFrame() override; /** * Get the next frame. If it's not ready, this will trigger the * sending of FrameReady() when the image becomes ready. * This will trigger the loading of the next batch. */ - virtual TextureSet NextFrame(); + TextureSet NextFrame() override; private: /** @@ -106,12 +106,19 @@ private: void CheckFrontFrame( bool wasReady ); protected: - virtual void UploadComplete( + void UploadComplete( bool loadSuccess, int32_t textureId, TextureSet textureSet, bool useAtlasing, - const Vector4& atlasRect ); + const Vector4& atlasRect, + bool preMultiplied ) override; + + void LoadComplete( + bool loadSuccess, + Devel::PixelBuffer pixelBuffer, + const VisualUrl& url, + bool preMultiplied ) override; private: /**