graphics/iulib: support staging