fuchsia.hardware.goldfish.control

PROTOCOLS

Device

Defined in fuchsia.hardware.goldfish.control/goldfish-control.fidl

CreateColorBuffer

Create shared color buffer. Color buffer is automatically freed when all references to vmo have been closed. Fails if VMO is not associated with goldfish heap memory. Returns ZX_ERR_ALREADY_EXISTS if color buffer has already been created.

Request

NameType
vmo handle<vmo>
width uint32
height uint32
format FormatType

Response

NameType
res int32

GetColorBuffer

Get color buffer for VMO. Fails if VMO is not associated with a color buffer.

Request

NameType
vmo handle<vmo>

Response

NameType
res int32
id uint32

ENUMS

FormatType

Type: uint32

Defined in fuchsia.hardware.goldfish.control/goldfish-control.fidl

Color buffer formats.

NameValueDescription
RGBA 6408
BGRA 32993