OSDN Git Service
Add support to query supported format from DisplayPlane.
When unable to directly use Display Composition for layers,
we want to fall back to a optimal format which can be scanned out.
This information needs to be queried from DisplayPlane. We now
add the needed support and use this format when creating offscreen
buffers, rather than hardcoding it like now.
Jira: None.
Test: Build passes on Linux and Android. No regressions on Linux
and Android.
Signed-off-by: Xiaosong Wei <xiaosong.wei@intel.com>