X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fevent%2Fimages%2Fbuffer-image-impl.h;h=496eaacf634f63ad233b7818f576aea23d2ec587;hb=ff364987bf3c2ef5bb2b57348747eeb784d8ba90;hp=7be9544fe23df0cafc23fedadfbae593de0f0175;hpb=334442ab65c242cf6da1435749a5c5c5bb69f592;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/event/images/buffer-image-impl.h b/dali/internal/event/images/buffer-image-impl.h index 7be9544..496eaac 100644 --- a/dali/internal/event/images/buffer-image-impl.h +++ b/dali/internal/event/images/buffer-image-impl.h @@ -54,12 +54,10 @@ public: * @param [in] width image width in pixels * @param [in] height image height in pixels * @param [in] pixelformat the pixel format (rgba 32 bit by default) - * @param [in] releasePol optionally relase memory when image is not visible on screen (default: keep image data until Image object is alive). */ static BufferImagePtr New( unsigned int width, unsigned int height, - Pixel::Format pixelformat, - ReleasePolicy releasePol = IMAGE_RELEASE_POLICY_DEFAULT ); + Pixel::Format pixelformat ); /** * @DEPRECATED_1_1.5. Support for externally owned Pixel Buffers is due to be removed TBA. It is recommended that a BufferImage owned Buffer be used instead. @@ -78,14 +76,12 @@ public: * @param [in] height image height in pixels * @param [in] pixelformat the pixel format (rgba 32 bit by default) * @param [in] stride the internal stride of the pixelbuffer in pixels - * @param [in] releasePol optionally relase memory when image is not visible on screen (default: keep image data until Image object is alive). */ static BufferImagePtr New( PixelBuffer* pixBuf, unsigned int width, unsigned int height, Pixel::Format pixelformat, - unsigned int stride, - ReleasePolicy releasePol = IMAGE_RELEASE_POLICY_DEFAULT ); + unsigned int stride ); /** * Create a new BufferImage. @@ -96,12 +92,10 @@ public: * @param [in] width image width in pixels * @param [in] height image height in pixels * @param [in] pixelformat the pixel format (rgba 32 bit by default) - * @param [in] releasePol optionally release memory when image is not visible on screen (default: keep image data until Image object is alive). */ BufferImage(unsigned int width, unsigned int height, - Pixel::Format pixelformat, - ReleasePolicy releasePol = IMAGE_RELEASE_POLICY_DEFAULT); + Pixel::Format pixelformat ); /** * Create a new BufferImage, which uses external data source. @@ -117,14 +111,12 @@ public: * @param [in] height image height in pixels * @param [in] pixelformat the pixel format (rgba 32 bit by default) * @param [in] stride the internal stride of the pixelbuffer in pixels - * @param [in] releasePol optionally relase memory when image is not visible on screen (default: keep image data until Image object is alive). */ BufferImage(PixelBuffer* pixBuf, unsigned int width, unsigned int height, Pixel::Format pixelformat, - unsigned int stride, - ReleasePolicy releasePol = IMAGE_RELEASE_POLICY_DEFAULT); + unsigned int stride ); protected: /** @@ -207,8 +199,7 @@ private: void SetupBuffer( unsigned int width, unsigned int height, Pixel::Format pixelformat, - unsigned int byteStride, - ReleasePolicy releasePol ); + unsigned int byteStride ); void CreateHostBitmap();