Closed
Bug 1245285
Opened 8 years ago
Closed 8 years ago
Prevent AsyncPanZoomController from repainting Zoom and Overscroll animations until animation has completed
Categories
(Core :: Panning and Zooming, defect)
Core
Panning and Zooming
Tracking
()
RESOLVED
FIXED
mozilla47
Tracking | Status | |
---|---|---|
firefox47 | --- | fixed |
People
(Reporter: rbarker, Assigned: rbarker)
References
Details
Attachments
(3 files, 1 obsolete file)
6.04 KB,
patch
|
botond
:
review+
|
Details | Diff | Splinter Review |
3.62 KB,
patch
|
botond
:
review+
|
Details | Diff | Splinter Review |
9.22 KB,
patch
|
botond
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•8 years ago
|
||
This code is left over from when C++APZ did not send continuous repaint requests during animations.
Assignee | ||
Comment 2•8 years ago
|
||
Assignee | ||
Updated•8 years ago
|
Attachment #8715022 -
Flags: review?(botond)
Assignee | ||
Comment 3•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=98d1e5538b73
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → rbarker
Comment 4•8 years ago
|
||
Comment on attachment 8715022 [details] [diff] [review] 0001-Bug-1245285-AsyncPanZoomController-ZoomToRect-needlessly-sends-repaint-request-for-final-FrameMetric-state-r-16020214-9ae9978.patch Review of attachment 8715022 [details] [diff] [review]: ----------------------------------------------------------------- We had an IRC discussion about this. The conclusion was that it would be better to avoid per-frame repaints for zoom animations, and keep this ahead-of-time repaint for the final resolution.
Attachment #8715022 -
Flags: review?(botond)
Assignee | ||
Updated•8 years ago
|
Summary: AsyncPanZoomController::ZoomToRect needlessly sends repaint request for final FrameMetric state → Prevent AsyncPanZoomController from repainting Zoom and Overscroll animations until animation has completed
Assignee | ||
Comment 5•8 years ago
|
||
Attachment #8715022 -
Attachment is obsolete: true
Assignee | ||
Comment 6•8 years ago
|
||
Assignee | ||
Updated•8 years ago
|
Attachment #8715470 -
Flags: review?(botond)
Assignee | ||
Updated•8 years ago
|
Attachment #8715471 -
Flags: review?(botond)
Comment 7•8 years ago
|
||
Comment on attachment 8715470 [details] [diff] [review] 0001-Bug-1245285-part-1-Remove-unused-mRepaintInterval-from-AsyncPanZoomAnimation-r-16020312-3ed97b7.patch Review of attachment 8715470 [details] [diff] [review]: ----------------------------------------------------------------- As a follow-up, please remove the prefs apz.fling_repaint_interval and apz.smooth_scroll_repaint_interval (the declaration in gfxPrefs.h, the description in AsyncPanZoomController.cpp, and lines setting it in modules/libpref/init/all.js). And since we're cleaning up anyways, might as well do the same for apz.pan_repaint_interval, which is already unused.
Attachment #8715470 -
Flags: review?(botond) → review+
Comment 8•8 years ago
|
||
Comment on attachment 8715471 [details] [diff] [review] 0002-Bug-1245285-part-2-Prevent-Zoom-and-Overscroll-animations-from-repainting-durring-animation-r-16020312-9c339003.patch Review of attachment 8715471 [details] [diff] [review]: ----------------------------------------------------------------- Thanks!
Attachment #8715471 -
Flags: review?(botond) → review+
Assignee | ||
Comment 9•8 years ago
|
||
Attachment #8715499 -
Flags: review?(botond)
Updated•8 years ago
|
Attachment #8715499 -
Flags: review?(botond) → review+
Comment 10•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/41ea5de656a9 https://hg.mozilla.org/integration/mozilla-inbound/rev/a211643de3b6 https://hg.mozilla.org/integration/mozilla-inbound/rev/e0c8fb70a095
Comment 11•8 years ago
|
||
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/a4e1258bc299 - e10s wasn't happy, frequent https://treeherder.mozilla.org/logviewer.html#?job_id=21051744&repo=mozilla-inbound and https://treeherder.mozilla.org/logviewer.html#?job_id=21048046&repo=mozilla-inbound
Comment 12•8 years ago
|
||
Those failures are more likely to be from my bug 990916. I'll take a look.
Comment 13•8 years ago
|
||
I filed bug 1245830 for the intermittent failure. Personally I think you should be able to reland this but the sheriffs might prefer that I land the fix for the intermittent first (or they might want to back out bug 990916 but as the intermittent seems low-volume I hope not).
Comment 14•8 years ago
|
||
Yes, you can reland, sorry for the churn, I was nearly asleep and not doing things right.
Comment 15•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/7e7eb92b6856 https://hg.mozilla.org/integration/mozilla-inbound/rev/4436ae606459 https://hg.mozilla.org/integration/mozilla-inbound/rev/c9506e817fe1
Comment 16•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7e7eb92b6856 https://hg.mozilla.org/mozilla-central/rev/4436ae606459 https://hg.mozilla.org/mozilla-central/rev/c9506e817fe1
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in
before you can comment on or make changes to this bug.
Description
•