class CreateColorBuffer2
Defined at line 188 of file fidling/gen/sdk/fidl/fuchsia.hardware.goldfish/fuchsia.hardware.goldfish/cpp/fidl/fuchsia.hardware.goldfish/cpp/markers.h
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.
Arguments
Refer to `CreateColorBuffer2Params` for input arguments.
Return value
`res`: `ZX_ERR_ALREADY_EXISTS` if a buffer or color buffer has
already been created for this VMO.
`ZX_ERR_INVALID_ARGS` if arguments are invalid.
(see `CreateColorBuffer2Params`)
Otherwise returns `ZX_OK`.
`hw_address_page_offset`: memory page offset of the buffer's
hardware-mapped memory. For color buffers with HOST_VISIBLE
memory property bits, this value is a non-negative
integer in [0, 4095]. For non-HOST_VISIBLE memory or
failed allocation, this value is negative.
Public Members
static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal