DescriptionAdd ability to ninepatch blurred rounded rectangle
Speed up drawing large blurry round rectangles by converting them to
nine patches.
SkDraw:
Add drawRRect.
SkBitmapDevice:
Call SkDraw::drawRRect instead of converting SkRRect to an SkPath.
SkMaskFilter/SkBlurMaskFilter:
Create a nine patch of a blurred round rect and draw it instead of
drawing the entire thing.
SkPDFDevice:
Override drawRRect to perform the old behavior in
SkBitmapDevice::drawRect.
Depends on https://codereview.chromium.org/52703003
Tests are in https://codereview.chromium.org/52793005
BUG=https://b.corp.google.com/issue?id=11174385
R=reed@google.com, robertphillips@google.com
Committed: https://code.google.com/p/skia/source/detail?r=12198
Patch Set 1 : #
Total comments: 19
Patch Set 2 : Respond to comments. #
Total comments: 9
Patch Set 3 : Respond to reed's comments #Patch Set 4 : rebase #
Total comments: 2
Patch Set 5 : Address nit (static function name) #
Messages
Total messages: 15 (0 generated)
|