class Allocator
Defined at line 25 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 (async_dispatcher_t *dispatcher,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::Nodeinspect_node)
Defined at line 38 of file ../../src/ui/scenic/lib/allocation/allocator.cc
void ~Allocator ()
Defined at line 63 of file ../../src/ui/scenic/lib/allocation/allocator.cc
void RegisterBufferCollection (RegisterBufferCollectionRequest & request, RegisterBufferCollectionCompleter::Sync & completer)
|fuchsia_ui_composition::Allocator|
Defined at line 149 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 156 of file ../../src/ui/scenic/lib/allocation/allocator.cc