DescriptionImplement a resize image filter. This is needed for the "filterRes" feature in SVG filter effects, which specifies the required size for intermediate processing buffers. In order to make this work, we need to render the primitive at the given resolution (doable at the callsite in Blink), and then to resize the result to the actual on-screen size. The latter is where this filter comes in.
It simply applies a scaling factor (and the current CTM) to its input, and draws its input bitmap at that size.
R=reed@google.com
Committed: https://code.google.com/p/skia/source/detail?r=13077
Reverted: https://code.google.com/p/skia/source/detail?r=13078
BUG=
Committed: https://code.google.com/p/skia/source/detail?r=13082
Patch Set 1 #Patch Set 2 : Fix docs #
Total comments: 4
Patch Set 3 : Changes per review comments #Patch Set 4 : Use concat() and drawBitmap() instead of drawBitmapRectToRect() #Patch Set 5 : Remove CTM application from resize filter; change GM to emulate Blink #Patch Set 6 : Style fixes. #Patch Set 7 : More 100-col fixes #Patch Set 8 : One more 100-col fix #Patch Set 9 : Add registration to fix cross-process pipe tests. #
Messages
Total messages: 6 (0 generated)
|