From fe5fe40d565d93682afcd6d6f0b1cce9a3a1e96e Mon Sep 17 00:00:00 2001 From: "Seungho, Baek" Date: Thu, 4 Jun 2020 10:55:09 +0900 Subject: [PATCH] Add DALI_CORE_API at the DevelFrameBuffer apis - With the patch "Util functions that convert a kind of buffers to url" Change-Id: I978ae6d7c2d0ec44e70253de13df7686aa82e015 Signed-off-by: Seungho, Baek --- dali/devel-api/rendering/frame-buffer-devel.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/dali/devel-api/rendering/frame-buffer-devel.h b/dali/devel-api/rendering/frame-buffer-devel.h index 3d5f5df..64d58a4 100644 --- a/dali/devel-api/rendering/frame-buffer-devel.h +++ b/dali/devel-api/rendering/frame-buffer-devel.h @@ -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 -- 2.7.4