1. A method of displaying graphics on an electronic device, comprising: displaying an element of a user interface via a graphics layer attached to a software renderer; detaching the graphics layer from the software renderer; and attaching the graphics layer to one or more of a plurality of hardware layers.