Prevent main-thread access to DrawTargets while async painting

ASSIGNED
Assigned to

Status

()

Core
Graphics: Layers
P3
normal
ASSIGNED
6 months ago
4 months ago

People

(Reporter: dvander, Assigned: dvander)

Tracking

40 Branch
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox57 unaffected)

Details

(Whiteboard: [gfx-noted])

Attachments

(1 attachment)

(Assignee)

Description

6 months ago
Created attachment 8892750 [details] [diff] [review]
dt-check.patch

The attached patch is not intended for check-in - it's intended for a try run once the dependent bugs land. It works by having the paint thread mark when DrawTargets are in use, and asserting in every DrawTarget method that the correct thread is accessing it.
Priority: -- → P3
Whiteboard: [gfx-noted]
status-firefox57: --- → unaffected
You need to log in before you can comment on or make changes to this bug.