[webkit-qt] QImage vs QPixmap as native image
annulen at yandex.ru
Fri Sep 13 04:12:59 PDT 2013
There was a patch  that was later reverted because of performance degradation on DirectFB, where QPixmap is hardware accelerated.
We use QtWebKit 2.3.3 with Qt 4.8 on embedded system. We have internally written gfxdriver for QWS which does not provide hardware acceleration for QPixmap's, but allows to create hardware accelerated QImage's (I know it's rather strange, but it's what we have right now).
Now I'd like to provide hardware acceleration for images in QtWebKit. What route is better for me:
1) apply  again on top of QtWebKit 2.3 and use accelerated QImage's;
2) add hardware acceleration for QPixmap's (it does not seem too difficult from implementation point of view for me)?
Are there any performance advantages from using QImage with WebKit native decoders as compared to QPixmap?
More information about the webkit-qt