avyos.dev/pkg/graphics/compositor
package compositor
Package Overview
No package-level documentation is provided.
| Export Group | Count |
|---|---|
| Constants | 0 |
| Variables | 0 |
| Functions | 0 |
| Types | 3 |
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) *CompositorNew creates a new compositor.
Methods
func (c *Compositor) Display() stringDisplay returns the WAYLAND_DISPLAY name.
func (c *Compositor) Quit()Quit stops the compositor.
func (c *Compositor) Run() errorRun 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.