RESOLVED FIXED Bug 58632
REGRESSION(75137): directly composited images are double-drawn sometimes
https://bugs.webkit.org/show_bug.cgi?id=58632
Summary REGRESSION(75137): directly composited images are double-drawn sometimes
James Robinson
Reported 2011-04-14 22:28:24 PDT
Load http://trac.webkit.org/export/83947/trunk/LayoutTests/compositing/direct-image-compositing.html in a WebKit nightly or chromium. The first, third, and last images render incorrectly until the window is resized - it appears that the image is composited on top of itself and so the semitranslucent parts of the image look too dark. Forcing a repaint of the root window (by resizing the window or whatnot) seems to fix it. I can't reproduce in Safari 5.0.4, so guessing that this regressed at some point.
Attachments
Patch (1.91 KB, patch)
2011-04-25 15:31 PDT, Chris Marrin
simon.fraser: review+
Simon Fraser (smfr)
Comment 1 2011-04-14 22:35:27 PDT
Would be good to know when this regressed.
Simon Fraser (smfr)
Comment 2 2011-04-14 22:35:58 PDT
James Robinson
Comment 3 2011-04-14 22:52:11 PDT
bisect-builds says http://trac.webkit.org/log/trunk/?rev=75294&stop_rev=74229 - sadly large range.
James Robinson
Comment 4 2011-04-14 23:36:57 PDT
Simon Fraser (smfr)
Comment 5 2011-04-15 08:30:51 PDT
That's possible.
Simon Fraser (smfr)
Comment 6 2011-04-15 10:51:19 PDT
I narrowed this down to between r75123 and r75154.
James Robinson
Comment 7 2011-04-15 13:56:47 PDT
Confirmed that reverting 75137 locally fixes the bug.
Chris Marrin
Comment 8 2011-04-25 15:31:33 PDT
James Robinson
Comment 9 2011-04-25 15:45:37 PDT
Comment on attachment 90959 [details] Patch It should be possible to construct a pixel test for this, right?
Chris Marrin
Comment 10 2011-04-25 16:26:25 PDT
(In reply to comment #9) > (From update of attachment 90959 [details]) > It should be possible to construct a pixel test for this, right? You'd think. I tried and failed. Running in DRT doesn't show the error. I assume that's because DRT does funny rendering tricks to get a consistently sized window, which must change the ordering and avoid tickling the bug. Of course that might make my claim that https://bugs.webkit.org/show_bug.cgi?id=59352 would allow us to test this logic.
Chris Marrin
Comment 11 2011-04-25 17:24:58 PDT
Chris Marrin
Comment 12 2011-04-25 17:29:38 PDT
(In reply to comment #10) > (In reply to comment #9) > > (From update of attachment 90959 [details] [details]) > > It should be possible to construct a pixel test for this, right? > > You'd think. I tried and failed. Running in DRT doesn't show the error. I assume that's because DRT does funny rendering tricks to get a consistently sized window, which must change the ordering and avoid tickling the bug. Of course that might make my claim that https://bugs.webkit.org/show_bug.cgi?id=59352 would allow us to test this logic. (to finish that sentence) That would make my claim that ... would allow us to test this logic suspect. There may be no practical way to do a good test for this bug.
Note You need to log in before you can comment on or make changes to this bug.