X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fimage-atlas%2Fimage-atlas.h;h=315584a5d32c9a6c46eb1474f8eba4b2d620b448;hb=0297bd30ec1f17d6087f9b876e58ef0c510e9585;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..315584a 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; @@ -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, PixelDataPtr pixelData ); + + /** * @brief Remove the image at the given rectangle. * * The rectangular area is marked unoccupied, so new image can be added to this area.