X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fevent%2Frendering%2Fframe-buffer-impl.h;h=86f50930b29228e4163cda71c50308824911406d;hb=e8224a75acf610f8e45bf66907926bdee1c7aa96;hp=7428ad147544b9a8fd0021c6b64ba1a96dd794c1;hpb=4fad7c0fbcdc7c359a852db081dc5db15a9b4db8;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 7428ad1..86f5093 100755 --- a/dali/internal/event/rendering/frame-buffer-impl.h +++ b/dali/internal/event/rendering/frame-buffer-impl.h @@ -2,7 +2,7 @@ #define DALI_INTERNAL_FRAME_BUFFER_H /* - * Copyright (c) 2019 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 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. @@ -23,6 +23,7 @@ #include // Dali::IntrusivePtr #include #include +#include #include #include @@ -89,7 +90,7 @@ public: /** * @copydoc Dali::FrameBuffer::GetColorTexture() */ - Texture* GetColorTexture(); + Texture* GetColorTexture(uint8_t index) const; /** * @brief Sets the frame buffer size. @@ -99,12 +100,6 @@ public: void SetSize( uint32_t width, uint32_t height ); /** - * @brief Sets the background color - * @param[in] color The new background color - */ - void SetBackgroundColor( const Vector4& color ); - - /** * @brief Mark the render surface as invalid * * The render surface is maked as invalid when it is deleted. @@ -148,10 +143,11 @@ private: // data Internal::EventThreadServices& mEventThreadServices; ///< Used to send messages to the render thread via update thread Internal::Render::FrameBuffer* mRenderObject; ///< The Render::Texture associated to this texture - TexturePtr mColor; + TexturePtr mColor[ Dali::DevelFrameBuffer::MAX_COLOR_ATTACHMENTS ]; uint32_t mWidth; uint32_t mHeight; Mask mAttachments; ///< Bit-mask of type FrameBuffer::Attachment::Mask + uint8_t mColorAttachmentCount; bool mIsSurfaceBacked:1;