[Tizen] Make possible to capture on the old driver devices.
[platform/core/uifw/dali-core.git] / dali / internal / event / rendering / frame-buffer-impl.cpp
index 606537e..e1c1ab1 100644 (file)
@@ -123,6 +123,16 @@ Texture* FrameBuffer::GetDepthStencilTexture() const
   return ( mStencil ) ? mStencil.Get() : nullptr;
 }
 
+uint8_t* FrameBuffer::GetRenderedBuffer()
+{
+  return mRenderObject->GetRenderedBuffer();
+}
+
+void FrameBuffer::CaptureRenderedResult()
+{
+  CaptureRenderingResult(mEventThreadServices.GetUpdateManager(), *mRenderObject);
+}
+
 void FrameBuffer::SetSize( uint32_t width, uint32_t height )
 {
   mWidth = width;