mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
In order to tell renderer to render into the best color space with the right pixel format. We need to expose it as a composition preference. This patch adds ConfigStore API to query such preference. Typically, this API will return the default data space of a color space that the panel is calibrated to, with the default pixel format that hardware composer can composite to efficiently. However, devices can make tradeoff between data space and pixel format. BUG: 113530681 Test: Build, flash, boot Change-Id: I0ea09e21e70843b50157ec617c87a42bb4ff7332
Configstore is specifically the configuration for surface flinger. Other configurations go in other packages.