[Webkit-unassigned] [Bug 73920] [Qt] Tiled backing store failing to update view under certain conditions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 2 03:51:41 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=73920





--- Comment #10 from Jocelyn Turcotte <jocelyn.turcotte at digia.com>  2012-11-02 03:53:05 PST ---
(In reply to comment #9)
When a page change, the part of the backing store that needs to be re-rendered is invalidated. When the new page is loaded, all the backing store needs to be invalidated.
If the page grows or shrink, then the backing store's size needs to be adjusted as well (an eventual call to createTiles), adding tiles allow growing, and resizeEdgeTiles takes care of resizing or dropping tiles until the size fits.
So to put it differently, each time that the value returned by tiledBackingStoreContentsRect changes, a call to createTiles should be triggered, and this is what seems to be missing.
Right now the only way to trigger it seems to be:
- setContentsFrozen (doesn't make much sense in this case)
- setTileSize (neither)
- coverWithTilesIfNeeded (won't call createTiles if the visible rect didn't change)

So maybe a way to fix it would be to add a TiledBackingStore::contentsRectChanged that would be called when the FrameView size changed and would call createTiles.
Another, less clean way, would be to keep the last ContentsRect and check if it changed in coverWithTilesIfNeeded, so that we also call createTiles in that case.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list