Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: f8f6a06f6b9a583fdd82365d6a05b68e19b267aa https://github.com/WebKit/WebKit/commit/f8f6a06f6b9a583fdd82365d6a05b68e19b267aa Author: Mike Wyrzykowski <mwyrzykow...@apple.com> Date: 2022-12-20 (Tue, 20 Dec 2022)
Changed paths: M Source/WebCore/html/canvas/GPUCanvasContext.cpp M Websites/webkit.org/demos/webgpu/scripts/instanced-textured-cube.js Log Message: ----------- [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 _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes