Open
Bug 1458302
Opened 6 years ago
Updated 2 years ago
Use nsDisplayItem::IsReused as a preliminary check to figure out if nsDisplayTransform's transform has changed
Categories
(Core :: Graphics: WebRender, enhancement, P3)
Core
Graphics: WebRender
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox61 | --- | disabled |
People
(Reporter: mattwoodrow, Unassigned)
References
(Blocks 1 open bug)
Details
If IsReused is false, then the item is the same one as was used last time (retained by retained-dl), and the transform must not have changed. WR is currently comparing transforms, so we could use this to reduce how often we have to do the full matrix compare.
Comment 1•6 years ago
|
||
The transform comparison happens at https://searchfox.org/mozilla-central/rev/8837610b6c999451435695e800f38d4acbc0a644/gfx/layers/wr/WebRenderCommandBuilder.cpp#268
Updated•6 years ago
|
Updated•5 years ago
|
Blocks: wr-blob-perf
Comment 3•4 years ago
|
||
It looks like the code that does the full matrix compare doesn't exist anymore, (and by the look of it the new code is https://searchfox.org/mozilla-central/rev/6cc48251bb97600fdf11a5b4c5f621bfc8606d55/gfx/layers/wr/WebRenderCommandBuilder.cpp#263 ).
There is still https://searchfox.org/mozilla-central/rev/6cc48251bb97600fdf11a5b4c5f621bfc8606d55/gfx/layers/wr/WebRenderCommandBuilder.cpp#484 which already existed when this bug was filed.
Should we close this bug?
Flags: needinfo?(matt.woodrow)
Reporter | ||
Comment 4•4 years ago
|
||
It looks like the code to skip invalidation checks if we have a retained display item are disabled - https://searchfox.org/mozilla-central/rev/6cc48251bb97600fdf11a5b4c5f621bfc8606d55/gfx/layers/wr/WebRenderCommandBuilder.cpp#383
Flags: needinfo?(matt.woodrow)
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•