NOT_REQUESTED = 0, ///< Zero means that no further updates are required
STAGE_KEEP_RENDERING = 1<<1, ///< - Stage::KeepRendering() is being used
ANIMATIONS_RUNNING = 1<<2, ///< - Animations are ongoing
- LOADING_RESOURCES = 1<<3, ///< - Resources are being loaded
- MONITORING_PERFORMANCE = 1<<4, ///< - The --enable-performance-monitor option is being used
- RENDER_TASK_SYNC = 1<<5 ///< - A render task is waiting for render sync
+ MONITORING_PERFORMANCE = 1<<3, ///< - The --enable-performance-monitor option is being used
+ RENDER_TASK_SYNC = 1<<4 ///< - A render task is waiting for render sync
};
}
* Constructor
*/
RenderStatus()
- : needsUpdate(false),
- hasRendered(false)
+ : needsUpdate(false)
{
}
*/
bool NeedsUpdate() { return needsUpdate; }
- /**
- * Set whether there were new render instructions.
- */
- void SetHasRendered(bool rendered) { hasRendered = rendered; }
-
- /**
- * Query whether there were new render instructions.
- * @return true if there were render instructions
- */
- bool HasRendered() { return hasRendered; }
-
private:
bool needsUpdate;
- bool hasRendered;
};
/**
*/
void SurfaceResized(unsigned int width, unsigned int height);
+ /**
+ * Notify the Core about the top margin size.
+ * Available stage size is reduced by this size.
+ * The stage is located below the size at the top of the display
+ * It is mainly useful for indicator in mobile device
+ * @param[in] margin margin size
+ */
+ void SetTopMargin( unsigned int margin );
+
// Core setters
/**