diff options
author | Derek Sollenberger <djsollen@google.com> | 2018-10-19 15:55:33 -0400 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2018-11-07 20:56:28 +0000 |
commit | d01b5916d8b512ee4df8d749022c10419b58b4b2 (patch) | |
tree | 734292de80f5033a1cc32cede1d916d5806b8482 /libs/hwui/SkiaCanvas.h | |
parent | fe878c454ad92f98db770eb51a55ac14ca7fcd08 (diff) |
Set the color space to sRGB on the Surface and remove colorFilter.
Also for a canvas wrapping a bitmap the colorspace of the bitmap
will be used to correctly blend content.
Test: CtsUiRenderingTestCases
Bug: 111436479
Change-Id: I63ad7a30605a7f725cc0ef4716d42ea978fb03e3
Diffstat (limited to 'libs/hwui/SkiaCanvas.h')
-rw-r--r-- | libs/hwui/SkiaCanvas.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libs/hwui/SkiaCanvas.h b/libs/hwui/SkiaCanvas.h index 3a877cf84010..24d9c08ec1c6 100644 --- a/libs/hwui/SkiaCanvas.h +++ b/libs/hwui/SkiaCanvas.h @@ -232,7 +232,6 @@ private: class Clip; - std::unique_ptr<SkCanvas> mCanvasWrapper; // might own a wrapper on the canvas std::unique_ptr<SkCanvas> mCanvasOwned; // might own a canvas we allocated SkCanvas* mCanvas; // we do NOT own this canvas, it must survive us // unless it is the same as mCanvasOwned.get() |