Bug 1863474 Comment 2 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

From the change to wgpu-core of [D193619](https://phabricator.services.mozilla.com/D193619),
- https://phabricator.services.mozilla.com/differential/changeset/?ref=7121319
- https://phabricator.services.mozilla.com/differential/changeset/?ref=7121320
- https://phabricator.services.mozilla.com/differential/changeset/?ref=7121321
- https://phabricator.services.mozilla.com/differential/changeset/?ref=7121322

Change to wgpu might be necessary for handling ID3D11Fence and ID3D12Fence like the followings.

* wgpu-core
  + Add a way to get last_submit_index for Texture of texture_id
  + Add a way to get wgpu::Device.fence
* wgpu-hal
  + Add a way to get d3d12::Fence from wgpu_hal::dx12::Texture
  + Add a way to create d3d12::Fence with d3d12_ty::D3D12_FENCE_FLAG_SHARED
      - The Fence is used as wgpu::Device<api::Dx12>.fence
From the change to wgpu-core of [D193619](https://phabricator.services.mozilla.com/D193619),
- https://phabricator.services.mozilla.com/differential/changeset/?ref=7121319
- https://phabricator.services.mozilla.com/differential/changeset/?ref=7121320
- https://phabricator.services.mozilla.com/differential/changeset/?ref=7121321
- https://phabricator.services.mozilla.com/differential/changeset/?ref=7121322

Change to wgpu might be necessary for handling ID3D11Fence and ID3D12Fence like the followings.

* wgpu-core
  + Add a way to get last_submit_index for Texture of texture_id
  + Add a way to get wgpu::Device.fence
* wgpu-hal
  + Add a way to get d3d12::Fence from wgpu_hal::dx12::Texture
  + Add a way to create d3d12::Fence with d3d12_ty::D3D12_FENCE_FLAG_SHARED for wgpu::Device<api::Dx12>.fence
From the change to wgpu-core of [D193619](https://phabricator.services.mozilla.com/D193619),
- https://phabricator.services.mozilla.com/differential/changeset/?ref=7121319
- https://phabricator.services.mozilla.com/differential/changeset/?ref=7121320
- https://phabricator.services.mozilla.com/differential/changeset/?ref=7121321
- https://phabricator.services.mozilla.com/differential/changeset/?ref=7121322

Change to wgpu might be necessary for handling ID3D11Fence and ID3D12Fence to do the followings.

* wgpu-core
  + Add a way to get last_submit_index for Texture of texture_id
  + Add a way to get wgpu::Device.fence
* wgpu-hal
  + Add a way to get d3d12::Fence from wgpu_hal::dx12::Texture
  + Add a way to create d3d12::Fence with d3d12_ty::D3D12_FENCE_FLAG_SHARED for wgpu::Device<api::Dx12>.fence
From the change to wgpu-core of [D193619](https://phabricator.services.mozilla.com/D193619),
- https://phabricator.services.mozilla.com/differential/changeset/?ref=7121319
- https://phabricator.services.mozilla.com/differential/changeset/?ref=7121320
- https://phabricator.services.mozilla.com/differential/changeset/?ref=7121321
- https://phabricator.services.mozilla.com/differential/changeset/?ref=7121322

Change to wgpu might be necessary for handling ID3D11Fence and ID3D12Fence to do the followings.

* wgpu-core
  + A way to get last_submit_index for Texture of texture_id
  + A way to get wgpu::Device.fence
* wgpu-hal
  + A way to get d3d12::Fence from wgpu_hal::dx12::Texture
  + A way to create d3d12::Fence with d3d12_ty::D3D12_FENCE_FLAG_SHARED for wgpu::Device<api::Dx12>.fence
From the change to wgpu-core of [D193619](https://phabricator.services.mozilla.com/D193619),
- https://phabricator.services.mozilla.com/differential/changeset/?ref=7121319
- https://phabricator.services.mozilla.com/differential/changeset/?ref=7121320
- https://phabricator.services.mozilla.com/differential/changeset/?ref=7121321
- https://phabricator.services.mozilla.com/differential/changeset/?ref=7121322

Change to wgpu might be necessary to do the followings.

* wgpu-core
  + A way to get last_submit_index for Texture of texture_id
  + A way to get wgpu::Device.fence
* wgpu-hal
  + A way to get d3d12::Fence from wgpu_hal::dx12::Texture
  + A way to create d3d12::Fence with d3d12_ty::D3D12_FENCE_FLAG_SHARED for wgpu::Device<api::Dx12>.fence

Back to Bug 1863474 Comment 2