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, fuchsia::sysmem2::AllocatorSyncPtr sysmem_allocator, inspect::Node inspect_node)
Defined at line 162 of file ../../src/ui/scenic/lib/allocation/allocator.cc
void ~Allocator ()
Defined at line 187 of file ../../src/ui/scenic/lib/allocation/allocator.cc
void RegisterBufferCollection (RegisterBufferCollectionRequest & request, RegisterBufferCollectionCompleter::Sync & completer)
|fuchsia_ui_composition::Allocator|
Defined at line 197 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 204 of file ../../src/ui/scenic/lib/allocation/allocator.cc