Loading
[SurfaceFlinger] Expose WCG composition preference through ISurfaceComposer API.
Previously we introduced an API to return default composition preference. However, wide color gamut composition preference is very likely to be different than the default composition preference. This patch also exposes this information back to upper stack, notable HWUI, to make sure upper stack has the flexibility to render into desired format for wide color gamut surfaces. BUG: 111436479 Test: Build, flash and boot, run some display validation. Change-Id: Ic05747591e62ca5f3c396704390555b7f545c31c