X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftexture-manager%2Ftexture-upload-observer.cpp;h=ee8ff1cf17524f311a81e1936efc0e9e3b86d620;hb=ca51ee97baf5f41ecf741e22d865ff6c9e0bf769;hp=524ef67aa537e1619b3ac5411e35ee9564cd8ed7;hpb=5151d2e631f0173f3ad7a5600b7286317741a596;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/texture-manager/texture-upload-observer.cpp b/dali-toolkit/internal/texture-manager/texture-upload-observer.cpp index 524ef67..ee8ff1c 100644 --- a/dali-toolkit/internal/texture-manager/texture-upload-observer.cpp +++ b/dali-toolkit/internal/texture-manager/texture-upload-observer.cpp @@ -37,6 +37,18 @@ TextureUploadObserver::TextureInformation::TextureInformation(ReturnType returnT { } +TextureUploadObserver::TextureInformation::TextureInformation(ReturnType returnType, int32_t textureId, TextureSet textureSet, const std::string& url, bool preMultiplied) +: returnType(returnType), + textureId(textureId), + textureSet(textureSet), + useAtlasing(false), + atlasRect(Vector4::ZERO), + preMultiplied(preMultiplied), + pixelBuffer(), + url(url) +{ +} + TextureUploadObserver::TextureInformation::TextureInformation(ReturnType returnType, Devel::PixelBuffer pixelBuffer, const std::string& url, bool preMultiplied) : returnType(returnType), textureId(Internal::TextureManagerType::INVALID_TEXTURE_ID), @@ -49,6 +61,20 @@ TextureUploadObserver::TextureInformation::TextureInformation(ReturnType returnT { } +TextureUploadObserver::TextureInformation::TextureInformation(ReturnType returnType, int32_t textureId, TextureSet textureSet, uint32_t frameCount, uint32_t interval) +: returnType(returnType), + textureId(textureId), + textureSet(textureSet), + useAtlasing(false), + atlasRect(Vector4::ZERO), + preMultiplied(false), + pixelBuffer(), + url(), + frameCount(frameCount), + interval(interval) +{ +} + TextureUploadObserver::TextureUploadObserver() { }