X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftexture-manager%2Ftexture-upload-observer.h;h=3685a5572fd85b2090b62c6dfe4585a2cb068a5c;hb=e25587f1995f9dee7a509b00afb02551ffa1af0d;hp=82b66910152d5ff7d9f2150dae3483286a4edc9d;hpb=37443e92e01c6ec91ad4401c44c59f92a368b520;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/texture-manager/texture-upload-observer.h b/dali-toolkit/internal/texture-manager/texture-upload-observer.h index 82b6691..3685a55 100644 --- a/dali-toolkit/internal/texture-manager/texture-upload-observer.h +++ b/dali-toolkit/internal/texture-manager/texture-upload-observer.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_INTERNAL_TEXTURE_UPLOAD_OBSERVER_H /* - * Copyright (c) 2022 Samsung Electronics Co., Ltd. + * Copyright (c) 2023 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. @@ -51,18 +51,16 @@ public: struct TextureInformation { - TextureInformation(ReturnType returnType, int32_t textureId, TextureSet textureSet, bool useAtlasing, const Vector4& atlasRect, bool preMultiplied); - TextureInformation(ReturnType returnType, int32_t textureId, TextureSet textureSet, const std::string& url, bool preMultiplied); - TextureInformation(ReturnType returnType, Devel::PixelBuffer pixelBuffer, const std::string& url, bool preMultiplied); - TextureInformation(ReturnType returnType, int32_t textureId, TextureSet textureSet, uint32_t frameCount, uint32_t interval); + TextureInformation(const ReturnType returnType, const int32_t textureId, TextureSet textureSet, const bool preMultiplied); + TextureInformation(const ReturnType returnType, const int32_t textureId, TextureSet textureSet, const std::string& url, const bool preMultiplied); + TextureInformation(const ReturnType returnType, Devel::PixelBuffer pixelBuffer, const std::string& url, const bool preMultiplied); + TextureInformation(const ReturnType returnType, const int32_t textureId, TextureSet textureSet, const uint32_t frameCount, const uint32_t interval, const bool preMultiplied); TextureInformation(); ReturnType returnType; ///< Returned Texture type. int32_t textureId; ///< The textureId of the loaded texture in the TextureManager TextureSet textureSet; ///< The TextureSet containing the Texture - bool useAtlasing; ///< True if atlasing was used (note: this may be different to what was requested) - const Vector4& atlasRect; ///< If using atlasing, this is the rectangle within the atlas to use. bool preMultiplied; ///< True if the image had pre-multiplied alpha applied Devel::PixelBuffer pixelBuffer; ///< The PixelBuffer of the loaded image. std::string_view url; ///< The url address of the loaded image.