Get the APZ minimap to work with WebRender
Categories
(Core :: Panning and Zooming, task, P3)
Tracking
()
People
(Reporter: botond, Assigned: botond)
References
(Blocks 4 open bugs)
Details
Attachments
(2 files)
The APZ minimap is currently drawn by ContainerLayerComposite and therefore not drawn if WebRender is enabled.
It's a useful diagnostic tool, so we should keep it working with WebRender.
Updated•3 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
This came up today as a tool that would make it easier to diagnose checkerboarding bugs like bug 1818967.
| Assignee | ||
Comment 2•2 years ago
|
||
A possible approach for implementing this to be:
- In
RenderBackend::update_document(), when sampling async scroll offsets from APZ here, also query APZ for information that would be displayed in the minimap (e.g. the scrollable rect, viewport rects, and displayport rect) - Propagate the minimap information to build_frame() and FrameBuilder::build(), which can append the rects we want to draw to
Frame::debug_itemshere
| Assignee | ||
Comment 3•2 years ago
|
||
I would like to give this a try, it should help with checkerboarding-related investigations such as the one in bug 1781007.
| Assignee | ||
Comment 4•2 years ago
•
|
||
Posting for my own reference: a link to the old Layers implementation of the minimap.
| Assignee | ||
Comment 5•2 years ago
|
||
Updated•2 years ago
|
| Assignee | ||
Comment 6•2 years ago
|
||
The first branch (where the node is in the root coordinate system)
was not handling the TransformScroll::Unscrolled case.
Updated•2 years ago
|
Comment 8•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/f3656d44c967
https://hg.mozilla.org/mozilla-central/rev/872d8cd8e16c
Updated•2 years ago
|
Description
•