1. A method comprising: receiving, by a high-level framework, a logical representation of a requested graphic for immediate display on a display element of a computer system, wherein the requested graphic is not pre-known to the high level framework; evaluating, using the high-level framework, the logical representation of the requested graphic and to derive one or more statements representing commands to a target hardware, wherein the one or more statements are expressed in a program interface for a standard low-level graphics library; sorting the one or more statements into two or more groups of statements; determining if a first group of statements is ready for rendering; if the first group of statements is ready for rendering, committing the first group of statements using the low-level graphics library and rendering to a first pre-rendering buffer; determining if a second group of statements is ready for rendering; if the second group of statements is ready for rendering, committing the second group of statements using the low-level graphics library and rendering to a second pre-rendering buffer; compositing the contents of the first pre-rendering buffer and the second pre-rendering buffer into a frame buffer for display on the display element.