abstracted out the physical draw operations in renderer to graphics