| Summary: | TextureMapper: rendering issue of a 3D transformed element at infinity with a parent with opacity<1 | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Fujii Hironori <Hironori.Fujii> | ||||||||||||||||||||||
| Component: | Platform | Assignee: | Fujii Hironori <Hironori.Fujii> | ||||||||||||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||||||||||||
| Severity: | Normal | CC: | cmarcelo, don.olmstead, ews-watchlist, kondapallykalyan, luiz, magomez, webkit-bug-importer, zdobersek | ||||||||||||||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||||||||||||||
| Version: | WebKit Nightly Build | ||||||||||||||||||||||||
| Hardware: | Unspecified | ||||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||||
| Bug Depends on: | 245118 | ||||||||||||||||||||||||
| Bug Blocks: | |||||||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||||
Created attachment 462157 [details]
test case 2
Created attachment 462159 [details]
test case 3
Created attachment 462188 [details]
WIP patch
Created attachment 462329 [details]
test case 4
Created attachment 462343 [details]
WIP patch
Created attachment 462351 [details]
WIP patch
Created attachment 462468 [details]
WIP patch
Created attachment 462642 [details]
Patch
Created attachment 462645 [details]
Patch
Comment on attachment 462645 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=462645&action=review > Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:364 > +template<typename T> > +struct Point4D { > + T x; > + T y; > + T z; > + T w; > +}; > + > +template<typename T> > +Point4D<T> operator+(Point4D<T> s, Point4D<T> t) > +{ > + return { s.x + t.x, s.y + t.y, s.z + t.z, s.w + t.w }; > +} > + > +template<typename T> > +Point4D<T> operator-(Point4D<T> s, Point4D<T> t) > +{ > + return { s.x - t.x, s.y - t.y, s.z - t.z, s.w - t.w }; > +} > + > +template<typename T> > +Point4D<T> operator*(T s, Point4D<T> t) > +{ > + return { s * t.x, s * t.y, s * t.z, s * t.w }; > +} I'm just surprised there's nothing hanging out already that you can piggy-back on for this. Committed 255013@main (2fd3420ef281): <https://commits.webkit.org/255013@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 462645 [details]. |
Created attachment 462155 [details] test case TextureMapper: rendering issue of a 3D transformed element with negative w and a parent with opacity