Closed Bug 1386849 Opened 4 years ago Closed 4 years ago

Always force CompositorBridgeChild::NotifyFinishedAsyncPaint

Categories

(Core :: Graphics, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: mchang, Assigned: mchang)

References

Details

Attachments

(1 file)

Otherwise we get into an idle state where the main thread sleeps when flushing async paints and the paint thread failed for some reason, and so didn't notify the compositor bridge child that async paints aren't happening anymore. I wrapped this around an RAII object just to make sure.

Also refactored a bit to include the DrawTargetCapture in the CapturedPaintState
Attachment #8893124 - Flags: review?(dvander)
Attachment #8893124 - Flags: review?(dvander) → review+
Pushed by mchang@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a72203a86ed1
Always force CompositorBridgeChild::NotifyFinishedAsyncPaint. r=dvander
https://hg.mozilla.org/mozilla-central/rev/a72203a86ed1
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
https://hg.mozilla.org/projects/date/rev/a72203a86ed1a199aa7d40471e2fba72995605a5
Bug 1386849 - Always force CompositorBridgeChild::NotifyFinishedAsyncPaint. r=dvander
You need to log in before you can comment on or make changes to this bug.