Closed Bug 1144990 Opened 8 years ago Closed 8 years ago

Dump display items with class id and name

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: pchang, Assigned: pchang)

Details

Attachments

(1 file, 1 obsolete file)

Dump the display items with class id and name can help to identify which dom elements are still acquired the layer buffers.
Here is the info when dump the display list, it is easier for us to map the display items to app.

nsDisplayTransform p=0xaf7312f0 f=0xb278d150(Block(div)(23) class:icon) z=3 bounds(13360,52560,5460,6980) layerBounds(13360,52560,5460,6980) visible(13360,52560,5460,6980)
  Background p=0xaf7311a0 f=0xb278d150(Block(div)(23) class:icon) z=3 bounds(560,0,5280,5280) layerBounds(560,0,5280,5280
  LayerEventRegions p=0xaf731228 f=0xb278d370(HTMLScroll(span)(0) class:title) bounds(0,0,0,0) layerBounds(0,0,0,0)
  Text p=0xaf731298 f=0xb278d870(Text(0)"Feedback") bounds(620,4700,5400,2800) layerBounds(620,4700,5400,2800)

Opacity p=0xaf729308 f=0xb2eed4c8(Block(section)(3) id:edit-header) z=4 bounds(0,0,0,0) layerBounds(0,0,0,0)
This patch also works when using gecko profiler with displaylist dump feature.

http://people.mozilla.org/~bgirard/cleopatra/#report=4cee55ab9e5389768d44da65bf63e0aa3740e99d&filter=%5B%7B%22type%22%3A%22RangeSampleFilter%22,%22start%22%3A2340,%22end%22%3A2706%7D%5D
Assignee: nobody → pchang
Status: NEW → ASSIGNED
Attachment #8583696 - Flags: review?(matt.woodrow)
Attachment #8583696 - Flags: review?(matt.woodrow) → review?(roc)
Update reviewer.
Attachment #8583696 - Attachment is obsolete: true
Attachment #8592137 - Flags: review+
https://hg.mozilla.org/mozilla-central/rev/32294c1047e0
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in before you can comment on or make changes to this bug.