More work on the rendering pipeline