In looking at profiles across time, one possibility of why GetDecodedImageForDraw is more expensive in m70 vs m59 is that colorspaces were added. In looking at current profiles, getting the hash of a DrawImage is also expensive.
To address this, instead of having each DrawImage know its colorspace, associate the color space with the image decode cache itself.
Comment 1 by 42576172...@developer.gserviceaccount.com
, Nov 5