X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=dali-toolkit%2Finternal%2Ftexture-manager%2Ftexture-upload-observer.cpp;h=1e59c2d84f18cf57c45f18ca3f909a6c4cc5668a;hb=21f841ba0703a6fbf442ab097451560b7b6efe1b;hp=524ef67aa537e1619b3ac5411e35ee9564cd8ed7;hpb=7946b5a1a7188e31803ac8de5c4a8ea3cbc560cc;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..1e59c2d 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, uint32_t frameCount, uint32_t interval) +: returnType(returnType), + textureId(textureId), + textureSet(), + useAtlasing(false), + atlasRect(Vector4::ZERO), + preMultiplied(false), + pixelBuffer(), + url(), + frameCount(frameCount), + interval(interval) +{ +} + TextureUploadObserver::TextureUploadObserver() { }