Hi folks,
I just committed something I've been waiting to for a while,
tgt-fbdev-directfb. You'll find it in the default/fbdev/directfb
directory. Notes:
o fixed a problem supplying directfb drivers with some global symbols
they needed. Solution was to load this target with GGI_DLTYPE_GLOBAL flag.
o Don't expect much from it, this is a work-in-progress. Have yet to
see a single accel happen myself... (maybe someone with a card that
has a more mature DFB driver will have better luck).
o This will break fbdev for people with ATI128, Rage, and nvidia cards,
so stick to 2.0final tag if you need fbdev to stay working.
o MGA owners will have to edit display/fbdev/visual.c to test this code.
and replace the maps to the ggi native mga drivers with maps to directfb.
o You need DFB CVS unpacked in /usr/src/DirectFB and installed with
--prefix=/usr/local, for the time being. Until we get the autoconf
stuff worked out, you'll either have to --disable-fbdev when compiling
and do without, or edit the build system file of your choice to skip
the directfb stuff. I'll try to resolve some of that tommorrow.
o Yes, it's excessively messy code. Like I said, work-in-progress.
Questions I have:
Why does fbdev-mga call gcupdate in the primitives and not supply a gcchanged
ggifunc? Why does ggigcchanged get default_error hook at some point and not
stay NULL? Why doesn't my Riva 128 actually do the fillrectangle?
Anyway, happy hacking.
--
Brian