X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fvisuals%2Fimage%2Fimage-visual.h;h=0cbc3bada64d1b307c02bb638baebf1df6b3da4b;hb=4ca5a1d3277801d13ee8f367034f4ca054ecc6ee;hp=55fb59b265a2096bdb5a56c9badb2f4f7d7ba6d3;hpb=478e477e07fde916953748d2cd4befc0326bfc34;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/visuals/image/image-visual.h b/dali-toolkit/internal/visuals/image/image-visual.h index 55fb59b..0cbc3ba 100644 --- a/dali-toolkit/internal/visuals/image/image-visual.h +++ b/dali-toolkit/internal/visuals/image/image-visual.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_INTERNAL_IMAGE_VISUAL_H /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2022 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. @@ -28,7 +28,7 @@ // INTERNAL INCLUDES #include #include -#include +#include #include #include #include @@ -224,11 +224,6 @@ protected: void OnSetTransform() override; /** - * @copydoc Visual::Base::IsResourceReady - */ - bool IsResourceReady() const override; - - /** * @copydoc Visual::Base::UpdateShader */ void UpdateShader() override; @@ -248,25 +243,15 @@ public: void UploadCompleted() override; /** - * @copydoc TextureUploadObserver::UploadCompleted + * @copydoc TextureUploadObserver::LoadCompleted * * To avoid rendering garbage pixels, renderer should be added to actor after the resources are ready. * This callback is the place to add the renderer as it would be called once the loading is finished. */ - void UploadComplete(bool success, int32_t textureId, TextureSet textureSet, bool usingAtlas, const Vector4& atlasRectangle, bool preMultiplied) override; + void LoadComplete(bool success, TextureInformation textureInformation) override; private: /** - * @copydoc TextureUploadObserver::LoadComplete - * - * To avoid rendering garbage pixels, renderer should be added to actor after the resources are ready. - * This callback is the place to add the renderer as it would be called once the PixelBuffer loading is finished. - */ - void LoadComplete(bool loadSuccess, Devel::PixelBuffer pixelBuffer, const VisualUrl& url, bool preMultiplied) override - { - } - - /** * Allocate the mask data when a masking property is defined in the property map */ void AllocateMaskData();