Bug 1017680 - Allow progressing painting for any 2D layer. r=Cwiiis