Add DALI_CORE_API at the DevelFrameBuffer apis 99/235499/5
authorSeungho, Baek <sbsh.baek@samsung.com>
Thu, 4 Jun 2020 01:55:09 +0000 (10:55 +0900)
committerSeungho BAEK <sbsh.baek@samsung.com>
Mon, 8 Jun 2020 05:58:57 +0000 (05:58 +0000)
Change-Id: I978ae6d7c2d0ec44e70253de13df7686aa82e015
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
dali/devel-api/rendering/frame-buffer-devel.h

index 3d5f5df..64d58a4 100644 (file)
@@ -41,7 +41,7 @@ constexpr uint8_t MAX_COLOR_ATTACHMENTS = 8;
  * @note The size of the texture has to be same as that of the frame buffer.
  * Otherwise, it won't be attached.
  */
-void AttachDepthTexture( FrameBuffer frameBuffer, Texture& texture );
+DALI_CORE_API void AttachDepthTexture( FrameBuffer frameBuffer, Texture& texture );
 
 /**
  * @brief Attaches a depth texture to the frame buffer.
@@ -53,7 +53,7 @@ void AttachDepthTexture( FrameBuffer frameBuffer, Texture& texture );
  * @note The size of the mipmapped texture has to be same as that of the frame buffer.
  * Otherwise, it won't be attached.
  */
-void AttachDepthTexture( FrameBuffer frameBuffer, Texture& texture, uint32_t mipmapLevel );
+DALI_CORE_API void AttachDepthTexture( FrameBuffer frameBuffer, Texture& texture, uint32_t mipmapLevel );
 
 /**
  * @brief Attaches the base LOD of a stencil texture to the frame buffer.
@@ -64,7 +64,7 @@ void AttachDepthTexture( FrameBuffer frameBuffer, Texture& texture, uint32_t mip
  * @note The size of the texture has to be same as that of the frame buffer.
  * Otherwise, it won't be attached.
  */
-void AttachDepthStencilTexture( FrameBuffer frameBuffer, Texture& texture );
+DALI_CORE_API void AttachDepthStencilTexture( FrameBuffer frameBuffer, Texture& texture );
 
 /**
  * @brief Attaches a depth/stencil texture to the frame buffer.
@@ -76,7 +76,7 @@ void AttachDepthStencilTexture( FrameBuffer frameBuffer, Texture& texture );
  * @note The size of the mipmapped texture has to be same as that of the frame buffer.
  * Otherwise, it won't be attached.
  */
-void AttachDepthStencilTexture( FrameBuffer frameBuffer, Texture& texture, uint32_t mipmapLevel );
+DALI_CORE_API void AttachDepthStencilTexture( FrameBuffer frameBuffer, Texture& texture, uint32_t mipmapLevel );
 
 /**
  * @brief Gets the color texture at the given @a index used as output in the frame buffer.
@@ -89,7 +89,7 @@ void AttachDepthStencilTexture( FrameBuffer frameBuffer, Texture& texture, uint3
  * @note A maximum of 8 color attachments are supported. Passing an invalid index will return
  * an uninitialized handle.
  */
-Texture GetColorTexture( const FrameBuffer frameBuffer, uint8_t index );
+DALI_CORE_API Texture GetColorTexture( const FrameBuffer frameBuffer, uint8_t index );
 
 /**
  * @brief Gets the depth texture used as output in the frame buffer.
@@ -98,7 +98,7 @@ Texture GetColorTexture( const FrameBuffer frameBuffer, uint8_t index );
  *
  * @return A handle of the texture used as depth output, or an uninitialized handle
  */
-Texture GetDepthTexture( FrameBuffer frameBuffer );
+DALI_CORE_API Texture GetDepthTexture( FrameBuffer frameBuffer );
 
 /**
  * @brief Gets the depth/stencil texture used as output in the frame buffer.
@@ -107,7 +107,7 @@ Texture GetDepthTexture( FrameBuffer frameBuffer );
  *
  * @return A handle of the texture used as depth/stencil output, or an uninitialized handle
  */
-Texture GetDepthStencilTexture( FrameBuffer frameBuffer );
+DALI_CORE_API Texture GetDepthStencilTexture( FrameBuffer frameBuffer );
 
 } // namespace DevelFrameBuffer