[webkit-changes] [WebKit/WebKit] 3862c3: hello-cube.html only draws to the upper left quart...
mwyrzykowski
noreply at github.com
Thu Feb 16 07:17:02 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3862c3abd921e36d305bb09d12ad0d1a1c840c15
https://github.com/WebKit/WebKit/commit/3862c3abd921e36d305bb09d12ad0d1a1c840c15
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
Date: 2023-02-16 (Thu, 16 Feb 2023)
Changed paths:
M Source/WebCore/html/canvas/GPUCanvasContextCocoa.cpp
M Websites/webkit.org/demos/webgpu/hello-triangle-msaa.html
M Websites/webkit.org/demos/webgpu/instanced-textured-cube.html
M Websites/webkit.org/demos/webgpu/scripts/hello-triangle-msaa.js
M Websites/webkit.org/demos/webgpu/scripts/instanced-textured-cube.js
Log Message:
-----------
hello-cube.html only draws to the upper left quarter of the screen
https://bugs.webkit.org/show_bug.cgi?id=252333
<radar://105506949>
Reviewed by Tadeu Zagallo.
Document.devicePixelRatio was being used incorrectly.
* Source/WebCore/html/canvas/GPUCanvasContextCocoa.cpp:
(WebCore::getCanvasWidth):
(WebCore::getCanvasHeight):
* Websites/webkit.org/demos/webgpu/scripts/hello-triangle-msaa.js:
(async helloTriangle):
* Websites/webkit.org/demos/webgpu/scripts/instanced-textured-cube.js:
* Websites/webkit.org/demos/webgpu/hello-triangle-msaa.html:
* Websites/webkit.org/demos/webgpu/instanced-textured-cube.html:
Limit width / height to 600
Canonical link: https://commits.webkit.org/260364@main
More information about the webkit-changes
mailing list