// EXTERNAL INCLUDES
#include <pthread.h>
#include <semaphore.h>
+#include <atomic>
#include <stdint.h>
#include <dali/devel-api/threading/conditional-wait.h>
#include <dali/integration-api/core.h>
*/
virtual void AddSurface( Dali::RenderSurfaceInterface* surface );
+ /**
+ * @copydoc ThreadControllerInterface::IsRenderingWindows()
+ */
+ bool IsRenderingWindows() const override { return mIsRenderingWindows; }
+
private:
// Undefined copy constructor.
volatile unsigned int mUploadWithoutRendering; ///< Will be set to upload the resource only (with no rendering)
volatile unsigned int mFirstFrameAfterResume; ///< Will be set to check the first frame after resume (for log)
+
+ std::atomic<bool> mIsRenderingWindows; ///< This is set only from the render thread and read only from the event thread
};
} // namespace Adaptor