class Allocator

Defined at line 24 of file ../../src/ui/scenic/lib/allocation/allocator.h

This class implements Allocator service which allows allocation of BufferCollections which can be

used in multiple Flatland/Gfx sessions simultaneously.

Public Methods

void Allocator (sys::ComponentContext * app_context, const std::vector<std::shared_ptr<BufferCollectionImporter>> & default_buffer_collection_importers, const std::vector<std::shared_ptr<BufferCollectionImporter>> & screenshot_buffer_collection_importers, fidl::WireClient<fuchsia_sysmem2::Allocator> sysmem_allocator, inspect::Node inspect_node)

Defined at line 39 of file ../../src/ui/scenic/lib/allocation/allocator.cc

void ~Allocator ()

Defined at line 64 of file ../../src/ui/scenic/lib/allocation/allocator.cc

void RegisterBufferCollection (RegisterBufferCollectionRequest & request, RegisterBufferCollectionCompleter::Sync & completer)

|fuchsia_ui_composition::Allocator|

Defined at line 150 of file ../../src/ui/scenic/lib/allocation/allocator.cc

void RegisterBufferCollection (fuchsia_ui_composition::RegisterBufferCollectionArgs args, fit::function<void (fit::result<fuchsia_ui_composition::RegisterBufferCollectionError>)> completer)

Defined at line 157 of file ../../src/ui/scenic/lib/allocation/allocator.cc