Hello,

I've just committed a new default/kgi/Matrox/ directory with some *.c in
it. The kgi-Gx00 sublib now provides acceleration for some of libggi
drawing functions (drawbox, line, hline, vline, putc). It should also
accelerate copybox (but I am not totally sure that the implementation is
correct).
 Of course, this a first shot, so YMMV.
 For testing, you need to update the Gx00 KGI driver too (minor
modifications). I also recommend (re)compiling a KGI-enabled kernel
without all the debug functions in drivers/kgi/graphic.c; unless you have
a 1Go /var/log/ partition...

Random questions for the future:
 0) What should a KGI-accel-oriented developper do next? :-)
 1) Are {Get,Put} functions required for an accel sublib? Currently they
are not implemented and I am reluctant to implement them the straight
way - though I may try it for experiments. (If the userspace buffer is not
in DMA-capable memory, or not big enough, I guess I may end up locking the
machine.)
 2) Where is the master CVS copy of ggiMesa? What's needed to accelerate
it?
 3) The circles in monitest are not drawn fully, 32bpp does not work for
me, wow, do you think I should do more testing?
 4) Do you have a {Mystique,Millenium,G400,G550}?

Rodolphe


Reply via email to