avyos.dev/pkg/graphics/compositor

package compositor

Package Overview

No package-level documentation is provided.

Export GroupCount
Constants0
Variables0
Functions0
Types3

Types

Compositor

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

Compositor is the main Wayland compositor.

Functions

func New(fb graphics.Backend, input graphics.InputHandler) *Compositor

New creates a new compositor.

Methods

func (c *Compositor) Display() string

Display returns the WAYLAND_DISPLAY name.

func (c *Compositor) Quit()

Quit stops the compositor.

func (c *Compositor) Run() error

Run starts the compositor. Blocks until quit.

LayerSurface

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

LayerSurface represents a layer surface in the compositor's render list.

Window

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

Window represents a client window managed by the compositor.