Namespaces

Enumerations

enum class BufferCollectionUsage
Name Value
kClientImage 0
kRenderTarget 1
kReadback 2

The usage of the buffer collection that is being used in ImportBufferCollection(),

ReleaseBufferCollection(), and ImportBufferImage().

|kClientImage| is for collections that contain textures.

|kRenderTarget| is for collections that contain render targets.

|kReadback| is for collections that are for copying from render targets. If the

buffer collection is imported with this type, calling Render() also copies the render

output of the buffer.

Defined at line 24 of file ../../src/ui/scenic/lib/allocation/buffer_collection_importer.h

Records

Functions

  • GlobalBufferCollectionId GenerateUniqueBufferCollectionId ()

    Atomically produces a new id that can be used to reference a buffer collection.

    Defined at line 13 of file ../../src/ui/scenic/lib/allocation/id.cc

  • display::ImageId GenerateUniqueImageId ()

    Atomically produce a new id that can be used to reference a buffer collection's image.

    Defined at line 20 of file ../../src/ui/scenic/lib/allocation/id.cc

  • std::ostream & operator<< (std::ostream & str, const ImageMetadata & m)

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

Variables

const GlobalBufferCollectionId kInvalidId

Defined at line 11 of file ../../src/ui/scenic/lib/allocation/id.cc