DescriptionNew subclasses for both Gr and GrGL gradient effect classes.
This replaces GrSingleTextureEffect as the base for gradient effects (so we'll be able to do gradient effects without textures), and adds a base class to the GL gradient custom stage implementations (which will soon handle generating the appropriate code to pass colors in and lerp instead of using a cached texture for simpler gradient cases).
Also added a custom stage for linear gradients.
Committed: https://code.google.com/p/skia/source/detail?r=4674
Patch Set 1 #
Total comments: 5
MessagesTotal messages: 4
|