Directfb Xorg server

Adam Jackson ajax at nwnk.net
Wed May 31 11:01:12 PDT 2006


On Wednesday 31 May 2006 12:04, Enrico Weigelt wrote:
> Okay, now lets start to nail it down!
>
> My roadmap suggestion:
>
> 1. introduce an DDX_CALLBACK structure and register_ddx_callback()
> 2. rename DIX' main() into dix_main() and add some main() to
>    each DDX which just calls register_ddx_callback() and dix_main().
> 3. register_ddx_callback() initializes all fields with default
>    values and checks whether those callbacks are defined, which
>    *must* be implemented by the DDX (aka have no default).
> 4. sucessively add DDX functions to the callback structure,
>    let register_ddx_callback() init them and rename them,
>    change all calling functions to use the DDX_CALLBACK structure
>    instead.
> 5. sucessively move these functions completely to the DDX.

The main/dix_main split is probably sensible.  Everything else you describe 
can already be done with wrapping so I fail to see the point.

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20060531/e5ac0b98/attachment.pgp>


More information about the xorg mailing list