Bug 996929 - Implement OptimizeSourceSurface for all Moz2D backends. r=Bas