[PATCHES] remove direct access to fb module from exa
michel at daenzer.net
Mon Feb 2 08:27:29 PST 2009
On Mon, 2009-02-02 at 16:08 +0100, Maarten Maathuis wrote:
> The problem about mangling with fb symbols is that you need to do it
> at runtime, that would turn out to be very awkward, not to mention
> incorrect. For fallbacks we need to obey the wrap chain at all times.
> I will check if core font rendering is somehow slow, but i wouldn't
> know any correct fix.
> The case of patch 8 is something i cannot avoid, since fallbacks have
> to go through a wrapped function, that means i need a boolean return
> value, instead of void. Making brand new code seemed more error prone.
What I mean is to build e.g. fbcopy.c into libexa.so, mangling the
symbol names to something like exaFbCopyRegion if necessary.
> And yes, with this you can load and run wfb without crashing, my first
> attempts haven't resulted in correct rendering, but i'm probably
> misunderstanding the memory layout for my particular hardware.
Still, may want to wait until you can rule out a problem with these
Earthling Michel Dänzer | http://www.vmware.com
Libre software enthusiast | Debian, X and DRI developer
More information about the xorg