[Webkit-unassigned] [Bug 79400] New: [chromium] Visualize accelerated compositor update/draw/damage rects.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 23 14:23:51 PST 2012


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

           Summary: [chromium] Visualize accelerated compositor
                    update/draw/damage rects.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: shawnsingh at chromium.org
                CC: nduca at chromium.org, backer at chromium.org


This patch is probably never going to land, but it might be useful for other people who may want to estimate where performance is being spent.  It has been extremely useful for getting damage tracking implemented properly.

(1) updateRects (red): rects that came from dirty regions of layers.  The updateRect is the region of a layer that was actually updated on the texture resource.  i.e. these portions of layers may have affected the screen.
(2) drawRect (blue):  rects from layers whose properties have changed, i.e. the layer's old position and new position affect the screen
(3) exposedRects (purple):  currently not visualized on this patch, let me know if you need it.  i.e. the layer's old position that affects the screen after it disappears or moves.
(4) damageRects (orange/dirty-yellow): the damage rect for each surface.  the root-level rect is the one that would be a scissor.

caveats:
  does not consider tiles / quads / culling.

Note that updateRects, drawRects, and exposed rects are unrelated.  draw rects do NOT include updateRects. -- all three types of rects contribute to the final damage.

I'm not planning to maintain this except when its convenient or urgently needed.  But, if enough people want this to actually land (after addressing a few issues) then let's discuss it =)

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