[Webkit-unassigned] [Bug 76635] New: Refactor canvas drawing to be more data driven

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 19 07:28:56 PST 2012


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

           Summary: Refactor canvas drawing to be more data driven
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tdresser at chromium.org
                CC: enne at google.com


>From bug 73059:

CCLayerImpl-derived classes all currently handle drawing themselves internally, making direct GL calls.  This is problematic for several reasons.  Testing these layers is tricky because testing must be done at a mock GL interface level rather than at a higher abstract level.  It makes culling closely dependent on how each layer draws.  It also makes some optimizations like layer squashing impossible.

To fix this, CCLayerImpl-derived classes should produce a set of quads to render with some basic information in them about how they are to be drawn.  This list can then be processed and drawn in a more data-driven and abstract manner.


CCCanvasLayerImpl still handles drawing internally, and should be transitioned to the data-driven approach.
This builds on the initial refactor from bug 76274.

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