| Code-Review | +1 |
resource_provider->EndWriteAccess();(not in this CL): We can just remove EndWriteAccess / EnsureWriteAccess, it doesn't do anything useful here. It's only for this [DCHECK](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/platform/graphics/gpu/webgpu_recyclable_resource_provider.cc;drc=458a490c2544e4ea08bb9457d8fe8f5c65af07c4;l=456), which has questionable utility now that CSI tracks access.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
resource_provider->EndWriteAccess();(not in this CL): We can just remove EndWriteAccess / EnsureWriteAccess, it doesn't do anything useful here. It's only for this [DCHECK](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/platform/graphics/gpu/webgpu_recyclable_resource_provider.cc;drc=458a490c2544e4ea08bb9457d8fe8f5c65af07c4;l=456), which has questionable utility now that CSI tracks access.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
10 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
[Blink] Eliminate WebGpuMailboxTexture call of ProduceCanvasResource()
Effectively inlines the method body [1] at the callsite. Step toward
elimination of this method existing on WebGpuRecyclableResourceProvider.
Note that EndWriteAccess() is a no-op if the GPU context is lost [2].
Note also that CanvasResourceSharedImage::GetSharedImage() is guaranteed
to be non-null if the resource is non-null, as it is non-null on
construction [3] and is never subsequently modified [4].
[1] https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/platform/graphics/gpu/webgpu_recyclable_resource_provider.cc;l=548-561;drc=458a490c2544e4ea08bb9457d8fe8f5c65af07c4
[2] https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/platform/graphics/gpu/webgpu_recyclable_resource_provider.cc;l=307-309;drc=458a490c2544e4ea08bb9457d8fe8f5c65af07c4;bpv=1;bpt=1
[3] https://source.chromium.org/chromium/chromium/src/+/main:gpu/command_buffer/client/shared_image_pool.cc;l=31;drc=458a490c2544e4ea08bb9457d8fe8f5c65af07c4
[4] https://source.chromium.org/chromium/chromium/src/+/main:gpu/command_buffer/client/shared_image_pool.h;l=126;drc=458a490c2544e4ea08bb9457d8fe8f5c65af07c4;bpv=1;bpt=1
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |