Closed Bug 1406047 Opened 7 years ago Closed 7 years ago

Push a composite if needed in EndEmptyTransaction

Categories

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

Other Branch
enhancement

Tracking

()

RESOLVED FIXED
mozilla58
Tracking Status
firefox57 --- unaffected
firefox58 --- unaffected

People

(Reporter: kats, Assigned: kats)

References

Details

(Whiteboard: [wr-mvp] [gfx-noted])

Attachments

(1 file)

EndEmptyTransaction takes EndTransactionFlags, and if those flags don't contain END_NO_COMPOSITE, we should request a composite. This is important because it can trigger a DidComposite call which things might be waiting for.
Status: NEW → ASSIGNED
Priority: P3 → P1
Whiteboard: [gfx-noted][wr-mvp][triage] → [wr-mvp] [gfx-noted]
Comment on attachment 8915623 [details]
Bug 1406047 - Schedule a composite in empty transactions that require it.

https://reviewboard.mozilla.org/r/186812/#review191920
Attachment #8915623 - Flags: review?(jmuizelaar) → review+
Pushed by kgupta@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3b60f5875a26
Schedule a composite in empty transactions that require it. r=jrmuizel
attachment 8915623 [details] seems not trigger the DidComposite for the EndEmptyTransaction. WebRenderLayerManager::ScheduleComposite() just triggers re-composite.

WebRenderLayerManager needs to send TransactionId to WebRenderBridgeParent. The Id could be got by "mTransactionIdAllocator->GetTransactionId(/*aThrottle*/ true);".
https://hg.mozilla.org/mozilla-central/rev/3b60f5875a26
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: