class TrustedFlatland
Defined at line 13723 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
A privileged protocol for trusted Flatland sessions that require special capabilities.
This protocol is composed into the [Flatland] protocol. Methods in this protocol
are only available if the Flatland session was created via [TrustedFlatlandFactory].
Public Methods
void ~TrustedFlatland ()
void ReleaseImageImmediately (::fuchsia::ui::composition::ContentId image_id)
Releases an image immediately, without waiting for the next present.
void ReleaseImageImmediately2 (::fuchsia::ui::composition::ImageId image_id)
Releases an Image immediately, without waiting for the next present. This is a trusted
memory-eviction path.
The Image is forcibly unbound from any Layers that currently reference it. Those Layers
behave as if their image was simply never set (they are invisible, but retain their image
properties) until their next `SetLayerImage()`.
Any pending release fences for the evicted Image's bindings will signal at the earliest
safe point.
This method is only available if Flatland2 is enabled and the session is trusted.