Re: AW: Implementing PseudoColor support on TrueColor screens

2020-06-04 Thread Sleep
Thank you very much, Carsten. This explains why they have used the XShm functions and the purpose of grabsharedmemory(). ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: https://lists.x.org/mailman/listinfo/

Figuring out the terms used in the documentation

2020-06-04 Thread Sleep
So, in X11, A Colormap consists of a set of entries defining color values (I thought this would be called a "palette"). A Visual manages the color resources but doesn't configure the color depth, it sets colors in accordance with the current color depth of the Screen and Colormap of the Visu

Re: Figuring out the terms used in the documentation

2020-06-04 Thread Sleep
From the Xlib - C Language X Interface: "For each screen of the display, there may be a list of valid visual types supported at different depths of the screen." Alright this is confusing me, this implies that one screen can handle windows with 8, 16, 24, 32 bits color depth at the same time an

Re: Figuring out the terms used in the documentation

2020-06-04 Thread Sleep
From the Xlib - C Language X Interface: "For each screen of the display, there may be a list of valid visual types supported at different depths of the screen." Alright this is confusing me, this implies that one screen can handle windows with 8, 16, 24, 32 bits color depth at the same time an

Re: Figuring out the terms used in the documentation

2020-06-04 Thread Alan Coopersmith
The X protocol spec has a glossary at: https://www.x.org/releases/current/doc/xproto/x11protocol.html#glossary The Xlib API spec also has a glossary at: https://www.x.org/releases/current/doc/libX11/libX11/libX11.html#glossary More detailed definitions are found in the bodies of each document.