Changeset 271388 in webkit
- Timestamp:
- Jan 11, 2021 6:52:17 PM (18 months ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/compositing/contents-scale/hidpi-tests (added)
-
LayoutTests/compositing/contents-scale/hidpi-tests/rasterization-scale-expected.html (added)
-
LayoutTests/compositing/contents-scale/hidpi-tests/rasterization-scale.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r271386 r271388 1 2021-01-11 Simon Fraser <simon.fraser@apple.com> 2 3 Safari 14 on 2x display renders NYS DMV page as blurry 4 https://bugs.webkit.org/show_bug.cgi?id=220528 5 <rdar://problem/71440246> 6 7 Reviewed by Tim Horton. 8 9 * compositing/contents-scale/hidpi-tests/rasterization-scale-expected.html: Added. 10 * compositing/contents-scale/hidpi-tests/rasterization-scale.html: Added. 11 1 12 2021-01-11 Megan Gardner <megan_gardner@apple.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r271387 r271388 1 2021-01-11 Simon Fraser <simon.fraser@apple.com> 2 3 Safari 14 on 2x display renders NYS DMV page as blurry 4 https://bugs.webkit.org/show_bug.cgi?id=220528 5 <rdar://problem/71440246> 6 7 Reviewed by Tim Horton. 8 9 Certain combinations of nested perspective and transform cause Core Animation to 10 rasterize at unit scale, which makes layers blurry on Retina displays. 11 12 Enable code that was already used on iOS to set layer rasterization scale. 13 14 Test: compositing/contents-scale/hidpi-tests/rasterization-scale.html 15 16 * platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm: 17 (WebCore::PlatformCALayerCocoa::setContentsScale): 18 1 19 2021-01-11 Peng Liu <peng.liu6@apple.com> 2 20 -
trunk/Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm
r269616 r271388 916 916 BEGIN_BLOCK_OBJC_EXCEPTIONS 917 917 [m_layer setContentsScale:value]; 918 #if PLATFORM(IOS_FAMILY)919 918 [m_layer setRasterizationScale:value]; 920 #endif921 919 END_BLOCK_OBJC_EXCEPTIONS 922 920 }
Note: See TracChangeset
for help on using the changeset viewer.