Subject: XFree, sunffb and Xrender
To: None <port-sparc64@netbsd.org>
From: Michael Lorenz <macallan@netbsd.org>
List: port-sparc64
Date: 10/24/2005 14:25:40
--Signature_Mon__24_Oct_2005_14_25_40_-0400_Q0fkrUcD=kKDh4g8
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

here's a patch to add Xrender support and hardware-accelerated alpha
blending to XFree's sunffb driver:
ftp://ftp.netbsd.org/pub/NetBSD/misc/macallan/sparc64/ffb_render.tar.bz2

The other patch is for the framebuffer module which contains most of the
machine-independent rendering code and fixes a bug which would lead to
messed up colours when rendering text to a non-RGB framebuffer ( like
the ffb ) Both patches are for -current xsrc and you need to build X
natively, via make World. The changes in src/x11 would be trivial
though, just add a few more include paths.

Pro: this will greatly speed up things like gtk2 and KDE.=20
Con: it no longer supports 8 and 24 bit visuals at the same time ( as
far as I can tell that's a design limitation in XAA but I may be wrong.
The old driver didn't use XAA but for Xrender we need it )

So please test this and tell me what happens. It certainly works for me,
I'm using it for a couple days now but as usual that doesn't mean a lot
;)

have fun
Michael

--Signature_Mon__24_Oct_2005_14_25_40_-0400_Q0fkrUcD=kKDh4g8
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQ10nJcpnzkX8Yg2nAQKr1wf+PkLf7B8o7vwZaWw6Rlpuz3bVaQKOffHI
RB7OJ8G1w1g3RNWbtUIyHutnlfY0MhpOLdyageE0uScqszJSGuLF6KRwqOmvPIKF
MmZMteOFcgj9w++I8chSBJnP6OnoVE6DVvYfUIM1EqcwMj0KsmdA8ylAMVSyFu5l
25DNWvf+3XpL7SYNYwS6ZbbQ70QF4yjlZ8y1p4wOOr3KcKvZyuShpBBQOqKrO3ME
rsJpryBHVjfx9hAAa0oWbAQzm43I44YDnREimOrqezMJD8lpvguO5RHig2tY5Tzz
FbeaSVZ5ZD6J4/GIeWUdh4mADiv+rKDefFQQ1XSMAqCKK3DpAVHQxQ==
=X+FY
-----END PGP SIGNATURE-----

--Signature_Mon__24_Oct_2005_14_25_40_-0400_Q0fkrUcD=kKDh4g8--