Change the API for creating framebuffers and programs