New acceleration architecture

Thomas Winischhofer thomas at winischhofer.net
Tue Jun 28 23:16:13 PDT 2005


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

Zack Rusin wrote:
> 1) include "exa.h" in your driver and load exa,
> 2) use the code from XAA primitives for solid-fills and screentoscreen 
> copies to implement Exa's Solid and Copy hooks. So no real changes at 
> this point. 
> 3) create an ExaDriverRec structure and fill in the accel hooks.
> 4) call exaCardInit(exaDriver, memory_base, off_screen_base,
> 	memory_size, offscreen_byte_align, offscreen_pitch,
> 	flags, max_x, max_y); to let the system know what are the 
> capabilities of your card. This is really a convenience macro and you 
> may fill in all those individually if you prefer that.
> 5) exaDriverInit(pScreen, exaDriver); once you connected yours hooks and 
> setup your card.
> 6) replace xf86AllocateOffscreenArea with calls to ExaOffscreenAlloc


7) Call exaDriverFini() in CloseScreen()?


- --
Thomas Winischhofer
Vienna/Austria
thomas AT winischhofer DOT net          http://www.winischhofer.net/
twini AT xfree86 DOT org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCwjytzydIRAktyUcRAhESAJ9zd/+3Oza6CAyJJ5Yo7L2Jf6aSVwCgwDl0
qIgo+rcTkH+b8bNPaFKMcik=
=CJJF
-----END PGP SIGNATURE-----



More information about the xorg mailing list