Re: [Dri-devel] Dynamic allocation

2003-10-10 Thread Alan Hourihane
On Thu, Oct 09, 2003 at 06:36:11PM +0100, Keith Whitwell wrote: Alan Hourihane wrote: On Thu, Oct 09, 2003 at 05:30:08PM +0100, Keith Whitwell wrote: Alan Hourihane wrote: I've just committed a version of the DRI's common code mm.[ch] linear allocator into the XFree86 CVS which extends

Re: [Dri-devel] Dynamic allocation

2003-10-10 Thread Keith Whitwell
Alan Hourihane wrote: On Thu, Oct 09, 2003 at 06:36:11PM +0100, Keith Whitwell wrote: Alan Hourihane wrote: On Thu, Oct 09, 2003 at 05:30:08PM +0100, Keith Whitwell wrote: Alan Hourihane wrote: I've just committed a version of the DRI's common code mm.[ch] linear allocator into the XFree86

Re: [Dri-devel] Dynamic allocation

2003-10-10 Thread Alan Hourihane
On Fri, Oct 10, 2003 at 11:16:06AM +0100, Keith Whitwell wrote: Alan Hourihane wrote: On Thu, Oct 09, 2003 at 06:36:11PM +0100, Keith Whitwell wrote: Alan Hourihane wrote: On Thu, Oct 09, 2003 at 05:30:08PM +0100, Keith Whitwell wrote: Alan Hourihane wrote: I've just committed a

Re: [Dri-devel] Dynamic allocation

2003-10-10 Thread Keith Whitwell
Right. And certainly now with the new linear allocator the Xserver can manage the whole lot. Does the X server make any promises about preserving the contents of the fb memory? EG, if there's a VT switch, will the contents be saved somehow? No. No preservation is done. We need to invalidate

Re: [Dri-devel] Dynamic allocation

2003-10-10 Thread Alan Hourihane
On Fri, Oct 10, 2003 at 12:24:56PM +0100, Keith Whitwell wrote: Right. And certainly now with the new linear allocator the Xserver can manage the whole lot. Does the X server make any promises about preserving the contents of the fb memory? EG, if there's a VT switch, will the contents

Re: [Dri-devel] Dynamic allocation

2003-10-10 Thread Allen Akin
On Fri, Oct 10, 2003 at 12:24:56PM +0100, Keith Whitwell wrote: | | No. No preservation is done. We need to invalidate everything. | | That's a problem, as the only way we can do things like accelerated | CopyTexSubImage() and single-copy textures is if the FB contents are | guarenteed to be

Re: [Dri-devel] Dynamic allocation

2003-10-10 Thread Ian Romanick
Allen Akin wrote: Besides performance loss and memory bloat, the lack of framebuffer memory preservation on Windows has forced some new extensions to have ugly semantics. See the vertex buffer object extension http://oss.sgi.com/projects/ogl-sample/registry/ARB/vertex_buffer_object.txt for

Re: [Dri-devel] Dynamic allocation

2003-10-10 Thread Jon Smirl
Right. And certainly now with the new linear allocator the Xserver can manage the whole lot. Does the X server make any promises about preserving the contents of the fb memory? EG, if there's a VT switch, will the contents be saved somehow? No. No preservation is done. We need to invalidate

Re: [Dri-devel] Dynamic allocation

2003-10-10 Thread Alan Cox
On Iau, 2003-10-09 at 17:16, Alan Hourihane wrote: I've just committed a version of the DRI's common code mm.[ch] linear allocator into the XFree86 CVS which extends the FBManager's ability to serve real linear space rather than pinching it from the XY area's that's usually occupied by the

Re: [Dri-devel] Dynamic allocation

2003-10-10 Thread Alan Cox
On Gwe, 2003-10-10 at 23:16, Ian Romanick wrote: on some it's dumped but the driver has a change to back it up, and on others it's just dumped. AFAIK, perhaps someone can correct me, XFree86 on Linux falls into the last category. It depends on the BIOS and other factors. For ACPI it is

Re: [Dri-devel] Dynamic allocation

2003-10-10 Thread Alan Hourihane
On Fri, Oct 10, 2003 at 11:24:24PM +0100, Alan Cox wrote: On Iau, 2003-10-09 at 17:16, Alan Hourihane wrote: I've just committed a version of the DRI's common code mm.[ch] linear allocator into the XFree86 CVS which extends the FBManager's ability to serve real linear space rather than

Re: [Dri-devel] Dynamic allocation

2003-10-10 Thread Alan Hourihane
On Fri, Oct 10, 2003 at 11:24:24PM +0100, Alan Cox wrote: On Iau, 2003-10-09 at 17:16, Alan Hourihane wrote: I've just committed a version of the DRI's common code mm.[ch] linear allocator into the XFree86 CVS which extends the FBManager's ability to serve real linear space rather than

Re: [Dri-devel] Dynamic allocation

2003-10-10 Thread Allen Akin
On Fri, Oct 10, 2003 at 03:16:45PM -0700, Ian Romanick wrote: | | Since I was part of that working group, I'd like to clarify why some of | those decisions were made. ... Apologies if I sounded too critical -- I agree that compromise was a reasonable thing to do in the VBO case. |

[Dri-devel] Dynamic allocation

2003-10-09 Thread Alan Hourihane
I've just committed a version of the DRI's common code mm.[ch] linear allocator into the XFree86 CVS which extends the FBManager's ability to serve real linear space rather than pinching it from the XY area's that's usually occupied by the pixmap cache. This way we can now hand over all memory to

Re: [Dri-devel] Dynamic allocation

2003-10-09 Thread Keith Whitwell
Alan Hourihane wrote: I've just committed a version of the DRI's common code mm.[ch] linear allocator into the XFree86 CVS which extends the FBManager's ability to serve real linear space rather than pinching it from the XY area's that's usually occupied by the pixmap cache. This way we can now

Re: [Dri-devel] Dynamic allocation

2003-10-09 Thread Keith Whitwell
Alan Hourihane wrote: On Thu, Oct 09, 2003 at 05:30:08PM +0100, Keith Whitwell wrote: Alan Hourihane wrote: I've just committed a version of the DRI's common code mm.[ch] linear allocator into the XFree86 CVS which extends the FBManager's ability to serve real linear space rather than pinching

Re: [Dri-devel] Dynamic allocation

2003-10-09 Thread Alan Hourihane
On Thu, Oct 09, 2003 at 05:30:08PM +0100, Keith Whitwell wrote: Alan Hourihane wrote: I've just committed a version of the DRI's common code mm.[ch] linear allocator into the XFree86 CVS which extends the FBManager's ability to serve real linear space rather than pinching it from the XY

Re: [Dri-devel] Dynamic allocation

2003-10-09 Thread Ian Romanick
Alan Hourihane wrote: On Thu, Oct 09, 2003 at 05:30:08PM +0100, Keith Whitwell wrote: Alan Hourihane wrote: I've just committed a version of the DRI's common code mm.[ch] linear allocator into the XFree86 CVS which extends the FBManager's ability to serve real linear space rather than pinching