[Webkit-unassigned] [Bug 68942] New: Create unit tests for CCLayerTreeHostCommon

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 27 15:09:50 PDT 2011


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

           Summary: Create unit tests for CCLayerTreeHostCommon
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: shawnsingh at chromium.org
                CC: jamesr at chromium.org, piman at chromium.org,
                    vangelis at chromium.org, enne at google.com,
                    nduca at chromium.org


This bug will be tackled in smaller chunks, in the following order:

1. first batch of tests will focus on correctly computing transforms in calculateDrawTransformsAndVisibility.

2. second batch of tests will focus on verifying that the appropriate render surfaces and layer lists are created.

3. third batch of tests should make sure scissor rects and drawableContent rects are being computed correctly.

4. additional tests for any important special cases, and for other functions in this class.

5. with tests in place, it will be appropriate to consider refactoring this to make it more intuitive and less error-prone.
       - const where possible
       - separating chunks of code into helper functions

I am already working on Step 1, which is a dependency on other work that we want to land soon.

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