Documentation
¶
Overview ¶
Package feedback reads zwp_linux_dmabuf_feedback_v1 as a client: the device a compositor renders with and the format and modifier pairs each tranche of devices imports.
Index ¶
- func RenderNode(dev uint64) (string, error)
- type Feedback
- type Listener
- func (l *Listener) Done(*ld.ZwpLinuxDmabufFeedbackV1) error
- func (l *Listener) FormatTable(_ *ld.ZwpLinuxDmabufFeedbackV1, fd int, size uint32) error
- func (l *Listener) MainDevice(_ *ld.ZwpLinuxDmabufFeedbackV1, b []byte) error
- func (l *Listener) TrancheDone(*ld.ZwpLinuxDmabufFeedbackV1) error
- func (l *Listener) TrancheFlags(_ *ld.ZwpLinuxDmabufFeedbackV1, flags ld.ZwpLinuxDmabufFeedbackV1TrancheFlags) error
- func (l *Listener) TrancheFormats(_ *ld.ZwpLinuxDmabufFeedbackV1, indices []byte) error
- func (l *Listener) TrancheTargetDevice(_ *ld.ZwpLinuxDmabufFeedbackV1, b []byte) error
- type Tranche
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderNode ¶
Types ¶
type Listener ¶
type Listener struct {
// contains filtered or unexported fields
}
func NewListener ¶
func (*Listener) FormatTable ¶
func (*Listener) MainDevice ¶
func (l *Listener) MainDevice(_ *ld.ZwpLinuxDmabufFeedbackV1, b []byte) error
func (*Listener) TrancheDone ¶
func (l *Listener) TrancheDone(*ld.ZwpLinuxDmabufFeedbackV1) error
func (*Listener) TrancheFlags ¶
func (l *Listener) TrancheFlags(_ *ld.ZwpLinuxDmabufFeedbackV1, flags ld.ZwpLinuxDmabufFeedbackV1TrancheFlags) error
func (*Listener) TrancheFormats ¶
func (l *Listener) TrancheFormats(_ *ld.ZwpLinuxDmabufFeedbackV1, indices []byte) error
func (*Listener) TrancheTargetDevice ¶
func (l *Listener) TrancheTargetDevice(_ *ld.ZwpLinuxDmabufFeedbackV1, b []byte) error
type Tranche ¶
type Tranche struct {
Target uint64
Formats []gpu.FormatModifier
Flags ld.ZwpLinuxDmabufFeedbackV1TrancheFlags
}
Click to show internal directories.
Click to hide internal directories.