offload frame by frame rendering to gpu