RESOLVED FIXED 218854
[GTK][WPE] FilterInfo must cleared when reusing BitmapTextureGL
https://bugs.webkit.org/show_bug.cgi?id=218854
Summary [GTK][WPE] FilterInfo must cleared when reusing BitmapTextureGL
Miguel Gomez
Reported 2020-11-12 09:51:45 PST
When a BitmapTextureGL is reused, its internal values are reset (flags, internal texture, and content). But the FilterInfo variable is not, so the every time that BitmapTextureGL is painted it will use the the old filter, altering the result.
Attachments
Patch (1.35 KB, patch)
2020-11-12 09:55 PST, Miguel Gomez
no flags
Miguel Gomez
Comment 1 2020-11-12 09:55:02 PST
Fujii Hironori
Comment 2 2020-11-12 13:33:09 PST
Good catch. Are there any existing tests failing? If so, please add a comment about it. If not, can you add a new test?
Carlos Garcia Campos
Comment 3 2020-11-12 23:46:40 PST
I think this will fix tests but on top pach attached to bug #215445. So, it will be covered by backdrop filter tests.
Miguel Gomez
Comment 4 2020-11-13 00:05:49 PST
(In reply to Carlos Garcia Campos from comment #3) > I think this will fix tests but on top pach attached to bug #215445. So, it > will be covered by backdrop filter tests. Yes, this together with the fix to bug #215445 will fix several backdrop filter related bugs.
EWS
Comment 5 2020-11-13 00:22:51 PST
Committed r269765: <https://trac.webkit.org/changeset/269765> All reviewed patches have been landed. Closing bug and clearing flags on attachment 413946 [details].
Note You need to log in before you can comment on or make changes to this bug.