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)
Core
Graphics: Layers
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
Assignee | ||
Comment 1•9 years ago
|
||
The assertion in TextureClient::BorrowDrawTarget():
https://hg.mozilla.org/mozilla-central/annotate/a6786bf8d71d4cf40c3d40e06d8e3c9866863475/gfx/layers/client/TextureClient.cpp#l836
Comment 2•9 years ago
|
||
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)
Comment 3•9 years ago
|
||
(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)
Updated•3 years ago
|
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.
Description
•