Kanzi IDLE Status
AnsweredHow can I get the IDLE state when it changed? Is there any API to get the current IDLE status?
When surface doesnt need to display, handleVisibilityChange(false) to make display black in order to reduce GPU usage.
Inconsistently when handleVisibilityChange(true) to resume, the surface still displays black.
1
-
There is no direct way to understand if the application is in idle state but you can try calling Node.SetChangeFlag function with PropertyTypeChangeFlagRender argument to force a render after enabling visibility again.
Using Screen node or any other node is OK for this.
Calling Node.invalidateRender and Node.invalidateDraw functions directly will set PropertyTypeChangeFlagRender automatically.1
Please sign in to leave a comment.
Comments
1 comment