Bug 267098 - [WebGPU] Calling GPUTexture.destroy() on the result of GPUCanvasContext.getCurrentTexture() is problematic
Summary: [WebGPU] Calling GPUTexture.destroy() on the result of GPUCanvasContext.getCu...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGPU (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-01-04 14:35 PST by Mike Wyrzykowski
Modified: 2024-01-05 15:34 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Wyrzykowski 2024-01-04 14:35:12 PST
[WebGPU] Calling GPUTexture.destroy() on the result of GPUCanvasContext.getCurrentTexture() is problematic, most likely because we return a texture with the same IOSurface backing store each frame
Comment 1 Radar WebKit Bug Importer 2024-01-04 14:35:53 PST
<rdar://problem/120494910>
Comment 2 Mike Wyrzykowski 2024-01-05 14:23:51 PST
Pull request: https://github.com/WebKit/WebKit/pull/22448
Comment 3 EWS 2024-01-05 15:34:32 PST
Committed 272711@main (b6b15a92672c): <https://commits.webkit.org/272711@main>

Reviewed commits have been landed. Closing PR #22448 and removing active labels.