> I have written a framebuffer driver for the i810/i815 chipsets for
> linux-2.5.12. It entirely uses fbgen, and for accelerated drawing
> functions, fbcon-accel (copyarea, fillrect and imageblit). It works
> quite well in my system.
Yeah!!!!!
> My question: Imageblit is used primarily for putc and putcs, right?
That AND for drawing the penguin. The code doesn't exist in fbcon.c yet
to handle drawing the penguin when using only the accel wrapper. I need to
add that.
To draw the pengiun using the accel wrapper I need to set the color map
to the what the penguin needs. Then I create fb_image where each piece of
data in char* field are a value that represents where in the struct
fb_cmap that data is. I think this is the best approach to that. Any
suggestions other wise?
> basically, a monochrome bitmap located in system memory is copied to
> the framebuffer memory which also undergoes color expansion depending
> on the pixelformat of the framebuffer.
Yeap!
> So, is it necessary to support other color conversions (such as a copy
> from 8bpp to 32bpp, or even from a higher bpp to a lower bpp)?
Hm.
> The patch is at
> http://prdownloads.sourceforge.net/i810fb/linux-2.5.12-i810fb.tar.bz2
> The patch already includes James Simmons' fbdev_fixs.diff for 2.5.12.
Will try.
|