Use double buffering and diff rendering.