it could be optimized to draw them directly.
Created attachment 54894 [details] Only cache HTML content
Comment on attachment 54894 [details] Only cache HTML content Looks sane. Do other ports have this optimization?
Yes - that's what the direct-compositing API in GraphicsLayer.h is for. We've had this optimization in before, but I omitted it by mistake when I introduced another optimization
Comment on attachment 54894 [details] Only cache HTML content I think this deserves an explanation in the code. So please add a comment.
Created attachment 55994 [details] added comments per Kenneth's review
Comment on attachment 55994 [details] added comments per Kenneth's review Clearing flags on attachment: 55994 Committed r59510: <http://trac.webkit.org/changeset/59510>
All reviewed patches have been landed. Closing bug.
Revision r59510 cherry-picked into qtwebkit-2.0 with commit ead6be782dbaa32cf9c33e21b3c32d2f78c4d0a5