X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fimage-atlas%2Fimage-atlas.h;h=5ef91956ebcf4eb8fb22015832d51ae444236777;hb=764cd70c98c4f9393c8b50abb7b5a16484c28977;hp=cef3eb7548b441a949e4b3bc3dc49dfd218ae158;hpb=f3c7e52f300fc2f6d07bcbd75ad3b992e19083f5;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/image-atlas/image-atlas.h b/dali-toolkit/devel-api/image-atlas/image-atlas.h index cef3eb7..5ef9195 100644 --- a/dali-toolkit/devel-api/image-atlas/image-atlas.h +++ b/dali-toolkit/devel-api/image-atlas/image-atlas.h @@ -24,13 +24,13 @@ #include #include #include +#include namespace Dali { namespace Toolkit { - namespace Internal DALI_INTERNAL { class ImageAtlas; @@ -83,7 +83,7 @@ public: /** * @brief This assignment operator is required for (smart) pointer semantics. * - * @param [in] rhs A reference to the copied handle + * @param [in] handle A reference to the copied handle * @return A reference to this */ ImageAtlas& operator=( const ImageAtlas& handle ); @@ -128,6 +128,14 @@ public: bool orientationCorrection = true ); /** + * @brief Upload a pixel buffer to atlas + * + * @param [out] textureRect The texture area of the resource image in the atlas. + * @param [in] pixelData The pixel data. + */ + bool Upload( Vector4& textureRect, PixelData pixelData ); + + /** * @brief Remove the image at the given rectangle. * * The rectangular area is marked unoccupied, so new image can be added to this area.