Move SkSurface creation into TestEffect and TestBlend classes.
This simplifies the code somewhat, but more importantly, it gives us
an easy way to recreate the surface between draws. This will make it
easier to test in Graphite, because repeated calls to `onReadPixels`
currently fail on some machines unless the surface is recreated
after each read.
Reviewed-by: Greg Daniel <firstname.lastname@example.org>
Auto-Submit: John Stiles <email@example.com>
Commit-Queue: John Stiles <firstname.lastname@example.org>
1 file changed