DescriptionImplement crop rect for the dilate and erode (morphology) filters. This provoked some cleanup on the GPU side: apply_morphology() now deals with SkBitmaps, rather than GrTextures. There's still a clear opportunity for more refactoring between the two filters.
Note: this adds some test cases to the morphology GM, so it will require a rebaseline.
R=bsalomon@google.com, reed@google.com
Committed: https://code.google.com/p/skia/source/detail?r=11313
Patch Set 1 #Patch Set 2 : Don't send an SkScalar to do a int's job. #Patch Set 3 : Embiggen GM to accommodate new test cases. #
Messages
Total messages: 6 (0 generated)
|