commit | 55455181233cadcd6d2e28d28d0dfc9a653f7787 | [log] [tgz] |
---|---|---|
author | Romain Guy <[email protected]> | Sat Apr 15 21:41:22 2017 -0700 |
committer | Romain Guy <[email protected]> | Sat Apr 15 21:41:22 2017 -0700 |
tree | df8e1a022f7363fa15d0b11a0f90035b7a76c259 | |
parent | 7859022e8eeabb5aa65af15773fe9cff329c71ec [diff] |
Properly decode colors spaces in BitmapRegionDecoder Reusing a bitmap with BitmapRegionDecoder would preserve the previous color space. This change also tweaks color space matching to make sure we pick Display P3 with parameter d=0.039 or d=0.04045 Bug: 36905374 Test: CtsGraphicsTestCases Change-Id: I4d2d66e5babebb0b5ce5cbdc7e8244177b4b7f9c