Closed Bug 1416076 Opened 7 years ago Closed 7 years ago

19% of WebRenderLayerManager::EndTransaction during MotionMark is in nsDisplayItem::RecomputeVisibilty

Categories

(Core :: Graphics: WebRender, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox57 --- unaffected
firefox58 --- unaffected
firefox59 --- fixed

People

(Reporter: jrmuizel, Assigned: ethlin)

References

(Blocks 1 open bug)

Details

(Whiteboard: [wr-mvp])

Attachments

(1 file)

It seems like we could do something much simpler when we're using blob images.
Blocks: motionmark
Indeed, the RecomputeVisibilty has some region computations. For webrender, we should just call ComputeVisibility.
Assignee: nobody → ethlin
Please don't regress bug 1403920. I had changed this to RecomputeVisibility specifically to avoid that problem.
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #3)
> Please don't regress bug 1403920. I had changed this to RecomputeVisibility
> specifically to avoid that problem.

Oh..I should think another way.
Attachment #8927257 - Flags: review?(jmuizelaar)
Status: NEW → ASSIGNED
Whiteboard: [wr-mvp]
Attachment #8927257 - Flags: review?(bugmail) → review?(matt.woodrow)
Comment on attachment 8927257 [details]
Bug 1416076 - We should set visible rect to display item before computing visibility.

https://reviewboard.mozilla.org/r/198566/#review204330

Matt is probably a better reviewer for this visibility stuff.

::: commit-message-f944b:1
(Diff revision 2)
> +Bug 1416076 - We should set visibile rect to display item before computing visibility. r=kats

s/visibile/visible/
Comment on attachment 8927257 [details]
Bug 1416076 - We should set visible rect to display item before computing visibility.

https://reviewboard.mozilla.org/r/198566/#review204626
Attachment #8927257 - Flags: review?(matt.woodrow) → review+
https://treeherder.mozilla.org/#/jobs?repo=try&revision=05a626c515e50c0487b7013d05d3b94285fab7b7
Pushed by ethlin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b468a6f584f8
We should set visible rect to display item before computing visibility. r=mattwoodrow
https://hg.mozilla.org/mozilla-central/rev/b468a6f584f8
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: