зеркало из https://github.com/mozilla/gecko-dev.git
6c701a41a3
mSyncObject->Synchronize() was necessary to handle a case that D3D Texture was created on main thread of content process and the Texture does not have a keyed mutex. But with WebRender, the situation does not happen often. Further the Synchronize() is sometimes very slow. Therefore it is better to remove it from RenderCompositorANGLE::BeginFrame(). Canvas 2d does not use keyed mutex yet. Then the change adds keyed mutex usage for the canvas 2d. D3D11DXVA2Manager still uses the Synchronize(). In this case, the Synchronize() is manually called in D3D11DXVA2Manager::CopyToImage(). Then RenderCompositorANGLE still needs to create SyncObjectHost. Differential Revision: https://phabricator.services.mozilla.com/D53168 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
mlgshaders | ||
BlendShaderConstants.h | ||
BlendingHelpers.hlslh | ||
CompositorD3D11.cpp | ||
CompositorD3D11.h | ||
CompositorD3D11.hlsl | ||
DeviceAttachmentsD3D11.cpp | ||
DeviceAttachmentsD3D11.h | ||
DiagnosticsD3D11.cpp | ||
DiagnosticsD3D11.h | ||
HelpersD3D11.h | ||
MLGDeviceD3D11.cpp | ||
MLGDeviceD3D11.h | ||
ReadbackManagerD3D11.cpp | ||
ReadbackManagerD3D11.h | ||
ShaderDefinitionsD3D11.h | ||
TextureD3D11.cpp | ||
TextureD3D11.h | ||
genshaders.py | ||
shaders.manifest |