class SingleBufferSettings
Defined at line 2978 of file fidling/gen/sdk/fidl/fuchsia.sysmem/fuchsia.sysmem/cpp/fidl/fuchsia.sysmem/cpp/natural_types.h
After the initial buffer allocation, it's allowed to close old buffers and
allocate new buffers. When a new buffer is allocated its settings can
differ from the rest of the buffers in the collection, and the single
buffer's settings are delivered via OnSingleBufferAllocated() using this
struct:
Public Methods
void SingleBufferSettings (Storage_ storage)
void SingleBufferSettings (::fuchsia_sysmem::BufferMemorySettings buffer_settings, bool has_image_format_constraints, ::fuchsia_sysmem::ImageFormatConstraints image_format_constraints)
void SingleBufferSettings ()
Default constructs a |SingleBufferSettings| only if all of its members are default constructible.
Defined at line 2988 of file fidling/gen/sdk/fidl/fuchsia.sysmem/fuchsia.sysmem/cpp/fidl/fuchsia.sysmem/cpp/natural_types.h
void SingleBufferSettings (SingleBufferSettings && )
Defined at line 2991 of file fidling/gen/sdk/fidl/fuchsia.sysmem/fuchsia.sysmem/cpp/fidl/fuchsia.sysmem/cpp/natural_types.h
void SingleBufferSettings (const SingleBufferSettings & other)
SingleBufferSettings & operator= (SingleBufferSettings && )
Defined at line 2992 of file fidling/gen/sdk/fidl/fuchsia.sysmem/fuchsia.sysmem/cpp/fidl/fuchsia.sysmem/cpp/natural_types.h
SingleBufferSettings & operator= (const SingleBufferSettings & other)
bool operator== (const SingleBufferSettings & other)
bool operator!= (const SingleBufferSettings & other)
const ::fuchsia_sysmem::BufferMemorySettings & buffer_settings ()
::fuchsia_sysmem::BufferMemorySettings & buffer_settings ()
SingleBufferSettings & buffer_settings (::fuchsia_sysmem::BufferMemorySettings value)
Setter for buffer_settings.
bool has_image_format_constraints ()
Buffers holding data that is not uncompressed image data will not have
this field set. Buffers holding data that is uncompressed image data
_may_ have this field set.
At least for now, changing the PixelFormat requires re-allocating
buffers.
bool & has_image_format_constraints ()
Buffers holding data that is not uncompressed image data will not have
this field set. Buffers holding data that is uncompressed image data
_may_ have this field set.
At least for now, changing the PixelFormat requires re-allocating
buffers.
SingleBufferSettings & has_image_format_constraints (bool value)
Buffers holding data that is not uncompressed image data will not have
this field set. Buffers holding data that is uncompressed image data
_may_ have this field set.
At least for now, changing the PixelFormat requires re-allocating
buffers.
const ::fuchsia_sysmem::ImageFormatConstraints & image_format_constraints ()
::fuchsia_sysmem::ImageFormatConstraints & image_format_constraints ()
SingleBufferSettings & image_format_constraints (::fuchsia_sysmem::ImageFormatConstraints value)
Setter for image_format_constraints.
void SingleBufferSettings (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalStructCodingTraits