class FrameInfo
Defined at line 338 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/hlcpp/fuchsia/ui/composition/internal/cpp/fidl.h
Return fields of the [`GetNextFrame`] call. These fields hold the
frame’s information on buffer location, timing, and a way to release
after using it. All fields will be returned by the server.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
FrameInfo & set_buffer_index (uint32_t _value)
FrameInfo & set_capture_timestamp (int64_t _value)
FrameInfo & set_buffer_release_token (::zx::eventpair _value)
void FrameInfo ()
void FrameInfo (FrameInfo && other)
void ~FrameInfo ()
FrameInfo & operator= (FrameInfo && other)
::std::unique_ptr<FrameInfo> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, FrameInfo * _value, size_t _offset)
zx_status_t Clone (FrameInfo * _result)
const uint32_t & buffer_index ()
The index of the VMO where the requested frame has been rendered
in the buffer collection.
Defined at line 346 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/hlcpp/fuchsia/ui/composition/internal/cpp/fidl.h
bool has_buffer_index ()
Defined at line 350 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/hlcpp/fuchsia/ui/composition/internal/cpp/fidl.h
uint32_t * mutable_buffer_index ()
The index of the VMO where the requested frame has been rendered
in the buffer collection.
Defined at line 356 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/hlcpp/fuchsia/ui/composition/internal/cpp/fidl.h
void clear_buffer_index ()
Defined at line 364 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/hlcpp/fuchsia/ui/composition/internal/cpp/fidl.h
const int64_t & capture_timestamp ()
The time that the buffer was populated with the frame.
Defined at line 373 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/hlcpp/fuchsia/ui/composition/internal/cpp/fidl.h
bool has_capture_timestamp ()
Defined at line 377 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/hlcpp/fuchsia/ui/composition/internal/cpp/fidl.h
int64_t * mutable_capture_timestamp ()
The time that the buffer was populated with the frame.
Defined at line 382 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/hlcpp/fuchsia/ui/composition/internal/cpp/fidl.h
void clear_capture_timestamp ()
Defined at line 390 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/hlcpp/fuchsia/ui/composition/internal/cpp/fidl.h
const ::zx::eventpair & buffer_release_token ()
The release token for |buffer_index|. The client drops the eventpair
to signal to the server that |buffer_index| is free for writing.
If the eventpair is not dropped, then in the future calls to
[`GetNextFrame`], if there are no available buffers, the server will
wait until the client frees up a past buffer. If the client was holding
on to all buffers in the buffer collection and then
releases a buffer while hanging, the server will immediately return the
latest frame.
Defined at line 406 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/hlcpp/fuchsia/ui/composition/internal/cpp/fidl.h
bool has_buffer_release_token ()
Defined at line 410 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/hlcpp/fuchsia/ui/composition/internal/cpp/fidl.h
::zx::eventpair * mutable_buffer_release_token ()
The release token for |buffer_index|. The client drops the eventpair
to signal to the server that |buffer_index| is free for writing.
If the eventpair is not dropped, then in the future calls to
[`GetNextFrame`], if there are no available buffers, the server will
wait until the client frees up a past buffer. If the client was holding
on to all buffers in the buffer collection and then
releases a buffer while hanging, the server will immediately return the
latest frame.
Defined at line 422 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/hlcpp/fuchsia/ui/composition/internal/cpp/fidl.h
void clear_buffer_release_token ()
Defined at line 430 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/hlcpp/fuchsia/ui/composition/internal/cpp/fidl.h