Adam Jackson <[email protected]> writes:

> On 7/2/12 6:13 AM, Dave Airlie wrote:
>> From: Dave Airlie <[email protected]>
>>
>> This bumps totalPixmapSize in all attached screens.
>
> Aieee.  totalPixmapSize is now monotonically increasing every time you 
> plug something in.  Until it wraps, of course, and then bang.  Not sure 
> what a better solution looks like, but IWBNI host storage was shared if 
> possible.

Ok, so how about we fix the privates stuff so that drivers can allocate
per-screen private data by sticking a DevPrivateKeyRec inside their
screen private structure? And then we make it so you can allocate
per-screen private data after the server starts, but not other kinds?

I think that'll be pretty straightforward, shouldn't cause performance
regressions in drivers as they generally have a pointer to their screen
private where they're currently using privates.

With that, changing clients to use the serverClient mechanism for
privates (a pointer instead of a directly allocated chunk), and also
using that same scheme for glyphs and we should be able to make this work.

-- 
[email protected]

Attachment: pgp5a7zNTmvKI.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