[hwcomposer2] Introduced DisplayCapability.

Previously, capability like SkipClientColorTransform is a global capability of
device. However, the hardware is not necessarily able to apply for all
displays, for example external display. Thus, in this patch, we introduce
DisplayCapability for per display capability query.

BUG: 69911676
Test: Build, flash and boot
Change-Id: Id34c83acacb94ebfe27077122e4581522aca9d03
1 file changed