Crashes with a null pointer exception in D2D code.
Created attachment 653658 [details]
You need to have D3D layers and D2D enabled, then prefer the Cairo Azure backend, then load the test case (you'll need some local file called hippo.jpg, or change to some other image name, doesn't seem to work with remote images though).
Expected: a 100x100 part of the image at the top left, and the whole image on the right
Actual result: crashes
Created attachment 653659 [details] [diff] [review]
Comment on attachment 653659 [details] [diff] [review]
Looks fine to me, keep in mind this is not encouraged practice :).
(In reply to Bas Schouten (:bas) from comment #3)
> Comment on attachment 653659 [details] [diff] [review]
> Looks fine to me, keep in mind this is not encouraged practice :).
Having different backends for content and canvas? Or passing surfaces from one backend to another? Because the latter will always happen if we allow the former.