Open
Bug 1680787
Opened 4 years ago
Updated 4 years ago
Stop creating a new D3D11 device for each video in D3D11DXVA2Manager
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
NEW
People
(Reporter: mstange, Unassigned)
References
Details
This is the second part of bug 1678684.
Profile: https://share.firefox.dev/3nOfmXT
This profile is from bug 1671498, scrolling on this vanityfair page.
I can see six separate calls to D3D11DXVA2Manager::Init
and D3D11DXVA2Manager::CanCreateDecoder
.
(In reply to Matt Woodrow (:mattwoodrow) from bug 1678684 comment #6)
Just to clarify, the D3D11DXVA2Manager is a per-video-decoder helper object, so it being initialized while scrolling isn't surprising.
The actual slow parts of that (creating a D3D11 device, and testing whether we can create a DXVA decoder) might not need to be done for each video any more
This bug is about doing "the actual slow parts of that" only once, globally, rather than once per video.
Severity: -- → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•