The two functions pdf.setxform[attributes|resources] mentioned in 14.1.4 of the manual appear to do nothing at all.The online LuaTex manual <https://www.pragma-ade.com/general/manuals/luatex.pdf>has no 14.1.4. At which manual are you looking ?
It is in 13.1.4 in the manual you linked to (I used the latest texlive version, indeed).
