Re: Sun Creator and XRender

Michael <[email protected]>
Newsgroups gmane.comp.xfree86.devel
Message-ID <20051017191446.699ef65d@inishowen>
Hello,

> This has already been done in X.Org's repository and it is on my
> to-do-soon list to merge in.

I had a look at x.org's sunffb and all they did is to rewrite
ffb_accel.c to use XAA and add a hardware-accelerated alpha-blending
function ( plus accompanying changes in ffb_driver.c to load relevant
modules and a few more or less trivial ones in other files ). Now I have
something that works, is fast but for some strange reason all text drawn
via XRender has red and blue components swapped. Only text, images are
fine. Playing with anti-aliasing parameters seems to change this too,
after disabling subpixel hinting newly started apps get it right, until
next start of the Xserver... It worked fine with the old code and
affects both KDE and GTK apps. The other changes are only reformatting
source and renaming of some macros ( XF86* -> XORG* and such ).
Any ideas?
Looks almost like an un- or misinitialized variable somewhere, defaults
to ARGB, gets overwritten when someone changes anti-aliasing parameters
and nobody noticed since ARGB is almost always right.

have fun
Michael
signature.asc (application/pgp-signature, 478 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQ1QwZspnzkX8Yg2nAQJQRQf/cBv3hiCGu75St/AZf1knVZBwPx56Kjii
63HUSK8drdF7w/+Lpw3FBc4thtHRGkfQK3tYmSC3tsQs+Pf0RT3qQZhVySPQwQwM
Aic4idrG2hyoLbr68WNvK12MGsy52NefMt5BEsjViG1anrvofDm8HYXx8Lb1Blzj
RuB2AuvkPYkzkLf6N66Mmr5fmY9rNnjY+skf6GcwjJ14AyNdfSeEHrPH4GiPazE6
8NX7DsPwsfl4lfcJeOz1VQ1/L8ufcLxdDJIjRF3lgl5/ewDFvCvWWd3zLrIaID2e
G+RysD8sFcemxgoi7WW6Wvd5nc9A+M2eNKQaYe7NVb9nIz3sierosw==
=27l/
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.