|
Packit |
071ada |
About libxcb
|
|
Packit |
071ada |
============
|
|
Packit |
071ada |
|
|
Packit |
071ada |
libxcb provides an interface to the X Window System protocol, which
|
|
Packit |
071ada |
replaces the current Xlib interface. It has several advantages over
|
|
Packit |
071ada |
Xlib, including:
|
|
Packit |
071ada |
- size: small, simple library, and lower memory footprint
|
|
Packit |
071ada |
- latency hiding: batch several requests and wait for the replies later
|
|
Packit |
071ada |
- direct protocol access: interface and protocol correspond exactly
|
|
Packit |
071ada |
- proven thread support: transparently access XCB from multiple threads
|
|
Packit |
071ada |
- easy extension implementation: interfaces auto-generated from XML-XCB
|
|
Packit |
071ada |
|
|
Packit |
071ada |
Xlib can also use XCB as a transport layer, allowing software to make
|
|
Packit |
071ada |
requests and receive responses with both, which eases porting to XCB.
|
|
Packit |
071ada |
However, client programs, libraries, and toolkits will gain the most
|
|
Packit |
071ada |
benefit from a native XCB port.
|
|
Packit |
071ada |
|
|
Packit |
071ada |
|
|
Packit |
071ada |
Please report any issues you find to the freedesktop.org bug tracker,
|
|
Packit |
071ada |
at:
|
|
Packit |
071ada |
|
|
Packit |
071ada |
<https://bugs.freedesktop.org/enter_bug.cgi?product=XCB>
|
|
Packit |
071ada |
|
|
Packit |
071ada |
Discussion about XCB occurs on the XCB mailing list:
|
|
Packit |
071ada |
|
|
Packit |
071ada |
<mailto:xcb at lists.freedesktop.org>
|
|
Packit |
071ada |
<http://lists.freedesktop.org/mailman/listinfo/xcb>
|
|
Packit |
071ada |
|
|
Packit |
071ada |
You can obtain the latest development versions of XCB using GIT.
|
|
Packit |
071ada |
For anonymous checkouts, use:
|
|
Packit |
071ada |
|
|
Packit |
071ada |
git clone git://anongit.freedesktop.org/git/xcb/libxcb
|
|
Packit |
071ada |
|
|
Packit |
071ada |
For developers, use:
|
|
Packit |
071ada |
|
|
Packit |
071ada |
git clone git+ssh://git.freedesktop.org/git/xcb/libxcb
|