avyos.dev/pkg/graphics/backend
package backend
Overview
No package-level documentation is provided.
| Export Group | Count |
|---|---|
| Constants | 0 |
| Variables | 0 |
| Functions | 0 |
| Types | 1 |
Types
Backend
type Backend interface {
Open() error
Close() error
Size() (width, height int)
Buffer() *core.Buffer
Flush() error
FlushRect(image.Rectangle) error
Info() string
HasSystemCursor() bool
}Backend is the display backend interface. Implementations include framebuffer (Linux /dev/fb0), DRM/KMS, and Wayland.