class CreateColorBuffer2Params
Defined at line 936 of file fidling/gen/sdk/fidl/fuchsia.hardware.goldfish/fuchsia.hardware.goldfish/cpp/fidl/fuchsia.hardware.goldfish/cpp/natural_types.h
Input arguments of `ControlDevice.CreateColorBuffer2()` method.
Includes necessary properties of a Vulkan-backed color buffer.
Public Methods
void CreateColorBuffer2Params ()
Defined at line 941 of file fidling/gen/sdk/fidl/fuchsia.hardware.goldfish/fuchsia.hardware.goldfish/cpp/fidl/fuchsia.hardware.goldfish/cpp/natural_types.h
void CreateColorBuffer2Params (CreateColorBuffer2Params && )
Defined at line 942 of file fidling/gen/sdk/fidl/fuchsia.hardware.goldfish/fuchsia.hardware.goldfish/cpp/fidl/fuchsia.hardware.goldfish/cpp/natural_types.h
void CreateColorBuffer2Params (Storage_ storage)
void CreateColorBuffer2Params (const CreateColorBuffer2Params & other)
CreateColorBuffer2Params & operator= (const CreateColorBuffer2Params & other)
bool operator== (const CreateColorBuffer2Params & other)
bool operator!= (const CreateColorBuffer2Params & other)
bool IsEmpty ()
const std::optional<uint32_t> & width ()
Width of the color buffer (unit: pixel).
This argument is mandatory. `CreateColorBuffer2()` method returns
`ZX_ERR_INVALID_ARGS` if `width` is missing.
::std::optional<uint32_t> & width ()
Width of the color buffer (unit: pixel).
This argument is mandatory. `CreateColorBuffer2()` method returns
`ZX_ERR_INVALID_ARGS` if `width` is missing.
CreateColorBuffer2Params & width (std::optional<uint32_t> value)
Width of the color buffer (unit: pixel).
This argument is mandatory. `CreateColorBuffer2()` method returns
`ZX_ERR_INVALID_ARGS` if `width` is missing.
const std::optional<uint32_t> & height ()
Height of the color buffer (unit: pixel).
This argument is mandatory. `CreateColorBuffer2()` method returns
`ZX_ERR_INVALID_ARGS` if `height` is missing.
::std::optional<uint32_t> & height ()
Height of the color buffer (unit: pixel).
This argument is mandatory. `CreateColorBuffer2()` method returns
`ZX_ERR_INVALID_ARGS` if `height` is missing.
CreateColorBuffer2Params & height (std::optional<uint32_t> value)
Height of the color buffer (unit: pixel).
This argument is mandatory. `CreateColorBuffer2()` method returns
`ZX_ERR_INVALID_ARGS` if `height` is missing.
const std::optional< ::fuchsia_hardware_goldfish::ColorBufferFormatType> & format ()
Color format type of the color buffer.
This argument is mandatory. `CreateColorBuffer2()` method returns
`ZX_ERR_INVALID_ARGS` if `format` is missing.
::std::optional< ::fuchsia_hardware_goldfish::ColorBufferFormatType> & format ()
Color format type of the color buffer.
This argument is mandatory. `CreateColorBuffer2()` method returns
`ZX_ERR_INVALID_ARGS` if `format` is missing.
CreateColorBuffer2Params & format (std::optional< ::fuchsia_hardware_goldfish::ColorBufferFormatType> value)
Color format type of the color buffer.
This argument is mandatory. `CreateColorBuffer2()` method returns
`ZX_ERR_INVALID_ARGS` if `format` is missing.
const std::optional<uint32_t> & memory_property ()
Memory property flags the color buffer should support. Only bits
from `fuchsia.hardware.goldfish.MEMORY_PROPERTY_*` are allowed.
This argument is mandatory. `CreateColorBuffer2()` method returns
`ZX_ERR_INVALID_ARGS` if `memory_property` is missing.
::std::optional<uint32_t> & memory_property ()
Memory property flags the color buffer should support. Only bits
from `fuchsia.hardware.goldfish.MEMORY_PROPERTY_*` are allowed.
This argument is mandatory. `CreateColorBuffer2()` method returns
`ZX_ERR_INVALID_ARGS` if `memory_property` is missing.
CreateColorBuffer2Params & memory_property (std::optional<uint32_t> value)
Memory property flags the color buffer should support. Only bits
from `fuchsia.hardware.goldfish.MEMORY_PROPERTY_*` are allowed.
This argument is mandatory. `CreateColorBuffer2()` method returns
`ZX_ERR_INVALID_ARGS` if `memory_property` is missing.
CreateColorBuffer2Params & operator= (CreateColorBuffer2Params && )
Defined at line 943 of file fidling/gen/sdk/fidl/fuchsia.hardware.goldfish/fuchsia.hardware.goldfish/cpp/fidl/fuchsia.hardware.goldfish/cpp/natural_types.h
const std::optional<uint64_t> & physical_address ()
Goldfish address space device allocates a physical memory address
for each host-visible color buffer. This address is mapped to a
corresponding hardware address when that host-visible
color buffer is created, and is unmapped when the color buffer is
torn down.
This field stores the physical memory address allocated by address
space device.
If `memory_property` has the bit `MEMORY_PROPERTY_HOST_VISIBLE` set,
this argument is mandatory. If `physical_address` is missing,
`CreateColorBuffer2()` returns `ZX_ERR_INVALID_ARGS`.
If `memory_property` doesn't have the `MEMORY_PROPERTY_HOST_VISIBLE`
bit, this argument is ignored.
::std::optional<uint64_t> & physical_address ()
Goldfish address space device allocates a physical memory address
for each host-visible color buffer. This address is mapped to a
corresponding hardware address when that host-visible
color buffer is created, and is unmapped when the color buffer is
torn down.
This field stores the physical memory address allocated by address
space device.
If `memory_property` has the bit `MEMORY_PROPERTY_HOST_VISIBLE` set,
this argument is mandatory. If `physical_address` is missing,
`CreateColorBuffer2()` returns `ZX_ERR_INVALID_ARGS`.
If `memory_property` doesn't have the `MEMORY_PROPERTY_HOST_VISIBLE`
bit, this argument is ignored.
CreateColorBuffer2Params & physical_address (std::optional<uint64_t> value)
Goldfish address space device allocates a physical memory address
for each host-visible color buffer. This address is mapped to a
corresponding hardware address when that host-visible
color buffer is created, and is unmapped when the color buffer is
torn down.
This field stores the physical memory address allocated by address
space device.
If `memory_property` has the bit `MEMORY_PROPERTY_HOST_VISIBLE` set,
this argument is mandatory. If `physical_address` is missing,
`CreateColorBuffer2()` returns `ZX_ERR_INVALID_ARGS`.
If `memory_property` doesn't have the `MEMORY_PROPERTY_HOST_VISIBLE`
bit, this argument is ignored.
void CreateColorBuffer2Params (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits