|
From: James S. <jsi...@tr...> - 2002-01-24 17:58:23
|
> I can draw stuff on the screen easily enough, but several of my ioctl calls > are failing. (I'll enclose code below.) From looking at the code I assume it is the cursor stuff. THose are not standard ioctl calls. Did they provide you with a driver specific header file will those defined ioctl calls? > 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? If the driver supports it then yes. Try the program fbset to change the depth or resolution. > How do I overlay text on a graphics image in the frame buffer? With a draw character image function. Their are several tricks for this. The most common and easiest way is to draw the image first then draw the text now. This is know as the painters method. > How do I put text on the screen? Same as above. > Must I draw the pixels manually? Depends. Is the driver hardware accelerated? IF it is then you mmap the mmio region and program it. |