Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WebGPU] GPUCanvasContext does not respect Document::deviceScaleFactor()
https://bugs.webkit.org/show_bug.cgi?id=249605 <radar://103528514> Reviewed by Dean Jackson. Scale surface width by the device scale factor. * Source/WebCore/html/canvas/GPUCanvasContext.cpp: (WebCore::getCanvasSizeAsIntSize): * Websites/webkit.org/demos/webgpu/scripts/instanced-textured-cube.js: (async helloCube.frameUpdate): (async helloCube): Add a test to ensure this functionality works, also add MSAA support to this sample which removes all jaggies as the cubes are rotating. Canonical link: https://commits.webkit.org/258153@main
- Loading branch information
1 parent
8aa9e80
commit f8f6a06
Showing
2 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters