fbdev

package module
v0.0.0-...-17219ba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FBIOGET_VSCREENINFO = 0x4600
	FBIOGET_FSCREENINFO = 0x4602
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BitField

type BitField struct {
	Offset, Length, MsbRight uint32
}

type Fbdev

type Fbdev struct {
	// contains filtered or unexported fields
}

func OpenFbdev

func OpenFbdev(path string) (*Fbdev, error)

func (*Fbdev) Close

func (f *Fbdev) Close()

func (*Fbdev) Flush

func (f *Fbdev) Flush()

func (*Fbdev) GetImage

func (f *Fbdev) GetImage() fbimage.Image

type FixScreenInfo

type FixScreenInfo struct {
	Id        [16]uint8
	SmemStart uint
	SmemLen   uint32
	FbType, TypeAux,
	Visual uint32
	Xpanstep, Ypanstep, Ywrapstep uint16
	LineLength                    uint32
	MmioStart                     uint
	MmioLen,
	Accel uint32
	Cap      uint16
	Reserved [2]uint16
}

type VarScreenInfo

type VarScreenInfo struct {
	Xres, Yres,
	XresVirtual, YresVirtual,
	Xoffset, Yoffset,
	BitsPerPixel, Grayscale uint32
	Red, Green, Blue, Transp BitField
	Nonstd, Activate,
	Height, Width,
	AccelFlags, Pixclock,
	LeftMargin, RightMargin, UpperMargin, LowerMargin,
	HsyncLen, VsyncLen, Sync,
	Vmode, Rotate, Colorspace uint32
	Reserved [4]uint32
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL