Closed Bug 968495 Opened 10 years ago Closed 10 years ago

Reduce the APZ minimum repaint interval

Categories

(Core :: Panning and Zooming, defect, P1)

All
Gonk (Firefox OS)
defect

Tracking

()

RESOLVED FIXED
mozilla30
blocking-b2g 1.3+
Tracking Status
firefox28 --- wontfix
firefox29 --- wontfix
firefox30 --- fixed
b2g-v1.3 --- fixed
b2g-v1.4 --- fixed

People

(Reporter: kats, Assigned: kats)

References

Details

(Keywords: perf, Whiteboard: [c=handeye p= s= u=])

Attachments

(1 file)

apz.pan_repaint_interval is set to a glacial 250ms. We should make it faster. BenWa tested with 30ms and it was nice. Kevin says at https://bugzilla.mozilla.org/show_bug.cgi?id=967884#c24 that at 100ms it's nice too.

I'm going to make it 40ms to keep in in sync with the asyncscroll interval.
Attached patch PatchSplinter Review
Attachment #8371080 - Flags: review?(21)
Status: NEW → ASSIGNED
Keywords: perf
Priority: -- → P1
Whiteboard: [c=handeye p= s= u=]
blocking-b2g: --- → 1.3+
Sorry this title feels misleading to people who haven't followed this conversation.

The tradeoff where making here is that the main thread will be idle less which means we're be using our CPU more effectively at painting but if we spend more time doing paint overhead (displaylist, buffer rotation) then we're worse off with this change although I doubt it will be.
Summary: Make repaints faster on B2G → Reduce the APZ minimum repaint interval
https://hg.mozilla.org/mozilla-central/rev/d78c3d1ef8b4
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: