[Webkit-unassigned] [Bug 73344] New: [chromium] TextureManager LRU list is not fully honor the order tiles are used

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 29 11:28:01 PST 2011


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

           Summary: [chromium] TextureManager LRU list is not fully honor
                    the order tiles are used
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: klobag at chromium.org


Currently TextureManager moves a texture to the end of the list if hasTexture() is called. In the threaded compositing mode, TiledLayerChromium maintains a HashMap of tiles. In TiledLayerChromium::pushPropertiesTo(), it walks through all the tiles in the HashMap and check whether they are valid which calls hasTexture(). This means the order in the TextureManager's LRU list is affected by the order of the tile in the TiledLayerChromium's HashMap. e.g. when a page is scrolled down, we expect the furthest from the new revealed tiles will be reclaimed. Currently some tile in the middle can be reclaimed.

The proposed fix is to only move a texture to the end of the list if protectTexture() is called.

-- 
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