Closed Bug 1201777 Opened 9 years ago Closed 3 years ago

Make TextureClient::BorrowDrawTarget() work for off-main thread painting

Categories

(Core :: Graphics: Layers, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: jerry, Assigned: jerry)

References

Details

(Keywords: feature)

As https://bugzilla.mozilla.org/show_bug.cgi?id=1176363#c3 , TextureClient::BorrowDrawTarget() can only be called on the main thread because of threading problem. In [1], I will try to get the drawTarget at painting thread and hit the assertion. This bug try to handle the threading problem for BorrowDrawTarget(). [1] https://bugzilla.mozilla.org/attachment.cgi?id=8653877
Blocks: 1166173
Bas and I talked about this tonight. We should be able to have thread specific d2d devices to support this, Bas has a plan.
Flags: needinfo?(bas)
(In reply to Matt Woodrow (:mattwoodrow) from comment #2) > Bas and I talked about this tonight. > > We should be able to have thread specific d2d devices to support this, Bas > has a plan. Right, the plan involved some work though, it will need to be prioritized.
Flags: needinfo?(bas)
Blocks: 1256578
Keywords: feature
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.