fifo

package
v0.5.2 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) (*WpFifoManagerV1, error)

func NewWpFifoManagerV1

func NewWpFifoManagerV1(p wire.Peer, version uint32) (*WpFifoManagerV1, error)

func (*WpFifoManagerV1) Base

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

func (*WpFifoManagerV1) Destroy

func (obj *WpFifoManagerV1) Destroy() error

func (*WpFifoManagerV1) Dispatch

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

func (*WpFifoManagerV1) GetFifo

func (obj *WpFifoManagerV1) GetFifo(surface *wayland.WlSurface) (*WpFifoV1, error)

type WpFifoManagerV1Error

type WpFifoManagerV1Error uint32
const (
	WpFifoManagerV1ErrorAlreadyExists WpFifoManagerV1Error = 0
)

func (WpFifoManagerV1Error) Valid

func (v WpFifoManagerV1Error) Valid(version uint32) bool

type WpFifoV1

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

func CreateWpFifoV1

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

func NewWpFifoV1

func NewWpFifoV1(p wire.Peer, version uint32) (*WpFifoV1, error)

func (*WpFifoV1) Base

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

func (*WpFifoV1) Destroy

func (obj *WpFifoV1) Destroy() error

func (*WpFifoV1) Dispatch

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

func (*WpFifoV1) SetBarrier

func (obj *WpFifoV1) SetBarrier() error

func (*WpFifoV1) WaitBarrier

func (obj *WpFifoV1) WaitBarrier() error

type WpFifoV1Error

type WpFifoV1Error uint32
const (
	WpFifoV1ErrorSurfaceDestroyed WpFifoV1Error = 0
)

func (WpFifoV1Error) Valid

func (v WpFifoV1Error) Valid(version uint32) bool

Jump to

Keyboard shortcuts

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