Documentation
¶
Index ¶
- type Backend
- func (b *Backend) Buffer() *graphics.Buffer
- func (b *Backend) Close() error
- func (b *Backend) Flush() error
- func (b *Backend) FlushRect(r graphics.Rect) error
- func (b *Backend) HasSystemCursor() bool
- func (b *Backend) Info() string
- func (b *Backend) Open() error
- func (b *Backend) OpenDevice(device string) error
- func (b *Backend) PixelFormat() graphics.PixelFormat
- func (b *Backend) Size() (width, height int)
- func (b *Backend) Start()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
// contains filtered or unexported fields
}
Backend represents the Linux framebuffer backend.
func (*Backend) FlushRect ¶
FlushRect copies only the given rectangle from the back buffer to the screen.
func (*Backend) HasSystemCursor ¶
HasSystemCursor returns false since the framebuffer has no system cursor.
func (*Backend) OpenDevice ¶
OpenDevice opens a specific framebuffer device.
func (*Backend) PixelFormat ¶
func (b *Backend) PixelFormat() graphics.PixelFormat
PixelFormat returns the detected pixel format.
Click to show internal directories.
Click to hide internal directories.