Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
2010-04-23 No'am Rosenthal <noam.rosenthal@nokia.com>
Reviewed by Kenneth Rohde Christiansen. [Qt] [Performance] GraphicsLayer: constructing the layers takes too long https://bugs.webkit.org/show_bug.cgi?id=36365 The issue came from using QGraphicsView's cache as is. The problem is that several code-paths require re-rendering of the item, but not re-rendering of the web content into the cache. The way to solve it is by having GraphicsLayerQt manage the cache directly via QPixmapCache, instead of using QGraphicsItem cache modes. FPS measurement shows significant improvement (20FPS before, 40FPS after) on several use-cases, including blog-files/leaves on a desktop environment. * platform/graphics/qt/GraphicsLayerQt.cpp: (WebCore::GraphicsLayerQtImpl::GraphicsLayerQtImpl): (WebCore::GraphicsLayerQtImpl::recache): (WebCore::GraphicsLayerQtImpl::paint): (WebCore::GraphicsLayerQtImpl::flushChanges): Canonical link: https://commits.webkit.org/49470@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@58190 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
2 changed files
with
78 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters