Summary: | [GTK][WPE] Scale up operations performed by the GPU have bad quality results | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Miguel Gomez <magomez> | ||||
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | NEW --- | ||||||
Severity: | Normal | CC: | bugs-noreply, Hironori.Fujii, zimmermann | ||||
Priority: | P2 | ||||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Miguel Gomez
2022-07-07 05:39:55 PDT
Created attachment 460733 [details]
WiP patch
Bug 96940 added test cases for Chromium. compositing/text-on-scaled-layer.html compositing/text-on-scaled-surface.html Can your patch unmark them? There is a bug ticket for Mac port. Bug 27684 – Composited elements appear pixelated when scaled up using transform Comment on attachment 460733 [details] WiP patch View in context: https://bugs.webkit.org/attachment.cgi?id=460733&action=review > Source/WebCore/platform/graphics/nicosia/NicosiaAnimation.cpp:403 > + double scale = 1; This is WebKit style > Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:1371 > + float parentScale = 1.0; This is not WebKit style. https://webkit.org/code-style-guidelines/#float-suffixes > Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h:249 > + float m_animationOrTransformScaleFactor { 1.0 }; Ditto. As discussed on Matrix, https://bugs.webkit.org/show_bug.cgi?id=242833 contains a general fix, however not taking animations/transitions (max scale can be figured out!) into account. Ideally we'd combine these two patches, and introduce a setting if a port enables this or not (or a CSS prop to toggle the old vs. new behavior). Needs discussion with Apple folks! |