Closed
Bug 935624
Opened 11 years ago
Closed 11 years ago
APZCs don't update FrameMetrics correctly when a layers update comes in
Categories
(Core :: Panning and Zooming, defect)
Tracking
()
RESOLVED
FIXED
mozilla28
People
(Reporter: kats, Assigned: kats)
References
Details
Attachments
(2 files)
9.88 KB,
patch
|
botond
:
review+
|
Details | Diff | Splinter Review |
3.12 KB,
patch
|
botond
:
review+
|
Details | Diff | Splinter Review |
Something that is more obvious now but was probably always an issue, is that in NotifyLayersUpdate various fields in mFrameMetrics are not updated. This used to be ok in the single-APZC case because for the most part these fields wouldn't change but now that we have nested APZCs, the parent APZC might set a resolution which causes the values of the child APZC to change, and the child needs to pick up these updates.
Attachment #828140 -
Flags: review?(botond)
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #828141 -
Flags: review?(botond)
Updated•11 years ago
|
Attachment #828140 -
Flags: review?(botond) → review+
Comment 2•11 years ago
|
||
Comment on attachment 828141 [details] [diff] [review]
Part 2 - Update various FrameMetrics things in NotifyLayersUpdate
Review of attachment 828141 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/layers/FrameMetrics.h
@@ +142,5 @@
> // instead.
> //
> // This value is valid for nested scrollable layers as well, and is still
> + // relative to the layer tree origin. This value is provided by Gecko at
> + // layout/paint time.
"provided at layout/paint time"
Attachment #828141 -
Flags: review?(botond) → review+
Comment 3•11 years ago
|
||
(In reply to Botond Ballo [:botond] from comment #2)
> Comment on attachment 828141 [details] [diff] [review]
> Part 2 - Update various FrameMetrics things in NotifyLayersUpdate
>
> Review of attachment 828141 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: gfx/layers/FrameMetrics.h
> @@ +142,5 @@
> > // instead.
> > //
> > // This value is valid for nested scrollable layers as well, and is still
> > + // relative to the layer tree origin. This value is provided by Gecko at
> > + // layout/paint time.
>
> "provided at layout/paint time"
Sorry, ignore that. The comment is fine.
Assignee | ||
Comment 4•11 years ago
|
||
Comment 5•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/5040cffe32af
https://hg.mozilla.org/mozilla-central/rev/700ce8c0d14d
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
You need to log in
before you can comment on or make changes to this bug.
Description
•