X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fpublic-api%2Fimages%2Fframe-buffer-image.h;h=623093235d0d4e256781fd34371d2b052880ae3a;hb=646f736e77b085c86e982c0d1d4b895c2a431330;hp=f2bce32c065ca1815d0f04f2ce827db5a0097494;hpb=da2e24f853c2f463df2f4b743c3b2241a537cefd;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/public-api/images/frame-buffer-image.h b/dali/public-api/images/frame-buffer-image.h index f2bce32..6230932 100644 --- a/dali/public-api/images/frame-buffer-image.h +++ b/dali/public-api/images/frame-buffer-image.h @@ -2,7 +2,7 @@ #define __DALI_FRAME_BUFFER_IMAGE_H__ /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2018 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -54,24 +54,31 @@ enum Format ///< Framebuffer format, default color depth is RGBA 32 bit with alp } /** + * @DEPRECATED_1_2.41 + * * @brief FrameBufferImage represents an Open GL ES Frame Buffer Object and contains the result * of an 'off screen' render pass of a RenderTask. * * The FrameBufferImage can then be used for rendering to the screen. * @SINCE_1_0.0 */ -class DALI_IMPORT_API FrameBufferImage : public Image +class DALI_CORE_API FrameBufferImage : public Image { public: + /** + * @DEPRECATED_1_2.41 + * * @brief Constructor which creates an uninitialized FrameBufferImage object. * * Use @ref FrameBufferImage::New to create an initialized object. * @SINCE_1_0.0 */ - FrameBufferImage(); + FrameBufferImage() DALI_DEPRECATED_API; /** + * @DEPRECATED_1_2.41 + * * @brief Creates a new FrameBufferImage. * * The maximum size of the image is limited by GL_MAX_TEXTURE_SIZE. @@ -84,10 +91,12 @@ public: * @return A handle to a new instance of a FrameBufferImage * @post When the FrameBufferImage is first used as a render target, an exception may be thrown if pixelFormat is not supported on the hardware platform. */ - static FrameBufferImage New(unsigned int width = 0, unsigned int height = 0, Pixel::Format pixelFormat = Pixel::RGBA8888, - RenderBuffer::Format bufferFormat = RenderBuffer::COLOR); + static FrameBufferImage New(uint32_t width = 0, uint32_t height = 0, Pixel::Format pixelFormat = Pixel::RGBA8888, + RenderBuffer::Format bufferFormat = RenderBuffer::COLOR) DALI_DEPRECATED_API; /** + * @DEPRECATED_1_2.41 + * * @brief Creates a new FrameBufferImage. * * The maximum size of the image is limited by GL_MAX_TEXTURE_SIZE. @@ -97,9 +106,11 @@ public: * @return A handle to a new instance of a FrameBufferImage * @post When the FrameBufferImage is first used as a render target, an exception may be thrown if the NativeImage cannot be mapped to a texture. */ - static FrameBufferImage New(NativeImageInterface& image); + static FrameBufferImage New(NativeImageInterface& image) DALI_DEPRECATED_API; /** + * @DEPRECATED_1_2.41 + * * @brief Downcasts a handle to FrameBufferImage handle. * * If handle points to a FrameBufferImage object, the @@ -108,32 +119,38 @@ public: * @param[in] handle Handle to an object * @return Handle to a FrameBufferImage object or an uninitialized handle */ - static FrameBufferImage DownCast( BaseHandle handle ); + static FrameBufferImage DownCast( BaseHandle handle ) DALI_DEPRECATED_API; /** + * @DEPRECATED_1_2.41 + * * @brief Destructor. * * This is non-virtual since derived Handle types must not contain data or virtual methods. * @SINCE_1_0.0 */ - ~FrameBufferImage(); + ~FrameBufferImage() DALI_DEPRECATED_API; /** + * @DEPRECATED_1_2.41 + * * @brief This copy constructor is required for (smart) pointer semantics. * * @SINCE_1_0.0 * @param[in] handle A reference to the copied handle */ - FrameBufferImage(const FrameBufferImage& handle); + FrameBufferImage(const FrameBufferImage& handle) DALI_DEPRECATED_API; /** + * @DEPRECATED_1_2.41 + * * @brief This assignment operator is required for (smart) pointer semantics. * * @SINCE_1_0.0 * @param[in] rhs A reference to the copied handle * @return A reference to this */ - FrameBufferImage& operator=(const FrameBufferImage& rhs); + FrameBufferImage& operator=(const FrameBufferImage& rhs) DALI_DEPRECATED_API; public: // Not intended for application developers