X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fevent%2Frendering%2Fframe-buffer-impl.h;h=bf7f42fc41c073d5c02aef1b93f1dea194b179cf;hb=refs%2Fchanges%2F26%2F81826%2F5;hp=af03c69941f22c31db59e6f3f9fdf81edcd067fa;hpb=8da16739c27519df243c812ef601ba33163fb330;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/event/rendering/frame-buffer-impl.h b/dali/internal/event/rendering/frame-buffer-impl.h index af03c69..bf7f42f 100644 --- a/dali/internal/event/rendering/frame-buffer-impl.h +++ b/dali/internal/event/rendering/frame-buffer-impl.h @@ -22,9 +22,9 @@ #include // DALI_ASSERT_ALWAYS #include // Dali::IntrusivePtr #include -#include -#include +#include #include +#include namespace Dali { @@ -42,17 +42,15 @@ class FrameBuffer : public BaseObject { public: - typedef Dali::FrameBuffer::Format Format; - /** * @brief Create a new FrameBuffer * - * @param[in] width The width of the FrameBuffer - * @param[in] height The height of the FrameBuffer - * @param[in] format The format of the FrameBuffer + * @param[in] width The width of the FrameBuffer + * @param[in] height The height of the FrameBuffer + * @param[in] attachments The attachments comprising the format of the FrameBuffer (bit-mask) * @return A smart-pointer to the newly allocated Texture. */ - static FrameBufferPtr New( unsigned int width, unsigned int height, Format format ); + static FrameBufferPtr New( unsigned int width, unsigned int height, unsigned int attachments ); /** * @brief Get the FrameBuffer render object @@ -75,11 +73,11 @@ private: // implementation /** * Constructor - * @param[in] width The width of the FrameBuffer - * @param[in] height The height of the FrameBuffer - * @param[in] format The format of the FrameBuffer + * @param[in] width The width of the FrameBuffer + * @param[in] height The height of the FrameBuffer + * @param[in] attachments The attachments comprising the format of the FrameBuffer (bit-mask) */ - FrameBuffer( unsigned int width, unsigned int height, Format format ); + FrameBuffer( unsigned int width, unsigned int height, unsigned int attachments ); /** * Second stage initialization of the Texture @@ -99,13 +97,13 @@ private: // unimplemented methods private: // data - Internal::EventThreadServices& mEventThreadServices; ///