Store filterbitmap on Paint
Update Paint and SkiaCanvas now that SkFilterQuality is no longer part of Skia's API. 1. Store mFilterBitmap:bool directly in Paint (matching java side) 2. Change Looper construct to operate on Paint rather than SkPaint ... so it can access mFilterBitmap. 3. Update PaintFilter to take Paint instead of SkPaint As before, when we do have to call SkCanvas, we convert Paint's mFilterBitmap into SkSamplingOptions as needed. Test: make Bug: 178700363 Change-Id: I7fccf17657d4e255f2453b4bfc513215503597b2
Loading
Please register or sign in to comment