Collabora's Devs Make Android's HWC API Work in Mainline Linux Graphics Stack | Linux Today

Collabora’s Devs Make Android’s HWC API Work in Mainline Linux Graphics Stack

Written By
MN
Marius Nestor
Mar 29, 2017

Android’s SurfaceFlinger, a system service responsible for compositing all the system and application surfaces into a single buffer uses the HWC API. However, at the moment, the HWC API is not supported on the mainline Linux graphics stack. This is where the drm_hwcomposer shim developed by Collabora comes into play. When Linux kernel 4.10 was released, we told you that ten Collabora’s developers contributed 39 patches, including fence support that is on par to that of Android’s. Based on that work, the devs enabled the drm_hwcomposer shim also to support the new HWC2 API used in newer Android versions, such as Nougat.

MN

Marius Nestor

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.