i often read about xcb, the xlib's successor. but i simply can't understand its function. i don't get it. furthermore, are there already programs using it (seems like toolkits such as qt, gtk+ and cairo??)? what is its advantage? is it already in the xserver? or is it just planed that in a long distant future, xcb is going to make xlib obsolete?
can someone explain me it? thanks...
edit: http://www.linuxshowcase.org/2001/fu...sey/massey.pdf this all sounds great but doesn't help. and what's about its current status? already part of xorg?
I can't answer all of your questions, but here's a brief rundown of what I know about XCB:
It's designed to provide a simpler, lower-level api without all of the automatic caching and other extras of xlib, which are intended to improve performance, but often end up increasing latency.
A lot of frameworks (e.g. cairo) are making efforts to combine their xlib and xcb backends, basically making the xcb backend a super-set of the xlib backend, so that the xcb backend basically rests as a layer of code between the xlib backend and the xcb library (I think I understood that correctly).