[Webkit-unassigned] [Bug 76934] [chromium] Dirty pre-painted tiles should be deleted on impl side

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 24 14:12:12 PST 2012


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





--- Comment #4 from Adrienne Walker <enne at google.com>  2012-01-24 14:12:08 PST ---
(In reply to comment #3)
> (In reply to comment #1)
> > I don't think this is needed.
> > 
> > During every commit, we toss every tile on the impl side and then only sync the valid and non-dirty ones over.  Take a look at TiledLayerChromium::pushPropertiesTo.
> 
> I am freshly confused what the purpose of layerTreeHost()->deleteTextureAfterCommit() is then. If we just allocated a new texture on paint side, the impl side should be deleted anyways?

It's to support interleaved uploads.  If a texture is currently in use on the impl side, you can't reuse that texture id if you're going to interleave drawing while you upload and before the commit is done.  So, you allocate a new id and mark the old one as no longer needed once the commit completes.

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