diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2021-11-16 14:18:40 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-12-11 17:53:40 +0100 |
commit | 7a34707bfdf1f5c855ce506245cc57eeae52dfff (patch) | |
tree | 1dd6e754bf4ab25cb61b1dfe40685606076d79a2 /src/android/data/soraka | |
parent | 8ac8ecb1e12f18891369bb26693bc3a0a7d6ff94 (diff) |
libcamera: framebuffer: Add Fence to FrameBuffer
Add to the FrameBuffer::Private class a unique pointer to a
Fence.
The Fence will be used to signal the availability of the Framebuffer for
incoming data transfer.
The Fence will be associated to a FrameBuffer at Request::addBuffer()
time, and if correctly signalled, reset by the core at Request queue
time.
If a FrameBuffer completes with errors, due to a Fence wait failure, the
Fence will still be owned by the FrameBuffer and it is application
responsibility to correctly reset it before reusing the buffer.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/android/data/soraka')
0 files changed, 0 insertions, 0 deletions