More thorough check for expensive rendering
The intent of this check is to determine whether we need to do any color conversion. For simplicity, we assumed we would need to do color conversion if the display is P3. This isn't necessarily the case, though; if all the input buffers are P3, we won't need color conversion. And if the display is anything besides P3, we still may need it. Check all the layers; if any does not match the outputDataspace, we will do color conversion. Bug: 221067687 Test: manual (logcat) Test: jank tracking Change-Id: I5c77769cf9fd2f07806c97022fa4bb940bfcc1ac
Loading
Please register or sign in to comment