Skip to content

Filter-out layers with unsupported pixel format during preparation stage

Some layers have pixel format that aren't supported by a hardware. As for now, receiving such layer would fail composition completely and send it on client side. However, we can filter out such layers during composition validation and mark only them for client composition.

To do this we should check against list of display planes: if none of them supports such pixel format then given buffer could not be handled by device side.

Smoke testing shown no new issues and proven that those changes are working. In my case, mouse cursor layer with unsupported RGBA8888 (aka AB24) were marked as a CLIENT composed while other layers were marked as a DEVICE composed.

Merge request reports