Skip to content

Commit

Permalink
Bug 1869931 - Remove RemoteTexture push callback r=gfx-reviewers,lsal…
Browse files Browse the repository at this point in the history
…zman

WebGPU rendering needs to be synchronized to dom like WebGL and canvas 2D. But the current rendering is not synchronized to dom.

Differential Revision: https://phabricator.services.mozilla.com/D197326

UltraBlame original commit: 0c3c8e5c49630b0c95993ab4c60542ef99550ac9
  • Loading branch information
marco-c committed Jan 25, 2024
1 parent 918d047 commit 6e6b3de
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 1,138 deletions.
4 changes: 2 additions & 2 deletions dom/webgpu/CanvasContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ isSome
renderer
-
>
GetRemoteTextureOwnerIdOfPushCallback
GetRemoteTextureOwnerId
(
)
=
Expand Down Expand Up @@ -1238,7 +1238,7 @@ false
;
data
.
mRemoteTextureOwnerIdOfPushCallback
mRemoteTextureOwnerId
=
mRemoteTextureOwnerId
;
Expand Down
6 changes: 3 additions & 3 deletions gfx/layers/CanvasRenderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ Maybe
<
RemoteTextureOwnerId
>
mRemoteTextureOwnerIdOfPushCallback
mRemoteTextureOwnerId
=
Nothing
(
Expand Down Expand Up @@ -407,14 +407,14 @@ Maybe
<
RemoteTextureOwnerId
>
GetRemoteTextureOwnerIdOfPushCallback
GetRemoteTextureOwnerId
(
)
{
return
mData
.
mRemoteTextureOwnerIdOfPushCallback
mRemoteTextureOwnerId
;
}
void
Expand Down
Loading

0 comments on commit 6e6b3de

Please sign in to comment.