KWin In KDE 4.11 Moves Along With Using XCB

Posted by Michael Larabel on January 07, 2013

KWin, KDE's window manager, in version 4.11 is moving along with being ported to using XCB rather than Xlib.

Back in November I wrote that KWin was being ported to XCB and that with the KDE 4.10 feature window closing that this was a candidate for merging. Besides moving from Xlib to XCB, other KWin action items for the 4.11 window are AppMenu support, color correction work, performance improvements in compositing environments, improving window decorations, and more.

In a new blog post by KWin's Martin Gräßlin, he confirms this XCB porting work is ongoing. "With Christmas break over there is again quite some work happening for KWin. Of course given that 4.10 is close by a few bugs got fixed, but with master open for 4.11 we also have the first feature commits. Most of it is in the area of porting KWin to XCB. Those changes are not listed, but they are quite nice as each of them brings a small improvement due to the asynchronous nature of XCB."

XCB are the C bindings for X and has long been intended as a replacement to Xlib while reducing the size and complexity of the X library and providing direct access for tapping the X11 protocol. Over Xlib, XCB also allows for better multi-threading and a-synchronous support.

One of the main motivations for KWin finally transitioning over to XCB is that the Qt 5.0 tool-kit no longer uses Xlib. For Qt5 compatibility, XCB is mandated and thanks to improvements in the Linux graphics stack it will be possible to eventually bypass Xlib completely from KWin by using XCB and EGL.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Intel Haswell HD Graphics 4600 vs. AMD Radeon Graphics On Linux
  2. Intel Haswell HD Graphics 4600 Performance On Ubuntu Linux
  3. Intel Core i7 4770K "Haswell" Benchmarks On Ubuntu Linux
  4. The First Experience Of Intel Haswell On Linux
Latest Software Articles
  1. Optimized Binaries Provide Great Benefits For Intel Haswell
  2. 11-Way Linux, BSD Platform Comparison
  3. SNA Acceleration Works Great For Intel Core i7 Haswell
  4. The Linux Evolution For Intel Haswell's Performance
Latest Linux News
  1. NVIDIA Brings Their Linux Driver To ARM
  2. D Language Still Showing Promise, Advancements
  3. Planetary Annihilation Released For Linux Gamers
  4. Gentoo Starts Work On KDE-Wayland Support
  5. NVIDIA To License Its Kepler GPU Technology
  6. KDE's KWin Made Lots Of Progress In 4.11
  7. Ubuntu Announces Carrier Advisory Group
  8. Qt 5.1 Release Candidate 1 Has Arrived
  9. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  10. Subversion 1.8 Presents New Features
  11. LLVM 3.3 Officially Released
Latest Forum Talk
  1. Planetary Annihilation Released For Linux Gamers
  2. D Language Still Showing Promise, Advancements
  3. Gentoo Starts Work On KDE-Wayland Support
  4. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  5. Planetary Annihilation Plans To Come To Linux
  6. NVIDIA To License Its Kepler GPU Technology
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite