class ScreenCaptureBufferCollectionImporter
Defined at line 23 of file ../../src/ui/scenic/lib/screen_capture/screen_capture_buffer_collection_importer.h
Public Methods
void ScreenCaptureBufferCollectionImporter (fuchsia::sysmem2::AllocatorSyncPtr sysmem_allocator, std::shared_ptr<flatland::Renderer> renderer)
Defined at line 106 of file ../../src/ui/scenic/lib/screen_capture/screen_capture_buffer_collection_importer.cc
void ~ScreenCaptureBufferCollectionImporter ()
Defined at line 111 of file ../../src/ui/scenic/lib/screen_capture/screen_capture_buffer_collection_importer.cc
bool ImportBufferCollection (allocation::GlobalBufferCollectionId collection_id, fuchsia::sysmem2::Allocator_Sync * sysmem_allocator, fidl::InterfaceHandle<fuchsia::sysmem2::BufferCollectionToken> token, allocation::BufferCollectionUsage usage, std::optional<fuchsia::math::SizeU> size)
|BufferCollectionImporter|
Defined at line 118 of file ../../src/ui/scenic/lib/screen_capture/screen_capture_buffer_collection_importer.cc
void ReleaseBufferCollection (allocation::GlobalBufferCollectionId collection_id, allocation::BufferCollectionUsage usage)
|BufferCollectionImporter|
Defined at line 181 of file ../../src/ui/scenic/lib/screen_capture/screen_capture_buffer_collection_importer.cc
bool ImportBufferImage (const allocation::ImageMetadata & metadata, allocation::BufferCollectionUsage usage)
|BufferCollectionImporter|
Defined at line 206 of file ../../src/ui/scenic/lib/screen_capture/screen_capture_buffer_collection_importer.cc
void ReleaseBufferImage (allocation::GlobalImageId image_id)
|BufferCollectionImporter|
Defined at line 281 of file ../../src/ui/scenic/lib/screen_capture/screen_capture_buffer_collection_importer.cc
std::optional<BufferCount> GetBufferCollectionBufferCount (allocation::GlobalBufferCollectionId collection_id)
A |BufferCount| will be returned if all buffers have been allocated and the
collection_id exists. Otherwise, |std::nullopt| will be returned.
Defined at line 286 of file ../../src/ui/scenic/lib/screen_capture/screen_capture_buffer_collection_importer.cc