[Webkit-unassigned] [Bug 245513] TextureMapperGL: edge distance anti-aliasing should use 2D distance to calculate v_antialias varing variable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 21 21:04:41 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=245513

--- Comment #2 from Fujii Hironori <Hironori.Fujii at sony.com> ---
Comment on attachment 462528
  --> https://bugs.webkit.org/attachment.cgi?id=462528
WIP patch

View in context: https://bugs.webkit.org/attachment.cgi?id=462528&action=review

> Source/WebCore/platform/graphics/texmap/TextureMapperShaderProgram.cpp:113
> +            float viewportSpaceDistance = distance(centerInViewportCoordinates.xy / centerInViewportCoordinates.w, controlPointInViewportCoordinates.xy / controlPointInViewportCoordinates.w);

We should avoid divisions. bug#245265 is going to solve this bug by calculating the denominator separately.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220922/33735b76/attachment.htm>


More information about the webkit-unassigned mailing list