Port-sgimips archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

O2 and X



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

accelerated X on the O2 almost works, a preliminary driver can be found here:
ftp://ftp.netbsd.org:/pub/NetBSD/misc/macallan/sgimips/crime_drv.so
It accelerates:
- - screen-to-screen copies
- - rectangle fills
- - colour expansion
- - image uploads
The Xserver still attempts to access video memory at times which doesn't work for the following reasons: - - the framebuffer is tiled, X can't deal with that ( which is why we use hardware for image uploads ) - - the framebuffer uses RGBA pixels, many X programs freak out so we convert them from ABGR when uploading which is much more common Anything that uses XRENDER or line drawing will produce funny artifacts, so for instance WindowMaker looks very wrong while twm and xterm look almost right and are pretty much usable. To deal with this I'll add hardware-accelerated line drawing and alpha-blending. The former is trivial, the latter might take some poking around. There are still a few colour expansion glitches ( sometimes rogue pixels appear on the right edge of characters ) and there's quite a bit of optimization potential, for instance we can use the memory transfer engine for operations that use trivial ROPs like GXcopy or GXset, we should use the cursor hardware directly instead of ioctl (WSDISPLAY_*) and so on.

Also, this driver needs the very latest crmfb committed a few minutes ago.

have fun
Michael -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBR8oCdMpnzkX8Yg2nAQJOvgf/VWlBnz/QDcd/1/bpDlsfuoNyZdZ6ig+j
qFC/Suy0BOS691nVmmQtTc4yWDB0LvjFSaH6nNH7Tz9BjXlKsp5sl8QPnm7aPixA
v6L95FsSBnjbI2BQ54nUbFrc6/vEQQBmfj1wf7Cr6KVM1w050GSWCPWjlBtKKSYd
SvI/ktNXi9P6uuoRHtvnY0cKYAk7SCZ7EIhSVjTz3LrpSaXBZuyGye/LjEqYotRM
jXwhqgsp9MuuUataaDsUrCQdpN3LxXGv87QnxG9vnTPaTqkRwOP3ZCLfqu22OmVc
Sk80mglqTf7/tDlSaYUDGBJyE+7SSTflgx0B8gt67ASJirFRTHioHQ==
=yti8
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index