Open Bug 1901334 Opened 4 months ago Updated 3 months ago

The surface constructed by DCSurfaceHandle should always be rendered successfully

Categories

(Core :: Graphics: WebRender, defect)

defect

Tracking

()

People

(Reporter: alwu, Unassigned)

References

(Blocks 1 open bug)

Details

For MFCDM playback, the video would be rendered through the DirectComposition in a form of DCSurfaceHandle. This handle is generated by the media foundation media engine, and the application is not possible to access any data from that surface in order to keep video data secure.

In WR, there are some checks to determine if a surface can be promoted. In bug 1804134 and bug 1896948, we encountered situations where the surface was failed to be promoted due to some effects, eg. rounded corner, backdrop-filter. That raised an error [WARN webrender::renderer] Invalid ext-image. and not render the surface properly, causing black frames being displayed during the playback.

This is a very bad situation where we would like to avoid, and the only way to workaround this problem is to watch the video via PiP window, where the video can be displayed correctly.

See Also: → 1901693

The severity field is not set for this bug.
:gw, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(gwatson)
Severity: -- → S3
Flags: needinfo?(gwatson)
You need to log in before you can comment on or make changes to this bug.