Simplify test usage of IAPZHitTester
Categories
(Core :: Panning and Zooming, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox95 | --- | fixed |
People
(Reporter: botond, Assigned: botond)
References
Details
Attachments
(9 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
In bug 1729118, I extracted an IAPZHitTester interface to encapsulate the implementation of the hit-testing used by APZ, with production code using a WebRender implementation, and APZ gtests using a test-only implementation.
Currently, the test-only implementation, InternalHitTester, is a "full-featured" hit test implementation that walks the hit testing tree; it's the same code that was used in production with Layers but factored out and moved into test code.
The only gtests that really need such a full-featured implementation are the ones in TestHitTesting.cpp, which will be ported to mochitest (where they can exercise the production WebRender hit-test codepath) in bug 1730606.
Once TestHitTesting.cpp is gone, the remaining gtests can be modified to use something simpler and more purpose-suited to the tests, and the "full-featured" InternalHitTester implementation can be removed.
| Assignee | ||
Comment 1•4 years ago
|
||
| Assignee | ||
Comment 2•4 years ago
|
||
Depends on D129752
| Assignee | ||
Comment 3•4 years ago
|
||
Depends on D129753
| Assignee | ||
Comment 4•4 years ago
|
||
Depends on D129754
| Assignee | ||
Comment 5•4 years ago
|
||
Depends on D129755
| Assignee | ||
Comment 6•4 years ago
|
||
Depends on D129756
| Assignee | ||
Comment 7•4 years ago
|
||
Depends on D129757
| Assignee | ||
Comment 8•4 years ago
|
||
These tests do not actually perform hit testing.
Depends on D129758
| Assignee | ||
Comment 9•4 years ago
|
||
Depends on D129759
Comment 10•4 years ago
|
||
Comment 11•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/455732aeb3ec
https://hg.mozilla.org/mozilla-central/rev/e03f11e2b19a
https://hg.mozilla.org/mozilla-central/rev/fdfcadbb16da
https://hg.mozilla.org/mozilla-central/rev/5924e09c47c9
https://hg.mozilla.org/mozilla-central/rev/a635de37c836
https://hg.mozilla.org/mozilla-central/rev/35d5bf32530f
https://hg.mozilla.org/mozilla-central/rev/08e3116697d7
https://hg.mozilla.org/mozilla-central/rev/0dec63bec4c1
https://hg.mozilla.org/mozilla-central/rev/5e4df731f4d1
Description
•