class DisplayCompositorSmokeTest
Defined at line 46 of file ../../src/ui/scenic/lib/flatland/engine/tests/smoketests/display_compositor_smoketest.cc
The smoke tests are used to ensure that we can get testing of the Flatland
Display Compositor across a variety of test hardware configurations, including
those that do not have a real display, and those where making sysmem buffer
collection vmos host-accessible (i.e. cpu accessible) is not allowed, precluding
the possibility of doing a pixel readback on the framebuffers.
Protected Members
optional realm_root_
WireClient sysmem_allocator_
unique_ptr executor_
unique_ptr display_manager_
Protected Methods
void SetUp ()
Defined at line 48 of file ../../src/ui/scenic/lib/flatland/engine/tests/smoketests/display_compositor_smoketest.cc
void TearDown ()
Defined at line 97 of file ../../src/ui/scenic/lib/flatland/engine/tests/smoketests/display_compositor_smoketest.cc
bool IsDisplaySupported (DisplayCompositor * display_compositor, allocation::GlobalBufferCollectionId id)
Defined at line 104 of file ../../src/ui/scenic/lib/flatland/engine/tests/smoketests/display_compositor_smoketest.cc
bool RunPromise (fpromise::promise<> promise)
Run promise on this test case's executor.
Return true if result is_ok().
Defined at line 121 of file ../../src/ui/scenic/lib/flatland/engine/tests/smoketests/display_compositor_smoketest.cc
std::pair<std::unique_ptr<escher::Escher>, std::shared_ptr<flatland::VkRenderer>> NewVkRenderer ()
Defined at line 127 of file ../../src/ui/scenic/lib/flatland/engine/tests/smoketests/display_compositor_smoketest.cc
std::shared_ptr<flatland::NullRenderer> NewNullRenderer ()
Defined at line 136 of file ../../src/ui/scenic/lib/flatland/engine/tests/smoketests/display_compositor_smoketest.cc
fuchsia::sysmem2::BufferCollectionSyncPtr SetupClientTextures (DisplayCompositor *display_compositor,allocation::GlobalBufferCollectionIdcollection_id,fuchsia::images2::PixelFormatpixel_format,uint32_twidth,uint32_theight,uint32_tnum_vmos,fuchsia::sysmem2::BufferCollectionInfo *collection_info)
Sets up the buffer collection information for collections that will be imported
into the engine.
Defined at line 142 of file ../../src/ui/scenic/lib/flatland/engine/tests/smoketests/display_compositor_smoketest.cc