hwc2: White point compensation for Adaptive color mode

Adaptive color doesn't have white point calibration.
Using transfer matrix to compensate white point. Compensted values
are saved in persist/display/calibrated_rgb.

Bug: 116282483

Test: switch color mode and check transfer matrix
adb shell vndservice call display.qservice 399 i32 0 i32 0
Check dump rgb value
adb shell vndservice call display.qservice 21 i32 1 i32 1 i32 2

Change-Id: Iaa7a5f8ccc58be8ecdcfebe814cf7660ef34cc93
Signed-off-by: linpeter <linpeter@google.com>
8 files changed