Support 3D transforms in the basic compositor (bug 935265, r=mattwoodrow).