Use cluster scrollbar flags to select picture cache tile size.
Categories
(Core :: Graphics: WebRender, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox74 | --- | fixed |
People
(Reporter: gw, Assigned: bpeers)
References
Details
Attachments
(1 file)
The picture cache code selects an appropriate tile size to use by considering the size of the content rectangle [1].
We only ever want to create small sized tiles for real scrollbars.
When we decide to create a picture for a scrollbar, it's based on the presence of a tag in the primitive cluster flags [2].
Instead of basing this decision on size, we could propagate those cluster flags when creating the TileCacheInstance. Then, we could only select a scrollbar tile size if this picture has been tagged as a scrollbar.
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 1•6 years ago
|
||
This looks like the perfect excuse to get familiar with picture.rs tile caching :)
| Assignee | ||
Comment 2•6 years ago
|
||
| Assignee | ||
Comment 3•6 years ago
|
||
Comment 5•6 years ago
|
||
Backed out for wrench bustages.
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=279608990&repo=autoland&lineNumber=8703
Backout: https://hg.mozilla.org/integration/autoland/rev/d5f4a8f705e9a33ede1105b77e55bec874cf7f68
| Assignee | ||
Comment 6•6 years ago
|
||
Confirmed with [:gw] that failure is benign, so I created a new reference image for the failing test and re-landed the change with the image.
Comment 8•6 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 9•6 years ago
|
||
I'm asking for a backout; between the issue of scrollbar clusters not being on a slice by themselves, and now flickering black squares, I don't think I'll be able to resolve these fast enough.
Comment 10•6 years ago
|
||
Backed out for causing bugs 1601865, 1601924, 1602500
Backout: https://hg.mozilla.org/integration/autoland/rev/f47661feecce9b319848f7d77202cfa67334be8f
Comment 12•6 years ago
|
||
Comment 13•6 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:bpeers, could you have a look please?
For more information, please visit auto_nag documentation.
| Assignee | ||
Comment 14•6 years ago
|
||
It landed, but was backed out, not sure what the bot wants me to do. Clearing NMI.
| Assignee | ||
Comment 15•5 years ago
•
|
||
Compilation push before re-landing:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=1e396f243d7a11cea5b1667ec5662d5dbf7c9ef1
Performance Talos:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=1a0a13935ca34592d369613c4e63a46d00ff14d4
Comment 16•5 years ago
|
||
Comment 17•5 years ago
|
||
| bugherder | ||
Description
•