On Thu, 8 Apr 2010 12:24:41 -0700, Aaron Plattner <[email protected]> wrote:

> Since you're breaking the ABI already, could we move this sort of
> dynamically-allocated global array into the pScreen or pScrnInfo instead,
> either as just a plain old struct member or as a DevPrivate hook?  That
> will get us one step closer to completely dynamically allocated
> screens.

Yeah, for things which are created after the ScreenRec is allocated, it
makes sense to just allocate them right in the ScreenRec.

For things which are in the xfree86 DDX and are allocated before the
ScreenRec, those can be in ScrnInfo.

If there are things outside the xfree86 DDX which are allocated before
the ScreenRec, we'd need a third plan.

-- 
[email protected]

Attachment: pgpphIe0DYANi.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to