class FlatlandDisplay
Defined at line 27 of file ../../src/ui/scenic/lib/flatland/flatland_display.h
FlatlandDisplay implements the FIDL API of the same name. It is the glue between a physical
display and a tree of Flatland content attached underneath.
Public Methods
std::shared_ptr<FlatlandDisplay> New (std::shared_ptr<utils::DispatcherHolder>dispatcher_holder,fidl::ServerEnd<fuchsia_ui_composition::FlatlandDisplay>server_end,scheduling::SessionIdsession_id,std::shared_ptr<display::Display>display,std::function<void ()>destroy_display_function,std::shared_ptr<FlatlandPresenter>flatland_presenter,std::shared_ptr<LinkSystem>link_system,std::shared_ptr<UberStructSystem::UberStructQueue>uber_struct_queue)
Creates and binds a new `FlatlandDisplay` to the provided `server_end` channel on the
dispatcher thread.
Defined at line 27 of file ../../src/ui/scenic/lib/flatland/flatland_display.cc
void FlatlandDisplay (const FlatlandDisplay & )
Because this object captures its "this" pointer in internal closures, it is unsafe to copy or
move it. Disable all copy and move operations.
Defined at line 43 of file ../../src/ui/scenic/lib/flatland/flatland_display.h
FlatlandDisplay & operator= (const FlatlandDisplay & )
Defined at line 44 of file ../../src/ui/scenic/lib/flatland/flatland_display.h
void FlatlandDisplay (FlatlandDisplay && )
Defined at line 45 of file ../../src/ui/scenic/lib/flatland/flatland_display.h
FlatlandDisplay & operator= (FlatlandDisplay && )
Defined at line 46 of file ../../src/ui/scenic/lib/flatland/flatland_display.h
TransformHandle root_transform ()
Defined at line 64 of file ../../src/ui/scenic/lib/flatland/flatland_display.h
display::Display * display ()
Defined at line 65 of file ../../src/ui/scenic/lib/flatland/flatland_display.h
scheduling::SessionId session_id ()
Defined at line 67 of file ../../src/ui/scenic/lib/flatland/flatland_display.h
void ~FlatlandDisplay ()
Defined at line 75 of file ../../src/ui/scenic/lib/flatland/flatland_display.cc
void SetContent (SetContentRequest & request, SetContentCompleter::Sync & completer)
`fuchsia_ui_composition::FlatlandDisplay`
Defined at line 92 of file ../../src/ui/scenic/lib/flatland/flatland_display.cc
void SetContent (fuchsia_ui_views::ViewportCreationToken token, fidl::ServerEnd<fuchsia_ui_composition::ChildViewWatcher> child_view_watcher)
Defined at line 96 of file ../../src/ui/scenic/lib/flatland/flatland_display.cc
void SetDevicePixelRatio (SetDevicePixelRatioRequest & request, SetDevicePixelRatioCompleter::Sync & completer)
`fuchsia_ui_composition::FlatlandDisplay`
Defined at line 199 of file ../../src/ui/scenic/lib/flatland/flatland_display.cc
void SetDevicePixelRatio (fuchsia_math::VecF device_pixel_ratio)
Defined at line 204 of file ../../src/ui/scenic/lib/flatland/flatland_display.cc
void Bind (fidl::ServerEnd<fuchsia_ui_composition::FlatlandDisplay> server_end)
Binds the FIDL ServerEnd on the dispatcher thread.
Must not be called while there's an active FIDL connection.
Defined at line 69 of file ../../src/ui/scenic/lib/flatland/flatland_display.cc