struct ImageMetadata

Defined at line 21 of file ../../src/ui/scenic/lib/allocation/image_metadata.h

Struct representing the data needed to extract an image from a buffer collection.

All pixel information is stored within the Vmo of the collection so this struct

only needs information regarding which collection and which vmo to point to, and

the overall size of the image. Only supports fuchsia::images2::PixelFormat::B8G8R8A8

as the image format type.

Public Members

GlobalBufferCollectionId collection_id
IdType identifier
uint32_t vmo_index
uint32_t width
uint32_t height
array multiply_color
BlendMode blend_mode
ImageFlip flip

Public Methods

bool operator== (const ImageMetadata & other)

Defined at line 47 of file ../../src/ui/scenic/lib/allocation/image_metadata.h