Minor modifications to generate results properly, if any gles warnings are thrown.
Adapt Cubic test similar to flash canvas.
Add masking by using gradient pattern in cairo test.
Add different methods of masking in skia.