Closed
Bug 1666641
Opened 5 years ago
Closed 5 years ago
Build hit-testing structure from clip templates
Categories
(Core :: Graphics: WebRender, task)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
83 Branch
| Tracking | Status | |
|---|---|---|
| firefox83 | --- | fixed |
People
(Reporter: gw, Assigned: gw)
References
Details
Attachments
(1 file)
No description provided.
| Assignee | ||
Comment 1•5 years ago
|
||
Previously, the hit-testing structure was built from the set of
clip-chains supplied to the frame builder, but this has several
disadvantages. Now, the hit-testing structure is built during
scene building, flattening clip templates into a set of clips
that applies to each hit-testing primitive.
The advantages are:
- Most importantly, hit-testing doesn't rely on the existing
clip-chain code, allowing changes and optimizations to that. - No need to read all of the clips for the entire scene, only
clips that are referenced by hit-test items are read (which
is typically a small fraction). - No need to read the clips each time the hit-tester is rebuilt,
during frame building. Instead, the clips are read only once
during each scene build. - Clips are stored in the hit testing scene, and thus shared
among all hit-testers created for a given scene.
Updated•5 years ago
|
Assignee: nobody → gwatson
Status: NEW → ASSIGNED
Pushed by gwatson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/11c0792e3eac
Build hit-testing structure from clip templates. r=nical
Comment 3•5 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox83:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•