Is it inefficient to use more than two Swapchains for buffering? (iOS, CVPixelBuffer) #9401
Windowline
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using swapchain with CVPixelBuffer on iOS.
Then, the rendered result in the cvpixelbuffer must be used in another module, and at that time, synchronization must be maintained.
(For zero-copy, I used CVPixelBuffer as swapchain)
To effectively synchronize this, I buffered the fence and swapchain. The code is below.
It seems that in general, multiple swapchains are not used for buffering.
Is there a better way?
Thank you!.
Beta Was this translation helpful? Give feedback.
All reactions