Project: skia Issues People Development process History Sign in
New issue
Advanced search Search tips
Issue 1899 Quick reject glyphs drawn from paths sooner.
Starred by 7 users Project Member Reported by bungeman@google.com, Dec 13 2013 Back to list
Status: Accepted
Owner:
Cc:
Area: Font
Priority: Medium
Type: Defect



Sign in to add a comment
In SkDraw::drawPosText the first thing a 'proc' does is do a quick reject based on glyph bounds. However, SkDraw::drawPosText_asPaths does not appear to be doing so which leads to the path being scaled and then the bounds being discovered and being rejected much later (and after much work).


 
Project Member Comment 1 by hcm@google.com, Sep 22 2014
Labels: Area-Font
Project Member Comment 2 by hcm@google.com, Dec 7 2015
Labels: Hotlist-Fixit
Project Member Comment 3 by caryclark@google.com, Mar 2 2016
There are a number of places where forward matrix transforms could be avoided if the device clip was projected into source space. However, since it isn't done anywhere (as far as I know) in Skia, I wonder if it is that big a win. Are there any metrics that show that this is a performance problem?
Sign in to add a comment