Closed Bug 1556340 Opened 5 years ago Closed 5 years ago

Make D3D11TextureData and DXGIYCbCrTextureData alive during host side usage with WebRender

Categories

(Core :: Graphics: WebRender, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

Details

Attachments

(1 file)

By Bug 1555544 , it became clear that D3D11TextureData and DXGIYCbCrTextureData should not be deleted before calling RenderDXGITextureHostOGL::EnsureLockable() / RenderDXGITextureHostOGL::EnsureLockable().

With WebRender, the EnsureLockable()s are called on RenderThread asynchronously. Then for achieving the above, it is simpler just to keep D3D11TextureData and DXGIYCbCrTextureData alive during host side usage.

There is already a mechanism to do it. By using NotifyNotUsed, it could be done.

Assignee: nobody → sotaro.ikeda.g
Blocks: 1557165
Pushed by sikeda@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bbab037b0f9f Make D3D11TextureData and DXGIYCbCrTextureData alive during host side usage with WebRender r=nical
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
Regressions: 1558100
Regressions: 1558436
Regressions: 1657262
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: