Loading
Add setColorSpaceAgnostic API to SurfaceControl.
Some layers, for example ScreenDecorOverlay*, only carry black, white or gray with some transpanrency, these values are special as they are color space agnostic. We don't need to do color conversion on them, instead we want to intercept the color space before we send to hardware composer for validation. This patch adds an API to allow this to happen, layers that can be considered color space agnostic can call this API. BUG: 126616348 Test: Build, flash and boot. Verify by calling in Letterbox. Change-Id: I2e1384865bbae6c1bca5ab55962af6a4d529d81d