Render QueryPictIndexValues Patch (was: Re: [Xpert]Colormap Allocation problems under Linux 7.3)

2002-10-26 Thread Olivier Chapuis
On Wed, Oct 23, 2002 at 10:27:58PM +0200, Olivier Chapuis wrote: An other point, maybe XRender should has a function which describes the colormap it uses (for depth = 8 PseudoColor). Ooops, the render protocol has such a function: QueryPictIndexValues. It is just not yet implemented.

Re: [Xpert]Colormap Allocation problems under Linux 7.3

2002-10-23 Thread Olivier Chapuis
On Tue, Oct 22, 2002 at 10:26:57PM -0400, David Dawes wrote: I'd be interested to see the patch. Attached to this message the patch (-no-render/NoRender/-render and -render-colors/RenderColors). It is not a definitive version: should add some docs and I've not yet change the -render-colors

Re: [Xpert]Colormap Allocation problems under Linux 7.3

2002-10-23 Thread Keith Packard
Around 9 o'clock on Oct 23, Olivier Chapuis wrote: An application should query if the xserver has render support and if not take appropriate decisions. No? E.g., in FVWM we have a function which simulate XRenderComposite and a font spec can have two fonts one for Xft and an other one for core

Re: [Xpert]Colormap Allocation problems under Linux 7.3

2002-10-23 Thread Olivier Chapuis
On Wed, Oct 23, 2002 at 08:31:37AM -0700, Keith Packard wrote: Around 9 o'clock on Oct 23, Olivier Chapuis wrote: An application should query if the xserver has render support and if not take appropriate decisions. No? E.g., in FVWM we have a function which simulate XRenderComposite and a

Re: [Xpert]Colormap Allocation problems under Linux 7.3

2002-10-23 Thread Olivier Chapuis
On Tue, Oct 22, 2002 at 08:08:24PM -0700, Keith Packard wrote: Around 22 o'clock on Oct 22, David Dawes wrote: -no-render-extension / NoRenderExtension -render-extension (for cancelling a NoRenderExtension option in XF86Config) Might shorten these to '-norender'

Re: [Xpert]Colormap Allocation problems under Linux 7.3

2002-10-23 Thread Olivier Chapuis
On Tue, Oct 22, 2002 at 10:26:57PM -0400, David Dawes wrote: On Tue, Oct 22, 2002 at 01:25:40AM +0200, Olivier Chapuis wrote: On Mon, Oct 21, 2002 at 04:54:26PM -0400, David Dawes wrote: [snip] I just write a patch which does this today. I think also that it is a good idea to have an

Re: [Xpert]Colormap Allocation problems under Linux 7.3

2002-10-22 Thread David Dawes
On Tue, Oct 22, 2002 at 01:25:40AM +0200, Olivier Chapuis wrote: On Mon, Oct 21, 2002 at 04:54:26PM -0400, David Dawes wrote: On Fri, Oct 18, 2002 at 02:12:30PM -0700, Mark Vojkovich wrote: On Fri, 18 Oct 2002, Wojciech Kasprzak wrote: The application used to work under Linux 7.1. Has

Re: [Xpert]Colormap Allocation problems under Linux 7.3

2002-10-22 Thread Keith Packard
Around 22 o'clock on Oct 22, David Dawes wrote: -no-render-extension / NoRenderExtension -render-extension (for cancelling a NoRenderExtension option in XF86Config) Might shorten these to '-norender' and '-render'. However, I'd argue that Render should be considered

Re: [Xpert]Colormap Allocation problems under Linux 7.3

2002-10-22 Thread David Dawes
On Tue, Oct 22, 2002 at 08:08:24PM -0700, Keith Packard wrote: Around 22 o'clock on Oct 22, David Dawes wrote: -no-render-extension / NoRenderExtension -render-extension (for cancelling a NoRenderExtension option in XF86Config) Might shorten these to '-norender' and

Re: [Xpert]Colormap Allocation problems under Linux 7.3

2002-10-22 Thread Keith Packard
Around 23 o'clock on Oct 22, David Dawes wrote: If it can be run in a mode where no colours other than black or white are allocated, then that'd be OK. It needs to be possible to have a configuration where legacy pseudocolor-only clients can run without interference. I can't think of too

Re: [Xpert]Colormap Allocation problems under Linux 7.3

2002-10-21 Thread Wojciech Kasprzak
I do not think that XFree cvs will solve allocation pbs in general. If you start your server with XRender (which allocate only 85 colors) and then start, says, a kde application (without limiting the colors to 64) then almsot surly all the colours will be allocated. So your application will

Re: [Xpert]Colormap Allocation problems under Linux 7.3

2002-10-21 Thread Olivier Chapuis
On Mon, Oct 21, 2002 at 12:47:42PM -0400, Wojciech Kasprzak wrote: I do not think that XFree cvs will solve allocation pbs in general. If you start your server with XRender (which allocate only 85 colors) and then start, says, a kde application (without limiting the colors to 64) then

Re: [Xpert]Colormap Allocation problems under Linux 7.3

2002-10-21 Thread Olivier Chapuis
On Mon, Oct 21, 2002 at 04:54:26PM -0400, David Dawes wrote: On Fri, Oct 18, 2002 at 02:12:30PM -0700, Mark Vojkovich wrote: On Fri, 18 Oct 2002, Wojciech Kasprzak wrote: The application used to work under Linux 7.1. Has something changed in 7.3 with regard to colormap cell

Re: [Xpert]Colormap Allocation problems under Linux 7.3

2002-10-18 Thread Olivier Chapuis
On Fri, Oct 18, 2002 at 04:42:04PM -0400, Wojciech Kasprzak wrote: I have a problem installing 16 color cells into the system colormap (two of them read-writable, all done up-front in our application), under Linux 7.3, running on a Gateway 700S PC with 128MB NVIDIA GeForce4 MX440G graphics