package
0.0.0-20241029195437-1fbd8b4a9917
Repository: https://github.com/raitonoberu/go-wayland.git
Documentation: pkg.go.dev
# Functions
NewLinuxBufferParams : parameters for creating a dmabuf-based wl_buffer
This temporary object is a collection of dmabufs and other parameters that together form a single logical buffer.
NewLinuxDmabuf : factory for creating dmabuf-based wl_buffers
Following the interfaces from: https://www.khronos.org/registry/egl/extensions/EXT/EGL_EXT_image_dma_buf_import.txt https://www.khronos.org/registry/EGL/extensions/EXT/EGL_EXT_image_dma_buf_import_modifiers.txt and the Linux DRM sub-system's AddFb2 ioctl.
NewLinuxDmabufFeedback : dmabuf feedback
This object advertises dmabuf parameters feedback.
# Constants
LinuxBufferParamsErrorAlreadyUsed : the dmabuf_batch object has already been used to create a wl_buffer.
LinuxBufferParamsErrorIncomplete : missing or too many planes to create a buffer.
LinuxBufferParamsErrorInvalidDimensions : invalid width or height.
LinuxBufferParamsErrorInvalidFormat : format not supported.
LinuxBufferParamsErrorInvalidWlBuffer : invalid wl_buffer resulted from importing dmabufs via.
LinuxBufferParamsErrorOutOfBounds : offset + stride * height goes out of dmabuf bounds.
LinuxBufferParamsErrorPlaneIdx : plane index out of bounds.
LinuxBufferParamsErrorPlaneSet : the plane index was already set.
LinuxBufferParamsFlagsBottomFirst : bottom field first.
LinuxBufferParamsFlagsInterlaced : content is interlaced.
LinuxBufferParamsFlagsYInvert : contents are y-inverted.
LinuxDmabufFeedbackTrancheFlagsScanout : direct scan-out tranche.
# Structs
LinuxBufferParams : parameters for creating a dmabuf-based wl_buffer
This temporary object is a collection of dmabufs and other parameters that together form a single logical buffer.
LinuxBufferParamsCreatedEvent : buffer creation succeeded
This event indicates that the attempted buffer creation was successful.
LinuxBufferParamsFailedEvent : buffer creation failed
This event indicates that the attempted buffer creation has failed.
LinuxDmabuf : factory for creating dmabuf-based wl_buffers
Following the interfaces from: https://www.khronos.org/registry/egl/extensions/EXT/EGL_EXT_image_dma_buf_import.txt https://www.khronos.org/registry/EGL/extensions/EXT/EGL_EXT_image_dma_buf_import_modifiers.txt and the Linux DRM sub-system's AddFb2 ioctl.
LinuxDmabufFeedback : dmabuf feedback
This object advertises dmabuf parameters feedback.
LinuxDmabufFeedbackDoneEvent : all feedback has been sent
This event is sent after all parameters of a wp_linux_dmabuf_feedback object have been sent.
LinuxDmabufFeedbackFormatTableEvent : format and modifier table
This event provides a file descriptor which can be memory-mapped to access the format and modifier table.
LinuxDmabufFeedbackMainDeviceEvent : preferred main device
This event advertises the main device that the server prefers to use when direct scan-out to the target device isn't possible.
LinuxDmabufFeedbackTrancheDoneEvent : a preference tranche has been sent
This event splits tranche_target_device and tranche_formats events in preference tranches.
LinuxDmabufFeedbackTrancheFlagsEvent : tranche flags
This event sets tranche-specific flags.
LinuxDmabufFeedbackTrancheFormatsEvent : supported buffer format modifier
This event advertises the format + modifier combinations that the compositor supports.
LinuxDmabufFeedbackTrancheTargetDeviceEvent : target device
This event advertises the target device that the server prefers to use for a buffer created given this tranche.
LinuxDmabufFormatEvent : supported buffer format
This event advertises one buffer format that the server supports.
LinuxDmabufModifierEvent : supported buffer format modifier
This event advertises the formats that the server supports, along with the modifiers supported for each format.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author