avyos.dev/pkg/graphics/compositor
package compositor
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
New
func New(fb gfxdisplay.Backend, input gfxinput.Handler) *CompositorNew creates a new compositor.
Methods
Display
func (c *Compositor) Display() stringDisplay returns the WAYLAND_DISPLAY name.
Quit
func (c *Compositor) Quit()Quit stops the compositor.
Run
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.