[Webkit-unassigned] [Bug 95758] [chromium] Adjust texture priorities in preparation of impl-thread eviction of only some textures

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 4 15:54:36 PDT 2012


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


Dana Jansens <danakj at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danakj at chromium.org




--- Comment #3 from Dana Jansens <danakj at chromium.org>  2012-09-04 15:54:49 PST ---
(In reply to comment #2)
> Adding text from ChangeLog and reviewers.
> 
> Adjust texture priorities to prepare for asynchronous impl-thread eviction of textures.  Move lingering textures to be prioritized before textures that are more than half of a viewport away, so that lingering textures are not evicted before tiles that are extremely far from the viewport.
> 
> Change priority scores to be in "percentage of a viewport away from being visible" instead of "pixels away from being visible" so that priority cutoffs of "just draw X viewports of data" can be specified.
> 
> Make CCPriorityCalculator functions that were effectively static be static, and remove passing of unused CCPriorityCalculator classes.

I tried to remove passing around the class also, but eric has resisted that as it disallows us to add state to the calculator in the future. I think if we want to do it, that should be a separate patch from behaviour changes, anyhow.

> Fix a bug where the priority of a CCPrioritizedTexture was stored as a size_t instead of an int.
> 
> Specify a particular priority function for small animated layers instead of using a pixel distance value.

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