[webgpu] Refactors CommandBufferClient interface.
- Creates a separate CommandBufferClientMessageFilter object when
the callback task runner is different than the sequence that creates
the CommandBufferProxyImpl. This is important to ensure that we
avoid races on teardown where the CommandBufferProxyImpl may be gone
and the other sequence may still have pending tasks to complete.
- This change reflects how the GpuChannel and it's corresponding
GpuChannelMessageFilter accomplishes the same thing.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
sunnyps@, this is more in your wheelhouse so I will defer to you as primary reviewer here. thanks
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
I just remembered that Sunny is out and won't be able to review this. I will take a look asap but not today (GRAD).
On second thought I am probably not a very useful reviewer for this code. Seems good to me though.
raw_ptr<CommandBufferProxyImpl> proxy_ GUARDED_BY(proxy_lock_) = nullptr;This macro would be helpful in Dawn...
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Bumping and adding Daniel since he had some context on the previous iteration/changes that Sunny made for this.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |