projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added RenderPass and RenderTarget support
[platform/core/uifw/dali-adaptor.git]
/
dali
/
internal
/
graphics
/
gles-impl
/
gles-graphics-render-target.h
diff --git
a/dali/internal/graphics/gles-impl/gles-graphics-render-target.h
b/dali/internal/graphics/gles-impl/gles-graphics-render-target.h
index
57169d8
..
532427f
100644
(file)
--- a/
dali/internal/graphics/gles-impl/gles-graphics-render-target.h
+++ b/
dali/internal/graphics/gles-impl/gles-graphics-render-target.h
@@
-27,6
+27,7
@@
namespace Dali::Graphics::GLES
{
namespace Dali::Graphics::GLES
{
+class Framebuffer;
using RenderTargetResource = Resource<Graphics::RenderTarget, Graphics::RenderTargetCreateInfo>;
class RenderTarget : public RenderTargetResource
using RenderTargetResource = Resource<Graphics::RenderTarget, Graphics::RenderTargetCreateInfo>;
class RenderTarget : public RenderTargetResource
@@
-37,10
+38,7
@@
public:
* @param[in] createInfo Valid createInfo structure
* @param[in] controller Reference to the controller
*/
* @param[in] createInfo Valid createInfo structure
* @param[in] controller Reference to the controller
*/
- RenderTarget(const Graphics::RenderTargetCreateInfo& createInfo, Graphics::EglGraphicsController& controller)
- : RenderTargetResource(createInfo, controller)
- {
- }
+ RenderTarget(const Graphics::RenderTargetCreateInfo& createInfo, Graphics::EglGraphicsController& controller);
/**
* @brief Destructor
/**
* @brief Destructor
@@
-73,6
+71,16
@@
public:
{
// TODO: Implement moving to the discard queue
}
{
// TODO: Implement moving to the discard queue
}
+
+ /**
+ * @brief Returns framebuffer associated with the render target
+ */
+ GLES::Framebuffer* GetFramebuffer() const;
+
+ /**
+ * @brief Returns surface associated with the render target
+ */
+ Surface* GetSurface() const;
};
} // namespace Dali::Graphics::GLES
};
} // namespace Dali::Graphics::GLES