-
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.
visionOS: Text jumps by subpixel increments when repainting
https://bugs.webkit.org/show_bug.cgi?id=261472 rdar://109372324 Reviewed by Mike Wyrzykowski, Richard Robinson and Dean Jackson. * Source/WebKit/Shared/RemoteLayerTree/CGDisplayListImageBufferBackend.h: * Source/WebKit/Shared/RemoteLayerTree/CGDisplayListImageBufferBackend.mm: (WebKit::GraphicsContextCGDisplayList::GraphicsContextCGDisplayList): (WebKit::CGDisplayListImageBufferBackend::context): * Source/WebKit/Shared/RemoteLayerTree/RemoteLayerBackingStore.h: * Source/WebKit/Shared/RemoteLayerTree/RemoteLayerBackingStore.mm: (WebKit::RemoteLayerBackingStore::paintContents): (WebKit::RemoteLayerBackingStore::drawInContext): (WebKit::RemoteLayerBackingStoreProperties::applyBackingStoreToLayer): Now that it is possible to specify the resolution at which a dynamic content scaling display list is recorded, plumb the backing store scale to that mechanism, and remove all of our workarounds from the days when it was only recorded at 1x. This fixes a bug where the integer rounding of the backing store size coupled with subpixel CTMs would make text quantization cause glyphs to land at different quantized positions between the 2x tiles and the 1x recorded display list. Canonical link: https://commits.webkit.org/268107@main
- Loading branch information
1 parent
e49ec88
commit 7eb6ed0
Showing
4 changed files
with
11 additions
and
38 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
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