| Summary: | TextureMapperGL: edge distance anti-aliasing should use 2D distance to calculate v_antialias varing variable | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Fujii Hironori <Hironori.Fujii> | ||||||
| Component: | Platform | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | RESOLVED DUPLICATE | ||||||||
| Severity: | Normal | CC: | cmarcelo, ews-watchlist, kondapallykalyan, luiz | ||||||
| Priority: | P2 | ||||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Fujii Hironori
2022-09-21 21:01:16 PDT
Created attachment 462528 [details]
WIP patch
Comment on attachment 462528 [details] 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. *** This bug has been marked as a duplicate of bug 245265 *** |