Closed Bug 1708780 Opened 4 years ago Closed 3 years ago

Validation error on copying the WebGPU canvas contents out

Categories

(Core :: Graphics: WebGPU, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1754978

People

(Reporter: kvark, Unassigned)

References

Details

Copy error, caused by: copy of X 0..1606 would end up overrunning the bounds of the Destination texture of X size 300

Happens if the canvas is created with one size, then resized.

Severity: -- → S3

We may need a test case here. One problem I see is that the CanvasContext recreates the SwapChain, but it doesn't tell anything to the old swapchain. So the old swapchain thinks that it's still usable, and any operations from the acquired frames are going to be failing.

Andrew, is this fixed by the recent canvas resizing work?

Flags: needinfo?(aosmond)
Blocks: webgpu-in-nightly
No longer blocks: webgpu-mvp

If I understand this issue correctly, it was a race between the old different sized swap chain calling back into the content process for presentation. We don't have this problem any more because the content process delegates to the compositor process completely for presentation aside from the CompositableHandle that binds the two in the display list processing.

Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(aosmond)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.