commit | 07ae505d4045e2b1ae501e87560984dae06f9dd8 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Tue Jun 13 18:25:32 2017 -0700 |
committer | Romain Guy <romainguy@google.com> | Wed Jun 14 13:44:08 2017 -0700 |
tree | bbc73e6b66184751c4b72a365bda7039580bacfd | |
parent | 209705d5d76a5ccc23fa63ee8702c3f8faa025d0 [diff] |
Use RGBA16F layers when wide color gamut rendering is on Layers created using View.setLayerType() or Canvas.saveLayer() need to be RGBA16F/scRGB-nl when within a window that requested wide color gamut rendering. Bug: 29940137 Test: CtsUiRenderingTestCases, CtsGraphicsTestCases, hwui_unit_tests Change-Id: I42fd6355448c92041491a7109e3ac8a153d38bf9