fune/gfx
Lee Salzman 6accc1036c Bug 1873075 - Delay UnregisterTextureOwner until all potential UseRemoteTextures are received. r=aosmond
UnregisterTextureOwner, if called before any use of UseRemoteTexture, can cause UseRemoteTexture to wait
for the texture owner to be created, since the texture owner does not exist, and there is no evidence it
was previously unregistered.

This patch attempts to address the issue by delaying the actual UnregisterTextureOwner until all such
UseRemoteTexture instances are processed. This is accomplished by noting that UseRemoteTexture ops come
in via transactions from a CompositableForwarder and so all are associated with a forwarder transaction
with a FwdTransactionId. RecordedTextureData on destruction reports the last FwdTransactionId associated
with its final UseRemoteTexture before it attempts to call UnregisterTextureOwner. If RemoteTextureMap
has not been notified of a given FwdTransactionId yet, then the UnregisterTextureOwner call will be
deferred until it has seen this FwdTransactionId.

This adds a RemoteTextureTxnScheduler to track the issuing of dependencies and waiting for FwdTransactionIds.

This patch also cleans up the issuing of FwdTransactionIds themselves to be associated with a given
top-level protocol so that all sub-protocols have transaction numbers that can be safely compared amongst
each other. This makes dependency expiration more robust since any advancement of the transaction number
from any source can help retire expired dependencies.

Differential Revision: https://phabricator.services.mozilla.com/D197895
2024-01-09 11:53:14 +00:00
..
2d Bug 1871613 - Ensure CanvasDrawEventRecorder releases external surface dependencies. r=gfx-reviewers,lsalzman 2023-12-23 01:34:31 +00:00
angle
cairo Bug 1870243 - Cherry-pick https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/256 to correctly reset the current operator when several added highlights in a pdf are printed r=jfkthame 2024-01-03 16:09:28 +00:00
config Bug 1870277 - Include failure message when a feature is marked as failed. r=aosmond 2023-12-15 15:07:17 +00:00
docs Bug 1519636 - Remove nbsp in the doc r=firefox-source-docs-reviewers,geckoview-reviewers,ahal,m_kato 2023-12-03 11:01:53 +00:00
gl Bug 1655101 - Allow webgl.texImage gpu-blit for RGB8 if supported. r=gfx-reviewers,aosmond 2024-01-04 18:38:52 +00:00
graphite2
harfbuzz Bug 1864285 - Update harfbuzz to 8.3.0 r=jfkthame 2023-11-22 16:01:03 +00:00
ipc Backed out changeset 9c4ce17422de (bug 1867360) for causing crashes on PRemoteQuotaObjectChild. CLOSED TREE 2024-01-08 23:18:19 +02:00
layers Bug 1873075 - Delay UnregisterTextureOwner until all potential UseRemoteTextures are received. r=aosmond 2024-01-09 11:53:14 +00:00
ots
qcms Bug 1873525 - qcms: Add back COPYING, add CONTRIBUTING.md and bump the version. r=gfx-reviewers,aosmond,supply-chain-reviewers 2024-01-09 04:04:09 +00:00
skia Bug 1867459 - Replace CPU_ARCH with TARGET_CPU. r=firefox-build-system-reviewers,sergesanspaille 2023-12-08 10:43:59 +00:00
src Bug 1872545 - Hoist color-font palette cache out of TextRunDrawParams to the nsPresContext or CanvasRenderingContext2D, for greater effectiveness. r=gfx-reviewers,lsalzman 2024-01-04 11:07:44 +00:00
tests Bug 1867459 - Replace CPU_ARCH with TARGET_CPU. r=firefox-build-system-reviewers,sergesanspaille 2023-12-08 10:43:59 +00:00
thebes Bug 1873077 - Keep GPU process by default in safe mode. r=gfx-reviewers,jrmuizel 2024-01-04 20:05:38 +00:00
vr Backed out changeset 9c4ce17422de (bug 1867360) for causing crashes on PRemoteQuotaObjectChild. CLOSED TREE 2024-01-08 23:18:19 +02:00
webrender_bindings Bug 1868927 - Remove RemoteTextureHostWrapper's async mode r=gfx-reviewers,lsalzman 2024-01-07 22:47:05 +00:00
wgpu_bindings Bug 1873164 - Update wgpu to revision 4b82121501a61c2c2e11cb472d70ba54af3aa12d. r=webgpu-reviewers,supply-chain-reviewers,ErichDonGubler 2024-01-05 21:57:42 +00:00
wr Bug 1604280 - Implement an APZ minimap for WebRender. r=dlrobertson,gw 2023-12-21 19:02:32 +00:00
ycbcr Bug 1867459 - Replace CPU_ARCH with TARGET_CPU. r=firefox-build-system-reviewers,sergesanspaille 2023-12-08 10:43:59 +00:00
metrics.yaml Bug 1870021 - Add some GPU process telemetry probes. r=jrmuizel 2023-12-21 11:43:39 +00:00
moz.build