DescriptionRenamed and made public SkGradientShaderBases's 'commonAsAGradient' to 'getGradientTableBitmap', and use that instead of asABitmap in gradient custom stage setup.
Also tidied up Gr gradient implementation constructors, to take the appropriate SkGradientShaderBase subclass, and where necessary (namely 2pt radial/conical) made them obtain extra parameters from that object, rather than passing them in in addition to it.
Committed: https://code.google.com/p/skia/source/detail?r=4808
Patch Set 1 #Patch Set 2 : Fix Windows line endings in SkGradientShaderPriv.h #
Total comments: 3
Patch Set 3 : GrScalar->SkScalar in Radial/Conical parameter getters. #Patch Set 4 : Add comment about old GrGradientEffect constructor. #MessagesTotal messages: 6
|