public: // from WindowRenderSurface
/**
- * @copydoc Dali::NativeRenderSurface::GetSurface()
- */
- Any GetDrawable() override;
-
- /**
* @copydoc Dali::NativeRenderSurface::SetRenderNotification()
*/
void SetRenderNotification(TriggerEventInterface* renderNotification) override;
/**
- * @copydoc Dali::NativeRenderSurface::WaitUntilSurfaceReplaced()
- */
- void WaitUntilSurfaceReplaced() override;
-
- /**
* @copydoc Dali::NativeRenderSurface::GetNativeRenderable()
*/
virtual Any GetNativeRenderable() override;
/**
* @copydoc Dali::RenderSurfaceInterface::PostRender()
*/
- void PostRender(bool renderToFbo, bool replacingSurface, bool resizingSurface, const std::vector<Rect<int>>& damagedRects) override;
+ void PostRender() override;
/**
* @copydoc Dali::RenderSurfaceInterface::StopRender()
*/
void CreateNativeRenderable() override;
- /**
- * @copydoc Dali::NativeRenderSurface::ReleaseDrawable()
- */
- void ReleaseDrawable() override;
-
private: // Data
SurfaceSize mSurfaceSize;
TriggerEventInterface* mRenderNotification;
ColorDepth mColorDepth;
tbm_format mTbmFormat;
bool mOwnSurface;
- bool mDrawableCompleted;
+ std::vector<Rect<int>> mDamagedRects{}; ///< Keeps collected damaged render items rects for one render pass
tbm_surface_queue_h mTbmQueue;
- tbm_surface_h mConsumeSurface;
ThreadSynchronizationInterface* mThreadSynchronization; ///< A pointer to the thread-synchronization
- ConditionalWait mTbmSurfaceCondition;
};
} // namespace Dali