X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fpublic-api%2Frendering%2Fframe-buffer.h;h=30c5e6de4d0bdc756018be285eeb8246c148c167;hb=646f736e77b085c86e982c0d1d4b895c2a431330;hp=73df151f9c403b51795da6102f8913238840712a;hpb=eb6f5959d8f8e03bf8bfba6c3091bdb962ec0830;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/public-api/rendering/frame-buffer.h b/dali/public-api/rendering/frame-buffer.h index 73df151..30c5e6d 100644 --- a/dali/public-api/rendering/frame-buffer.h +++ b/dali/public-api/rendering/frame-buffer.h @@ -2,7 +2,7 @@ #define DALI_FRAMEBUFFER_H /* - * Copyright (c) 2016 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. @@ -18,6 +18,9 @@ * */ +// EXTERNAL INCLUDES +#include // uint32_t + // INTERNAL INCLUDES #include #include @@ -34,7 +37,7 @@ class FrameBuffer; * @brief FrameBuffer is a collection of textures that can be used as the destination for rendering. * @SINCE_1_1.43 */ -class DALI_IMPORT_API FrameBuffer : public BaseHandle +class DALI_CORE_API FrameBuffer : public BaseHandle { public: @@ -72,7 +75,7 @@ public: * @param[in] attachments The attachments comprising the format of the FrameBuffer (the type is int to allow multiple bitmasks to be ORd) * @return A handle to a newly allocated FrameBuffer */ - static FrameBuffer New( unsigned int width, unsigned int height, unsigned int attachments ); + static FrameBuffer New( uint32_t width, uint32_t height, uint32_t attachments ); /** * @brief Default constructor, creates an empty handle. @@ -133,7 +136,7 @@ public: * @note The specified texture mipmap has to have the same size than the FrameBuffer * otherwise it won't be attached. */ - void AttachColorTexture( Texture& texture, unsigned int mipmapLevel, unsigned int layer ); + void AttachColorTexture( Texture& texture, uint32_t mipmapLevel, uint32_t layer ); /** * @brief Gets the color texture used as output in the FrameBuffer.