From: James S. <jsi...@li...> - 2001-04-15 14:25:29
|
>Or eventually of adding another API similar to the current one >(2.2 / 2.4) that would ask a driver to draw a specific character >at a specific localtion by whatever means the driver see fit ? This can be done in fbcon.c. I like fbcon to be able to choose the best method. This keeps the drivers simple and small. >I believe that the last would be both easier for you (simple >reuse of current working code) and the most efficient for >driver writers, as they could use the best/fastest way for >the hardware to draw glyphs ; it's not necessarily expanding >a 1-bit image (even if it's the way I'm doing it ATM :-) True. Even if the function is called fb_imageblit it doesn't mean you have to color expansion blitting to draw the image. The purpose of the function is to draw a image of some color depth. It doesn't matter how you do it. MS: (n) 1. A debilitating and surprisingly widespread affliction that renders the sufferer barely able to perform the simplest task. 2. A disease. James Simmons [jsi...@li...] ____/| fbdev/console/gfx developer \ o.O| http://www.linux-fbdev.org =(_)= http://linuxgfx.sourceforge.net U http://linuxconsole.sourceforge.net |