Dali 3D User Interface Engine
performance-tips

Performance Tips

High CPU occupancy

High GPU occupancy

// C++
// In this mode depth testing is turned off and order is determined by the hierachy (depth-first search order).
// Not always recommended if there is going to be a lot of overdraw ( if lots of actors are on top of each other)
Actor::SetDrawMode( DrawMode::OVERLAY_2D ); // C++
// JavaScript
// In this mode depth testing is turned off and order is determined by the hierachy (depth-first search order).
// Not always recommended if there is going to be a lot of overdraw ( if lots of actors are on top of each other)
actor.drawMode = dali.DRAW_MODE_OVERLAY_2D;
Dali Docs Home
Read more about Dali