Replacement for wlr_pixman_renderer_get_current_image.
KWinFT uses it for instance until now here to query the format of the underlying pixman image and here to copy in a painted render result from a QImage.