In https://chromium-review.googlesource.com/c/chromium/src/+/756213 PaintTypeface was introduced as one possible serialization approach for sending Typefaces over to the GPU process.
After various meetings and discussions, I believe we decided that following down this road is going to be complicated as all font creation mechanisms on all platforms would have to be covered in Blink to make this serialization approach succeed.
In my understanding, the alternative that was discussed would be to implement serialization at the Skia level, sharing the glyph cache and potentially scaler contexts in Skia between renderer and GPU process. Blink would not require much changes. The fonts OOP raster implementation would be in a central location, with less cross cutting effects on Blink and more efficient in terms of memory sharing across processes.
vmpstr@, am I covering the discussion correctly?
If so, can we consider reverting the introduction of PaintTypeface? If not yet, for how long do we still need it? Thanks for taking a look.
Comment 1 by drott@chromium.org
, Feb 26 2018