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, and the only way to get the list of depths and visuals is in the initial connection handshake; which means it doesn't happen, because clients are not written to disconnect and reconnect. You could probably hack something into working, but.

A much easier thing to do would be to simply export multiple _screens_ from the same display, each with a different depth, and then run your rendering against the screen with the depth you want instead of trying to switch the depth of a single screen.

- ajax
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Reply via email to