fifo

package
v0.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2026 License: MIT, MIT Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WpFifoManagerV1Interface = &wire.Interface{
	Name:    "wp_fifo_manager_v1",
	Version: 1,
	Requests: []wire.MessageSpec{
		{Name: "destroy", Since: 1, Destructor: true},
		{Name: "get_fifo", Since: 1, Args: []wire.Arg{{Name: "id", Type: wire.ArgNewID, Interface: "wp_fifo_v1"}, {Name: "surface", Type: wire.ArgObject, Interface: "wl_surface"}}},
	},
}
View Source
var WpFifoV1Interface = &wire.Interface{
	Name:    "wp_fifo_v1",
	Version: 1,
	Requests: []wire.MessageSpec{
		{Name: "set_barrier", Since: 1},
		{Name: "wait_barrier", Since: 1},
		{Name: "destroy", Since: 1, Destructor: true},
	},
}

Functions

This section is empty.

Types

type WpFifoManagerV1

type WpFifoManagerV1 struct {
	// contains filtered or unexported fields
}

func CreateWpFifoManagerV1

func CreateWpFifoManagerV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*WpFifoManagerV1) (WpFifoManagerV1Handler, error)) (*WpFifoManagerV1, error)

func NewWpFifoManagerV1

func NewWpFifoManagerV1(p wire.Peer, id wire.ObjectID, version uint32, h WpFifoManagerV1Handler) (*WpFifoManagerV1, error)

func (*WpFifoManagerV1) Base

func (obj *WpFifoManagerV1) Base() *wire.Object

func (*WpFifoManagerV1) Dispatch

func (obj *WpFifoManagerV1) Dispatch(msg *wire.Message) error

func (*WpFifoManagerV1) Handler

func (obj *WpFifoManagerV1) Handler() WpFifoManagerV1Handler

func (*WpFifoManagerV1) ProtocolError

func (obj *WpFifoManagerV1) ProtocolError(code WpFifoManagerV1Error, format string, args ...any) error

type WpFifoManagerV1Error

type WpFifoManagerV1Error uint32
const (
	WpFifoManagerV1ErrorAlreadyExists WpFifoManagerV1Error = 0
)

func (WpFifoManagerV1Error) Valid

func (v WpFifoManagerV1Error) Valid(version uint32) bool

type WpFifoManagerV1Handler

type WpFifoManagerV1Handler interface {
	Destroy(obj *WpFifoManagerV1) error
	GetFifo(obj *WpFifoManagerV1, id *WpFifoV1, surface *wayland.WlSurface) (WpFifoV1Handler, error)
}

type WpFifoV1

type WpFifoV1 struct {
	// contains filtered or unexported fields
}

func CreateWpFifoV1

func CreateWpFifoV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*WpFifoV1) (WpFifoV1Handler, error)) (*WpFifoV1, error)

func NewWpFifoV1

func NewWpFifoV1(p wire.Peer, id wire.ObjectID, version uint32, h WpFifoV1Handler) (*WpFifoV1, error)

func (*WpFifoV1) Base

func (obj *WpFifoV1) Base() *wire.Object

func (*WpFifoV1) Dispatch

func (obj *WpFifoV1) Dispatch(msg *wire.Message) error

func (*WpFifoV1) Handler

func (obj *WpFifoV1) Handler() WpFifoV1Handler

func (*WpFifoV1) ProtocolError

func (obj *WpFifoV1) ProtocolError(code WpFifoV1Error, format string, args ...any) error

type WpFifoV1Error

type WpFifoV1Error uint32
const (
	WpFifoV1ErrorSurfaceDestroyed WpFifoV1Error = 0
)

func (WpFifoV1Error) Valid

func (v WpFifoV1Error) Valid(version uint32) bool

type WpFifoV1Handler

type WpFifoV1Handler interface {
	SetBarrier(obj *WpFifoV1) error
	WaitBarrier(obj *WpFifoV1) error
	Destroy(obj *WpFifoV1) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL