diff options
author | Romain Guy <romainguy@google.com> | 2017-04-15 21:41:22 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2017-04-15 21:41:22 -0700 |
commit | 55455181233cadcd6d2e28d28d0dfc9a653f7787 (patch) | |
tree | df8e1a022f7363fa15d0b11a0f90035b7a76c259 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
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 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions