Documentation
¶
Overview ¶
Package virtual is an output that exists only in memory: whatever backend runs the session, it renders offscreen with the session's renderer, paced by its own frame clock at its mode's refresh rate, and never presents.
Index ¶
- Constants
- type Handler
- type Output
- func (o *Output) AbortFrame()
- func (o *Output) BeginFrame() (backend.Frame, error)
- func (o *Output) Close() error
- func (o *Output) Commit(s backend.OutputState) error
- func (*Output) CursorPlane() (backend.CursorPlane, error)
- func (o *Output) Description() string
- func (o *Output) Frames() uint64
- func (*Output) Identity() edid.Info
- func (o *Output) Modes() []backend.Mode
- func (o *Output) Name() string
- func (*Output) PhysicalSize() image.Point
- func (o *Output) Present(render.Region) error
- func (o *Output) Renew() error
- func (o *Output) ScheduleFrame() error
- func (o *Output) State() backend.OutputState
Constants ¶
const ( MaxEdge = 16384 MaxRefreshMHz = 1000000 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Output ¶
type Output struct {
// contains filtered or unexported fields
}
func (*Output) AbortFrame ¶
func (o *Output) AbortFrame()
func (*Output) CursorPlane ¶
func (*Output) CursorPlane() (backend.CursorPlane, error)
func (*Output) Description ¶
func (*Output) PhysicalSize ¶
func (*Output) ScheduleFrame ¶
func (*Output) State ¶
func (o *Output) State() backend.OutputState