Closed Bug 1161372 Opened 9 years ago Closed 9 years ago

[LayerScope] Add EventRegions fields

Categories

(Core :: Graphics: Layers, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
firefox41 --- fixed

People

(Reporter: boris, Assigned: boris)

References

Details

(Whiteboard: gfx-noted)

Attachments

(2 files, 2 obsolete files)

Event-regions are provided by layout. Add new data fields, EventRegions, into LayerScope as the dumping of layers Tree did, so we can also use LayerScope to debug it.

Reference: 
https://dxr.mozilla.org/mozilla-central/source/gfx/layers/Layers.cpp#1596
https://dxr.mozilla.org/mozilla-central/source/gfx/layers/LayersLogging.cpp#150
Blocks: LayerScope
Depends on: 1090398
Whiteboard: gfx-noted
Assignee: nobody → boris.chiou
Status: NEW → ASSIGNED
Attachment #8611130 - Flags: review?(dglastonbury)
Fix commit message..
Attachment #8611130 - Attachment is obsolete: true
Attachment #8611130 - Flags: review?(dglastonbury)
Attachment #8611135 - Flags: review?(dglastonbury)
Comment on attachment 8611130 [details] [diff] [review]
Add EventRegions on LayerScope (v1)

Review of attachment 8611130 [details] [diff] [review]:
-----------------------------------------------------------------

::: gfx/layers/protobuf/LayerScopePacket.pb.cc
@@ +2479,5 @@
>          }
> +        if (input->ExpectTag(162)) goto parse_hitRegion;
> +        break;
> +      }
> +      

Trailing WS is sad. :-(
Attachment #8611130 - Attachment is obsolete: false
Attachment #8611135 - Flags: review?(dglastonbury) → review+
Comment on attachment 8611130 [details] [diff] [review]
Add EventRegions on LayerScope (v1)

Review of attachment 8611130 [details] [diff] [review]:
-----------------------------------------------------------------

::: gfx/layers/protobuf/LayerScopePacket.pb.cc
@@ +2479,5 @@
>          }
> +        if (input->ExpectTag(162)) goto parse_hitRegion;
> +        break;
> +      }
> +      

Yes..
Attachment #8611128 - Attachment is obsolete: true
Attachment #8611130 - Attachment is obsolete: true
(In reply to Boris Chiou [:boris] from comment #3)
> https://treeherder.mozilla.org/#/jobs?repo=try&revision=39507de9cb6f

Looks like these testfaileds, exceptions, and busteds are not related to this patch.
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/4816abbf3942
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: