class FrameInfo

Defined at line 188 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/cpp/fidl/fuchsia.ui.composition.internal/cpp/natural_types.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 Methods

void FrameInfo (Storage_ storage)
void FrameInfo ()

Defined at line 194 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/cpp/fidl/fuchsia.ui.composition.internal/cpp/natural_types.h

void FrameInfo (FrameInfo && )

Defined at line 195 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/cpp/fidl/fuchsia.ui.composition.internal/cpp/natural_types.h

bool IsEmpty ()
const std::optional<uint32_t> & buffer_index ()

The index of the VMO where the requested frame has been rendered

in the buffer collection.

::std::optional<uint32_t> & buffer_index ()

The index of the VMO where the requested frame has been rendered

in the buffer collection.

FrameInfo & buffer_index (std::optional<uint32_t> value)

The index of the VMO where the requested frame has been rendered

in the buffer collection.

const std::optional<int64_t> & capture_timestamp ()

The time that the buffer was populated with the frame.

::std::optional<int64_t> & capture_timestamp ()

The time that the buffer was populated with the frame.

FrameInfo & capture_timestamp (std::optional<int64_t> value)

The time that the buffer was populated with the frame.

const std::optional< ::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.

::std::optional< ::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.

FrameInfo & buffer_release_token (std::optional< ::zx::eventpair> value)

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.

void FrameInfo (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
FrameInfo & operator= (FrameInfo && )

Defined at line 196 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/cpp/fidl/fuchsia.ui.composition.internal/cpp/natural_types.h

Friends

class MemberVisitor
class NaturalTableCodingTraits