class ScreenCaptureBufferCollectionImporter

Defined at line 23 of file ../../src/ui/scenic/lib/screen_capture/screen_capture_buffer_collection_importer.h

Public Methods

void ScreenCaptureBufferCollectionImporter (fidl::WireClient<fuchsia_sysmem2::Allocator> sysmem_allocator, std::shared_ptr<flatland::Renderer> renderer)

Defined at line 120 of file ../../src/ui/scenic/lib/screen_capture/screen_capture_buffer_collection_importer.cc

void ~ScreenCaptureBufferCollectionImporter ()

Defined at line 125 of file ../../src/ui/scenic/lib/screen_capture/screen_capture_buffer_collection_importer.cc

bool ImportBufferCollection (allocation::GlobalBufferCollectionId collection_id, fidl::WireClient<fuchsia_sysmem2::Allocator> & sysmem_allocator, fidl::ClientEnd<fuchsia_sysmem2::BufferCollectionToken> token, allocation::BufferCollectionUsage usage, std::optional<fuchsia::math::SizeU> size)

|BufferCollectionImporter|

Defined at line 132 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 193 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 218 of file ../../src/ui/scenic/lib/screen_capture/screen_capture_buffer_collection_importer.cc

void ReleaseBufferImage (allocation::GlobalImageId image_id)

|BufferCollectionImporter|

Defined at line 293 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 298 of file ../../src/ui/scenic/lib/screen_capture/screen_capture_buffer_collection_importer.cc