Fix IDXGISwapChain3::SetColorSpace1() error handling in DCSurfaceVideo::CallVideoProcessorBlt()
Categories
(Core :: Graphics, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox104 | --- | fixed |
People
(Reporter: sotaro, Assigned: sotaro)
References
Details
Attachments
(1 file)
IDXGISwapChain3::SetColorSpace1() failure handling is wrong.
Chromium does like the following.
https://source.chromium.org/chromium/chromium/src/+/main:ui/gl/swap_chain_presenter.cc;l=1375?q=SetColorSpace1&ss=chromium
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
•
|
||
(In reply to Sotaro Ikeda [:sotaro away July/11 - July/19] from comment #0)
IDXGISwapChain3::SetColorSpace1() failure handling is wrong.
Chromium does like the following.
https://source.chromium.org/chromium/chromium/src/+/main:ui/gl/swap_chain_presenter.cc;l=1375?q=SetColorSpace1&ss=chromium
Current implementation is not wrong. chromium does nothing on the error. Somehow, I misread "SUCCEEDED" as "FAILED" :(
On Firefox, it might be better to disable video overlay with the SetColorSpace1() error.
Updated•2 years ago
|
Assignee | ||
Comment 3•2 years ago
|
||
Calling NotifyWebRenderError(wr::WebRenderError::VIDEO_OVERLAY) disables video overly in GPUProcessManager::NotifyWebRenderError()
Comment 5•2 years ago
|
||
bugherder |
Description
•