Re: Image depth, visuals and colormaps

2012-05-31 Thread Alexandre CONFIANT-LATOUR
On 30/05/2012 15:48, Adam Jackson wrote: That's not a thing xserver is set up to do, because that's not a thing X lets you do. The list of depths is constructed statically at server startup, and the only way to get the list of depths and visuals is in the initial connection handshake; which means

Re: Image depth, visuals and colormaps

2012-05-30 Thread Adam Jackson
On 5/30/12 4:32 AM, Alexandre CONFIANT-LATOUR wrote: What are the "good practices" for getting "on the fly" color depth switching to work ? That's not a thing xserver is set up to do, because that's not a thing X lets you do. The list of depths is constructed statically at server startup, a

Image depth, visuals and colormaps

2012-05-30 Thread Alexandre CONFIANT-LATOUR
Hi, I'm currently working on a small video driver module, based on "Dummy driver" and i am trying to provide a run-time color depth change. My work is server-side only and i don't use Xlib. The original "Dummy" driver is a software driver that draw things in memory. There is no hardware limi