Asynchronous glReadPixels with PBO

前端 未结 2 1330
天命终不由人
天命终不由人 2021-01-02 15:57

I want to use two PBOs to read pixel in alternative way. I thought the PBO way will much faster, because glReadPixels returns immediately when using PBO, and a lot of time c

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-02 16:20

    BGRA is the fastest since this is the native format on modern GPUs. RGBA, RGB and BGR need 'reformatting' during readback.

提交回复
热议问题