Closed Bug 1683268 Opened 4 years ago Closed 4 years ago

sw-wr: Fix redundant ID3D11Device::OpenSharedResource() calls

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

RenderDXGIYCbCrTextureHost::EnsureD3D11Texture2D() always calls ID3D11Device::OpenSharedResource(). It seems redundant. When ID3D11Texture2Ds are already opened, we do not need to call the OpenSharedResource().

Assignee: nobody → sotaro.ikeda.g
Summary: Fix redundant ID3D11Device::OpenSharedResource() calls → sw-wr: Fix redundant ID3D11Device::OpenSharedResource() calls
Blocks: sw-wr

RenderCompositorD3D11SWGL::CompositorEndFrame() calls the EnsureD3D11Texture2D() for every external composite.

Pushed by sikeda.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6d0bc3237870 Fix redundant ID3D11Device::OpenSharedResource() calls r=nical
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: