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•2 years ago
|
Assignee | ||
Comment 1•1 year ago
|
||
This came up today as a tool that would make it easier to diagnose checkerboarding bugs like bug 1818967.
Assignee | ||
Comment 2•1 year 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_items
here
Assignee | ||
Comment 3•11 months 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•8 months ago
•
|
||
Posting for my own reference: a link to the old Layers implementation of the minimap.
Assignee | ||
Comment 5•7 months ago
|
||
Updated•4 months ago
|
Assignee | ||
Comment 6•4 months ago
|
||
The first branch (where the node is in the root coordinate system)
was not handling the TransformScroll::Unscrolled case.
Updated•4 months ago
|
Pushed by bballo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f3656d44c967 Fix a bug in SpatialTree::get_world_transform_impl(). r=gw https://hg.mozilla.org/integration/autoland/rev/872d8cd8e16c Implement an APZ minimap for WebRender. r=dlrobertson,gw
Comment 8•4 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f3656d44c967
https://hg.mozilla.org/mozilla-central/rev/872d8cd8e16c
Updated•4 months ago
|
Description
•