[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wdisplay pixel format
I am implementing a device driver using wscons for my display device.
Does anyone know how a user land program that opens the device (such as X11)
will know what the pixel format will be for the frame buffer?
I see there is an ioctl tag WSDISPLAYIO_GTYPE to get display type,
WSDISPLAYIO_GINFO to get frame buffer metrics height, width, depth, cmsize, and
WSDISPLAYIO_LINEBYTES to get the stride. But how does the program that opens
the device know the pixel format?
I can seem to find this documented anywhere, nor can I find any code to discern
Main Index |
Thread Index |