|
From: Hihn J. <Jas...@DA...> - 2002-01-23 16:28:36
|
I'm trying to write a application to use the framebuffer interface. I am running kernel 2.2 on a 832 PPC. I'm using a vendor provided driver for the lcd interface. There is no documentation on what I want to do. All the docs are on writing a driver or getting software to work with the driver, but nothing on writing software to work with the driver. What brings me here is the lack of docs and my current problems. I can draw stuff on the screen easily enough, but several of my ioctl calls are failing. (I'll enclose code below.) If cou could point me to a relevant document I'll gladly read it. What is not clear is if the things I'm trying to do, and how to do them, is legal. Right now, my two biggest questions are: Can the linux framebuffer switch resolutions and color depth at runtime? and How do I overlay text on a graphics image in the frame buffer? How do I put text on the screen? Must I draw the pixels manually? Many thanks in advance! |