[Webkit-unassigned] [Bug 190261] New: RenderLayer should traverse the render tree only once to draw its contents

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 3 13:40:38 PDT 2018


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

            Bug ID: 190261
           Summary: RenderLayer should traverse the render tree only once
                    to draw its contents
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

To draw a RenderLayer, WebKit has to follow the CSS stacking context order to paint different phases from the render tree. This patch tries to consolidate the render tree traversal in one pass using DisplayLists. The render tree objects can push their drawing into different DisplayLists in the same call. The purpose of this change is to accelerate the render layer drawing.

Having the drawing recorded in DisplayLists should provide many optimization opportunities.
1. Caching the DisplayLists for later reuse.
2. Delete no-op drawing operations, for example { context.save(); context.restore(); } or { context.save(); context.clip(); context.restore(); }
3. Generating the DisplayList can happen in parallel.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181003/a9e1531c/attachment.html>


More information about the webkit-unassigned mailing list