Closed Bug 1386517 Opened 7 years ago Closed 7 years ago

Don't flush async paints on the main thread

Categories

(Core :: Graphics: Layers, defect)

40 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: dvander, Assigned: dvander)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Currently TextureClient::Unlock does some operations on DrawTargets that are definitely not safe during async painting. It calls Flush, and detaches all snapshots. OMTP already handles the former, maybe it should just assert that there are no snapshots for the latter.
Attached patch fixSplinter Review
Attachment #8892748 - Flags: review?(matt.woodrow)
Attachment #8892748 - Flags: review?(matt.woodrow) → review+
Pushed by danderson@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4047292ad65c
Don't flush async paints on the main thread. (bug 1386517, r=mattwoodrow)
https://hg.mozilla.org/mozilla-central/rev/4047292ad65c
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: