class NullRenderer
Defined at line 25 of file ../../src/ui/scenic/lib/flatland/renderer/null_renderer.h
A renderer implementation used for validation. It does everything a standard
renderer implementation does except for actually rendering.
Public Methods
fpromise::promise<> ImportBufferCollection (allocation::GlobalBufferCollectionIdcollection_id,fidl::WireClient<fuchsia_sysmem2::Allocator> &sysmem_allocator,fidl::ClientEnd<fuchsia_sysmem2::BufferCollectionToken>token,BufferCollectionUsageusage,std::optional<fuchsia::math::SizeU>size)
|BufferCollectionImporter|
Defined at line 14 of file ../../src/ui/scenic/lib/flatland/renderer/null_renderer.cc
void ~NullRenderer ()
Defined at line 27 of file ../../src/ui/scenic/lib/flatland/renderer/null_renderer.h
void ReleaseBufferCollection (allocation::GlobalBufferCollectionId collection_id, BufferCollectionUsage usage)
|BufferCollectionImporter|
Defined at line 55 of file ../../src/ui/scenic/lib/flatland/renderer/null_renderer.cc
bool ImportBufferImage (const allocation::ImageMetadata & metadata, BufferCollectionUsage usage)
|BufferCollectionImporter|
Defined at line 74 of file ../../src/ui/scenic/lib/flatland/renderer/null_renderer.cc
void ReleaseBufferImage (allocation::GlobalImageId image_id)
|BufferCollectionImporter|
Defined at line 136 of file ../../src/ui/scenic/lib/flatland/renderer/null_renderer.cc
void Render (const allocation::ImageMetadata &render_target,const std::vector<EngineLayer> &layers,const std::vector<EngineLayerImage> &images,const RenderArgs &render_args)
Check that the buffer collections for each of the images passed in have been validated.
DCHECK if they have not.
Defined at line 148 of file ../../src/ui/scenic/lib/flatland/renderer/null_renderer.cc
void SetColorConversionValues (const fidl::Array<float, 9> &coefficients,const fidl::Array<float, 3> &preoffsets,const fidl::Array<float, 3> &postoffsets)
|Renderer|.
Defined at line 142 of file ../../src/ui/scenic/lib/flatland/renderer/null_renderer.cc
fuchsia_images2::PixelFormat ChoosePreferredRenderTargetFormat (const std::vector<fuchsia_images2::PixelFormat> & available_formats)
|Renderer|.
Defined at line 174 of file ../../src/ui/scenic/lib/flatland/renderer/null_renderer.cc
bool SupportsRenderInProtected ()
|Renderer|.
Defined at line 185 of file ../../src/ui/scenic/lib/flatland/renderer/null_renderer.cc
bool RequiresRenderInProtected (const std::vector<EngineLayerImage> & images)
|Renderer|.
Defined at line 187 of file ../../src/ui/scenic/lib/flatland/renderer/null_renderer.cc