class DisplayCompositorSmokeTest
Defined at line 58 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_
SynchronousInterfacePtr sysmem_allocator_
unique_ptr executor_
unique_ptr display_manager_
Public Methods
void SetUp ()
Defined at line 60 of file ../../src/ui/scenic/lib/flatland/engine/tests/smoketests/display_compositor_smoketest.cc
void TearDown ()
Defined at line 102 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 109 of file ../../src/ui/scenic/lib/flatland/engine/tests/smoketests/display_compositor_smoketest.cc
Protected Methods
std::pair<std::unique_ptr<escher::Escher>, std::shared_ptr<flatland::VkRenderer>> NewVkRenderer ()
Defined at line 124 of file ../../src/ui/scenic/lib/flatland/engine/tests/smoketests/display_compositor_smoketest.cc
std::shared_ptr<flatland::NullRenderer> NewNullRenderer ()
Defined at line 133 of file ../../src/ui/scenic/lib/flatland/engine/tests/smoketests/display_compositor_smoketest.cc
fuchsia::sysmem2::BufferCollectionSyncPtr SetupClientTextures (DisplayCompositor * display_compositor, allocation::GlobalBufferCollectionId collection_id, fuchsia::images2::PixelFormat pixel_type, uint32_t width, uint32_t height, uint32_t num_vmos, fuchsia::sysmem2::BufferCollectionInfo * collection_info)
Sets up the buffer collection information for collections that will be imported
into the engine.
Defined at line 139 of file ../../src/ui/scenic/lib/flatland/engine/tests/smoketests/display_compositor_smoketest.cc