Re: Image depth, visuals and colormaps
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
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@xxxxxxxxxxx: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: list-xorg@xxxxxxxxxxx
[X Forum] [Nouveau Driver] [Devices] [XFree86] [XFree86 Newbie] [Site Home] [IETF Annouce] [Security] [Fontconfig] [Bugtraq] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Video for Linux] [Linux RAID] [Linux Resources]