• Austin Eng's avatar
    Fix leak of Dawn SharedImage WGPUTexture handles · 50ade28c
    Austin Eng authored
    This makes previously broken ref tests on Win crash the
    GPU process instead, though the tests still render to the canvas
    correctly when run.
    
    This same crash already exists on Linux before this patch, but the
    crash isn't reported by the harness.
    
    This is likely a pre-existing issue in Chrome
    where Dawn SharedImages don't work with the screenshots. In
    general, canvas readback for WebGPU is currently unimplemented.
    
    Bug: 976495, 1083478
    Change-Id: I345151bd6ce38fc00e52c1efd12bddb8a425e283
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2438893
    Commit-Queue: Austin Eng <enga@chromium.org>
    Reviewed-by: default avatarCorentin Wallez <cwallez@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#813870}
    50ade28c
shared_image_representation_d3d.cc 5.07 KB