struct Flatland1ContentState
Defined at line 19 of file ../../src/ui/scenic/lib/flatland/flatland1_state.h
Session-side state for the classic (Flatland1) content representation.
TODO(https://fxbug.dev/523371761): delete completely once the facade is the only content path
(facade step 130).
Public Members
unordered_map image_metadatas
unordered_map image_sample_regions
Public Methods
allocation::ImageMetadata * FindImage (TransformHandle content_handle)
Shared by the ~10 SetImage*/ReleaseImage* methods: returns the metadata for
|content_handle|, or nullptr if it is not image content. Callers keep their
own (distinct) error messages - this only collapses the find/end-check.
Defined at line 9 of file ../../src/ui/scenic/lib/flatland/flatland1_state.cc
const allocation::ImageMetadata * FindImage (TransformHandle content_handle)
Defined at line 17 of file ../../src/ui/scenic/lib/flatland/flatland1_state.cc