зеркало из https://github.com/mozilla/gecko-dev.git
5e0eefe182
This patch ensures that we only update the external image resource for WebGPU when there has been an actual change for the resource. In order to guarantee this, we wait for the present to complete, and only then issue the update. WebRenderBridgeChild::SendResourceUpdates will also trigger a frame generation if any resources were changed, which means we don't need to trigger a paint on the frame itself anymore. Note that we still have a race condition when we write into the MemoryTextureHost while in PresentCallback, and the renderer thread may be accessing the pixel data to upload to the GPU. Differential Revision: https://phabricator.services.mozilla.com/D138349 |
||
---|---|---|
.. | ||
base | ||
build | ||
docs | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
painting | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |