[webkit-reviews] review requested: [Bug 78549] [Chromium] New CCOcclusionTracker class with tests : [Attachment 126861] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 13 16:31:19 PST 2012


Dana Jansens <danakj at chromium.org> has asked  for review:
Bug 78549: [Chromium] New CCOcclusionTracker class with tests
https://bugs.webkit.org/show_bug.cgi?id=78549

Attachment 126861: Patch
https://bugs.webkit.org/attachment.cgi?id=126861&action=review

------- Additional Comments from Dana Jansens <danakj at chromium.org>
Create the CCOcclusionTracker object, along with unit tests to verify its
functionality.

The object encapsulates the logic of CCLayerTreeHost's paint culling, and
CCQuadCuller's draw culling together in an object that can be used for both
scenarios.

It tracks occlusion within the target surface, and within screen space. You can
do a simple occluded() true/false test, or give it a rect in content space, and
it
will return a sub-rect that contains all the unoccluded parts (in both the
target surface and screen space) of the original rect.


More information about the webkit-reviews mailing list