diff options
Diffstat (limited to 'include/libcamera/framebuffer.h')
-rw-r--r-- | include/libcamera/framebuffer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libcamera/framebuffer.h b/include/libcamera/framebuffer.h index 502f7897..de172d97 100644 --- a/include/libcamera/framebuffer.h +++ b/include/libcamera/framebuffer.h @@ -9,6 +9,7 @@ #include <assert.h> #include <limits> +#include <memory> #include <stdint.h> #include <vector> @@ -18,6 +19,7 @@ namespace libcamera { +class Fence; class Request; struct FrameMetadata { @@ -67,6 +69,8 @@ public: unsigned int cookie() const { return cookie_; } void setCookie(unsigned int cookie) { cookie_ = cookie; } + std::unique_ptr<Fence> releaseFence(); + void cancel() { metadata_.status = FrameMetadata::FrameCancelled; } private: |