Better QDirectFBPixmapData::toImage()
Better QDirectFBPixmapData::toImage()

This is essentially a return to the earlier version of toImage(). Use a
preallocated surface that operates on the returned image to do the
conversion. If this causes drawing bugs it is likely a bug in the
directfb driver and can be worked around by compiling with
QT_NO_DIRECTFB_PREALLOCATED.
Reviewed-by: TrustMe

radekp/qt,pruiz/wkhtmltopdf-qt,KDE/qt,radekp/qt,igor-sfdc/qt-wk,radekp/qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,radekp/qt,igor-sfdc/qt-wk,KDE/qt,radekp/qt,KDE/qt,pruiz/wkhtmltopdf-qt,radekp/qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,radekp/qt,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,KDE/qt,KDE/qt,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,radekp/qt,RLovelett/qt,pruiz/wkhtmltopdf-qt,RLovelett/qt,RLovelett/qt,KDE/qt,radekp/qt,igor-sfdc/qt-wk,KDE/qt,RLovelett/qt,RLovelett/qt,RLovelett/qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk,radekp/qt,KDE/qt,igor-sfdc/qt-wk,RLovelett/qt,RLovelett/qt,RLovelett/qt,RLovelett/qt,igor-sfdc/qt-wk,RLovelett/qt