On Thu, 5 May 2005, James Simmons wrote:
quoted
What if we just got rid of fb_read/write and converted fbconsole to
use fb_imageblt?
fbconsole does use only fb_imageblit. The only place where screen_base
is used is fb_write and fb_read in fbmem.c. If that could be converted to use
the accelerated image blitting functions then we could replace it. To do
that requires one thing and that is to add image blitting from screen
memory to system memory. Currently no driver including the software
blitting supports that. Plus we have no standard api to handle that.
So first we have to come up with a standard way to handling image
blitting from card memory to system memory without breaking badly the
current api. Second we have to add bi directional blitting to every
driver. Then once we are done we can convert the fb_read and fb_write
functions to using the fb_imageblit functon. Have have plans to do this
but have not yet done it.
What if the graphics memory format is not chunked pixels? In that case
fb_{read,write}() will behave differently than mmap().
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20