-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GPU Process] [iOS] REGRESSION(r293570): Snapshot rendering is not sc…
…aled with the device scale factor https://bugs.webkit.org/show_bug.cgi?id=240100 rdar://92635752 Reviewed by Simon Fraser. The scaling factor is not set in the GraphicsContext of the ImageBufferShareableBitmapBackend. To fix this bug is to make snapshotFrameRectWithClip() handle the scaling outside the ImageBuffer creation. This is similar to what we do in GraphicsContext::createAlignedImageBuffer() where we scale the size and create the ImageBuffer with scaleFactor = 1. * page/FrameSnapshotting.cpp: (WebCore::snapshotFrameRectWithClip): Canonical link: https://commits.webkit.org/250298@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@293825 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
2 changed files
with
26 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