Closed
Bug 1519760
Opened 6 years ago
Closed 6 years ago
Lazily initialize D2D DrawTargets
Categories
(Core :: Graphics, enhancement, P3)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla66
Tracking | Status | |
---|---|---|
firefox66 | --- | fixed |
People
(Reporter: bas.schouten, Assigned: bas.schouten)
References
Details
Attachments
(1 file)
We should only lazily initialize D2D DrawTargets, and keep a DeviceContext around for creation of textures and gradient stops. This should help a lot with lock contention. On slower machines we are seeing lock contention show up considerably upon DeviceContext creation, see also: https://perfht.ml/2FsohuS
Assignee | ||
Comment 1•6 years ago
|
||
Depends on D16431
Updated•6 years ago
|
Priority: -- → P3
Pushed by bschouten@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/42e89a539b98
Attempt to initialize D2D off the main thread as much as possible. r=rhunt
Comment 3•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox66:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in
before you can comment on or make changes to this bug.
Description
•