Some APZ cleanups related to async transforms
Categories
(Core :: Panning and Zooming, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox118 | --- | fixed |
People
(Reporter: botond, Assigned: botond)
References
Details
Attachments
(5 files)
A few things I spotted while doing code reading for bug 1827330 that I'd like to clean up.
| Assignee | ||
Comment 1•2 years ago
|
||
The "nontransient async transform" has been removed a long time ago,
in bug 1076241.
| Assignee | ||
Comment 2•2 years ago
|
||
We don't perform hit testing in APZ any more (that's done in WebRender).
The use cases for which we want to use the most up to date async transform
that reflects all previously received input events even if we haven't
composited their effects yet, are more accurately summarized as "event
handling".
Depends on D185256
| Assignee | ||
Comment 3•2 years ago
|
||
Make it an enum class to avoid placing the enumerators themselves into
namespace scope.
This allows the next patch to use the enum in APZCTreeManager.h,
where only the forward declaration of AsyncPanZoomController is visible.
For convenience, add forwarding constants to AsyncPanZoomController.
Depends on D185257
| Assignee | ||
Comment 4•2 years ago
|
||
The implementation was unconditionally passing eForEventHandling to
GetCurrentAsyncTransform(), but one of the call sites was actually
used for compositing.
Depends on D185258
| Assignee | ||
Comment 5•2 years ago
|
||
It was its only caller.
Depends on D185259
Comment 7•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/72a0f8d8f122
https://hg.mozilla.org/mozilla-central/rev/4f01e3e561f6
https://hg.mozilla.org/mozilla-central/rev/a05b5784e815
https://hg.mozilla.org/mozilla-central/rev/2e239b493409
https://hg.mozilla.org/mozilla-central/rev/7bccadd8e28c
Description
•