[Webkit-unassigned] [Bug 70533] [Chromium] Cull occluded tiles in tiled layers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 20 12:47:57 PDT 2011


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


Antoine Labour <piman at chromium.org> changed:

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




--- Comment #4 from Antoine Labour <piman at chromium.org>  2011-10-20 12:47:57 PST ---
On the overall approach, I'll let James/Nat/Enne/Shawn pitch in.
I could imagine an approach that is less "stateful" where the logic goes to the LayerRendererChromium, keeping a list of occluders in drawLayersInternal, that we'd pass to drawLayer, and then possibly to CCLayerImpl::draw. The advantage is that it wouldn't leak to LayerChromium, you would have access to a flattened list of children, and I think it would be closer to where you'd need to implement a fuller approach (e.g. not limited to tiled content layers, possibly scissoring the tiles to eliminate more pixels). It may also integrate well with Shawn's scissoring patch.
That being said, there's possibly issues I'm not seeing with that approach, so take it with a grain of salt.

Also, you'll probably won't want to consider as an occluder the layers that have a transform that is more than a x+y translation and scale, since their enclosing rect is a strict superset of the layer itself.

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