[PATCH 1/5] dix: make MAXSCREENS run-time configurable

Keith Packard keithp at keithp.com
Thu Apr 8 14:23:21 PDT 2010


On Thu, 8 Apr 2010 12:24:41 -0700, Aaron Plattner <aplattner at nvidia.com> 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.

-- 
keith.packard at intel.com
-------------- 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-devel/attachments/20100408/ee4b51d4/attachment.pgp>


More information about the xorg-devel mailing list