diff options
author | Romain Guy <romainguy@google.com> | 2017-04-04 19:38:50 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2017-04-07 07:56:14 -0700 |
commit | 8242656f495847c50c9ceaea92839dce78218a75 (patch) | |
tree | 467b8d3ceb1c305c8ba13d5b6edbdfceed390fbf /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 7a7c0ace8277d06513ab9eaa19159d66919764ba (diff) |
Color management, the missing pieces
Implement missing color management pieces for bitmaps:
- Bitmap.createBitmap(Bitmap src, ...) now creates a bitmap
in the same color space as the source bitmap
- Bitmap.createScaledBitmap() now creates a bitmap in the
same color space as the source bitmap
- Bitmap.createBitmap(..., ColorSpace colorSpace) to create
bitmaps in a specific color space
- Fix copy from A8 to F16
- Copying bitmaps in F16 or with a color space does not work,
it's currently a limitation in Skia
Bug: 36905374
Test: BitmapColorSpaceTest
Change-Id: I0092fe4432511db50daa3a9393389a9db05e0c2a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions