X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fvisuals%2Fsvg%2Fsvg-visual.h;h=2ccd337556feee032957c5d088861123cd3e2f55;hp=93decded14753e42ae8616ae606d3e104b3b6cfa;hb=HEAD;hpb=826db34a0666662f7cd8adb89f25c9c9b0c01b5f diff --git a/dali-toolkit/internal/visuals/svg/svg-visual.h b/dali-toolkit/internal/visuals/svg/svg-visual.h index 93decde..faf8a22 100644 --- a/dali-toolkit/internal/visuals/svg/svg-visual.h +++ b/dali-toolkit/internal/visuals/svg/svg-visual.h @@ -25,6 +25,7 @@ // INTERNAL INCLUDES #include #include +#include namespace Dali { @@ -153,10 +154,9 @@ public: /** * @bried Apply the rasterized image to the visual. * - * @param[in] rasterizedPixelData The pixel buffer with the rasterized pixels - * @param[in] success Whether the task succeeds. + * @param[in] task SvgTaskPtr */ - void ApplyRasterizedImage(PixelData rasterizedPixelData, bool success); + void ApplyRasterizedImage(SvgTaskPtr task); private: /** @@ -189,6 +189,8 @@ private: WeakHandle mPlacementActor; Vector2 mRasterizedSize; Dali::ImageDimensions mDesiredSize{}; + SvgTaskPtr mLoadingTask; + SvgTaskPtr mRasterizingTask; bool mLoadFailed; bool mAttemptAtlasing; ///< If true will attempt atlasing, otherwise create unique texture };