This lets the compositor call this function after the fact to replace the renderer/allocator after a renderer context lost.