skia/ext has a lot of structure around supporting "native" drawing (e.g. core-graphics or GDI or cairo) into the same canvas as Skia. It does this by subclassing SkDevice. However, this is deprecated (and only works for raster backends, not PDF or pictures or GPU).
Goal: reduce / eliminate the usages of SkDevice subclasses in chrome.
This bottlenecks to only a few apis in skia/ext:
- GetPlatformDevice
- ScopedPlatformPaint
- GetBitmapContext
Approach: find alternate apis/techniques to allow chrome to stop using these.
Comment 1 by bugdroid1@chromium.org
, Dec 21 2016