View Full Version : X11 - details of default framebuffer management?

08-30-2013, 08:13 AM
Hello everyone!

Does anyone know a good place to start of one wanted to understand how X11 handles (de)allocation and generally manages the default framebuffer? I came across an SO question that lead me to investigate a simple test case, but the results were very unintuitive.


Dark Photon
08-30-2013, 12:23 PM
In a previous life/decade when I did X/Motif GUI devel, we used these, which IIRC were pretty good:

* Xlib Programming Manual (http://www.amazon.com/Programming-Manual-Version-Definitive-Guides/dp/1565920023/ref=sr_1_1/177-1516367-4865261?ie=UTF8&qid=1377886174&sr=8-1&keywords=xlib+programming+guide)
* Xlib Reference Manual (http://www.amazon.com/Reference-Manual-Definitive-Guides-Window/dp/1565920066/ref=sr_1_2/177-1516367-4865261?ie=UTF8&qid=1377886174&sr=8-2&keywords=xlib+programming+guide)

There's also the Green book, for OpenGL-related X11 bits, which I have a copy of:

* OpenGL Programming for the X Window System (http://www.amazon.com/OpenGL-Programming-X-Window-System/dp/0201483599/ref=sr_1_sc_1?ie=UTF8&qid=1377886427&sr=8-1-spell&keywords=opengl+xwindows)

08-31-2013, 05:52 AM
I really don't think that those will help. The question appears to relate to "internals" which are up to the implementation. For the X.org server, it might be handled by the common server code, or it might even be up to individual drivers, or it might be something for which the server provides a default implementation which individual drivers can override.

Unless it relates to behaviour which applications typically need to know (in which case, it should be specified as part of X11 or GLX), the question would probably be better addressed to a X.org or Mesa forum or mailing list.