OSDN Git Service

Use colorFilters when rendering to an sRGB bitmap.
authorDerek Sollenberger <djsollen@google.com>
Tue, 1 Aug 2017 13:36:34 +0000 (09:36 -0400)
committerDerek Sollenberger <djsollen@google.com>
Wed, 2 Aug 2017 15:37:46 +0000 (11:37 -0400)
commitb851b197497783f894b72edcaed8f93d035ddea0
treef7314abac2a5cd938bcf7e0e9f064c932af6273b
parentaa6ee67d6749ae77b576164e7f75ab32fb597403
Use colorFilters when rendering to an sRGB bitmap.

Bug: 62347704
Test: CtsUiRenderingTestCases, CtsGraphicsTestCases
Change-Id: I55a574ffd9305588b82345a598da7818952a131d
core/jni/android/graphics/Picture.cpp
core/jni/android/graphics/pdf/PdfDocument.cpp
libs/hwui/SkiaCanvas.cpp
libs/hwui/SkiaCanvas.h
libs/hwui/hwui/Canvas.h
libs/hwui/pipeline/skia/SkiaRecordingCanvas.cpp
libs/hwui/tests/unit/SkiaCanvasTests.cpp