Closed
Bug 1818685
Opened 2 years ago
Closed 2 years ago
Disable video overlay if mVideoSwapChain->Present() is very slow on Windows
Categories
(Core :: Graphics, enhancement)
Tracking
()
RESOLVED
FIXED
112 Branch
Tracking | Status | |
---|---|---|
firefox112 | --- | fixed |
People
(Reporter: sotaro, Assigned: sotaro)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
Video swap chain always use double buffering in DCSurfaceVideo::CreateVideoSwapChain() . It seems better to enable triple buffering.
Assignee | ||
Updated•2 years ago
|
Assignee: nobody → sotaro.ikeda.g
Assignee | ||
Updated•2 years ago
|
Blocks: video-perf
Assignee | ||
Comment 1•2 years ago
|
||
Comment 2•2 years ago
|
||
Can you go into more detail why?
Assignee | ||
Comment 3•2 years ago
•
|
||
(In reply to Kelsey Gilbert [:jgilbert] from comment #2)
Can you go into more detail why?
There is a case that wait happens at mVideoSwapChain->Present(0, 0);
See https://bugzilla.mozilla.org/show_bug.cgi?id=1792015#c27
I wonder if the wait might be related to a lot of tiles usage in DCLayerTree.
Assignee | ||
Comment 4•2 years ago
|
||
I reconsidered about it, it might be better to disable video overlay when the wait at present() is detected.
Assignee | ||
Updated•2 years ago
|
Summary: Use triple buffering for video swap chain of video overlay on Window → Disable video overlay if mVideoSwapChain->Present() is very slow on Windows
Updated•2 years ago
|
Attachment #9319615 -
Attachment is obsolete: true
Assignee | ||
Updated•2 years ago
|
OS: Unspecified → Windows
Assignee | ||
Comment 5•2 years ago
|
||
Pushed by sikeda.birchill@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c5b7cc9e8fca
Disable video overlay if mVideoSwapChain->Present() is very slow on Windows r=gfx-reviewers,lsalzman
Assignee | ||
Comment 7•2 years ago
•
|
||
By Bug 1793388, the wait was moved from RenderCompositorANGLE::WaitForGPU() to mVideoSwapChain->Present().
Comment 8•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox112:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
Updated•2 years ago
|
Updated•1 year ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•