Closed Bug 941210 Opened 11 years ago Closed 11 years ago

APZCTreeManager builds a wrong APZC tree for some layer trees

Categories

(Core :: Panning and Zooming, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla28
Tracking Status
firefox28 --- fixed

People

(Reporter: botond, Assigned: botond)

Details

(Whiteboard: [qa-])

Attachments

(1 file)

For example, for the following layer tree (note: siblings are printed in backwards order because that's the order in which UpdatePanZoomControllerTree processes them):

I/Gecko   (  139): [apxc] ContainerLayerComposite       (0, 0)
I/Gecko   (  139): [apxc]   ContainerLayerComposite     (0, 0)
I/Gecko   (  139): [apxc]     ContainerLayerComposite   (0, 0)  APZC (1, 5, 2)  [0, 320] x [40, 410]
I/Gecko   (  139): [apxc]     ContainerLayerComposite   (0, 20)
I/Gecko   (  139): [apxc]       RefLayerComposite       (0, 50)
I/Gecko   (  139): [apxc]         ContainerLayerComposite       (0, 0)  APZC (4, 1, 1)  [0, 320] x [0, 365]
I/Gecko   (  139): [apxc]           ThebesLayerComposite        (0, 0)
I/Gecko   (  139): [apxc]       ThebesLayerComposite    (0, 0)
I/Gecko   (  139): [apxc]     ThebesLayerComposite      (0, 0)
I/Gecko   (  139): [apxc]   ColorLayerComposite (0, 0)
I/Gecko   (  139): [apxc]   ThebesLayerComposite        (0, 0)
I/Gecko   (  139): [apxc] [UpdatePanZoomControllerTree end]

The APZC tree that gets built has the (4, 1, 1) APZC at the root, and no siblings or children. The (1, 5, 2) APZC is lost.
Attached patch bug941210.patchSplinter Review
Assignee: nobody → botond
Attachment #8335520 - Flags: review?(bugmail.mozilla)
Attachment #8335520 - Flags: review?(bugmail.mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/54091ba5f2c5
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Flags: needinfo?(nhirata.bugzilla)
Flags: needinfo?(nhirata.bugzilla)
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: