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
bool ImportBufferCollection (allocation::GlobalBufferCollectionId collection_id, fuchsia::sysmem2::Allocator_Sync * sysmem_allocator, fidl::InterfaceHandle<fuchsia::sysmem2::BufferCollectionToken> token, BufferCollectionUsage usage, 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<ImageRect> & rectangles, const std::vector<allocation::ImageMetadata> & 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 172 of file ../../src/ui/scenic/lib/flatland/renderer/null_renderer.cc
bool SupportsRenderInProtected ()
|Renderer|.
Defined at line 183 of file ../../src/ui/scenic/lib/flatland/renderer/null_renderer.cc
bool RequiresRenderInProtected (const std::vector<allocation::ImageMetadata> & images)
|Renderer|.
Defined at line 185 of file ../../src/ui/scenic/lib/flatland/renderer/null_renderer.cc