diff options
| author | 2017-04-15 21:41:22 -0700 | |
|---|---|---|
| committer | 2017-04-15 21:41:22 -0700 | |
| commit | 55455181233cadcd6d2e28d28d0dfc9a653f7787 (patch) | |
| tree | df8e1a022f7363fa15d0b11a0f90035b7a76c259 /libs/hwui/ProgramCache.cpp | |
| 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
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions