Merge "Add DALI_CORE_API at the DevelFrameBuffer apis" into devel/master
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 4 Jun 2020 09:05:13 +0000 (09:05 +0000)
committerGerrit Code Review <gerrit@review>
Thu, 4 Jun 2020 09:05:13 +0000 (09:05 +0000)
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