[forum] XFree86 5.0 TODO
Mark Vojkovich
forum@XFree86.Org
Thu, 20 Mar 2003 18:23:02 -0500 (EST)
On Thu, 20 Mar 2003, Sven Luther wrote:
> > In the new XAA, surface allocation is relegated to the driver,
> > which can use any mechanism it wants to allocate these surfaces.
>
> But will it not mean less code sharing if each driver has to do memory
> management ?
No. You can have a heap allocator in the core server or in
the kernel. It doesn't matter. The point is, that it's explicitly
outside of the scope of XAA. Having it in XAA would imply assumptions
that would limit what you could do with it.
>
> > I have this working with NVIDIA's binary drivers. Allocations
> > are offloaded to a system-wide allocator in the kernel.
>
> In the drm driver, or somewhere else ? And how is this related to Ian's
> DRI memeory manager plans ?
I don't care how you implement it. It's abstracted to the point
where XAA doesn't care how you do it. XAASurfaces are nearly opaque
outside of the driver.
Mark.