class FakeDisplayStack

Defined at line 26 of file ../../src/graphics/display/lib/fake-display-stack/fake-display-stack.h

FakeDisplayStack creates and holds a FakeDisplay device as well as the

Sysmem device and the display coordinator Controller which are attached to

the fake display device and clients can connect to.

Public Methods

void FakeDisplayStack (std::unique_ptr<SysmemServiceProvider> sysmem_service_provider, const FakeDisplayDeviceConfig & device_config)

Defined at line 22 of file ../../src/graphics/display/lib/fake-display-stack/fake-display-stack.cc

void FakeDisplayStack (const FakeDisplayStack & )

Defined at line 31 of file ../../src/graphics/display/lib/fake-display-stack/fake-display-stack.h

void FakeDisplayStack (FakeDisplayStack && )

Defined at line 32 of file ../../src/graphics/display/lib/fake-display-stack/fake-display-stack.h

void ~FakeDisplayStack ()

Defined at line 32 of file ../../src/graphics/display/lib/fake-display-stack/fake-display-stack.cc

FakeDisplayStack & operator= (const FakeDisplayStack & )

Defined at line 33 of file ../../src/graphics/display/lib/fake-display-stack/fake-display-stack.h

FakeDisplayStack & operator= (FakeDisplayStack && )

Defined at line 34 of file ../../src/graphics/display/lib/fake-display-stack/fake-display-stack.h

FakeDisplay & display_engine ()

Must not be called after SyncShutdown().

Defined at line 36 of file ../../src/graphics/display/lib/fake-display-stack/fake-display-stack.cc

fidl::ClientEnd<fuchsia_sysmem2::Allocator> ConnectToSysmemAllocatorV2 ()

Must not be called after SyncShutdown().

Defined at line 41 of file ../../src/graphics/display/lib/fake-display-stack/fake-display-stack.cc

void SyncShutdown ()

Must be called at least once.

Join all threads providing display and sysmem protocols, and remove all

the devices bound to the mock root device.

Defined at line 53 of file ../../src/graphics/display/lib/fake-display-stack/fake-display-stack.cc

fidl::ClientEnd<fuchsia_io::Directory> ServeCoordinator ()

Serves coordinator services to the returned directory.

Must not be called after `SyncShutdown()`.

Defined at line 66 of file ../../src/graphics/display/lib/fake-display-stack/fake-display-stack.cc

void ServeCoordinatorToProcessOutgoingDirectory ()

Serves coordinator services to the process's outgoing directory.

Must not be called after `SyncShutdown()`.

Defined at line 71 of file ../../src/graphics/display/lib/fake-display-stack/fake-display-stack.cc