RESOLVED DUPLICATE of bug 121859 122006
[wk2] WebKitTestRunner's window snapshots are blank with tiled drawing
https://bugs.webkit.org/show_bug.cgi?id=122006
Summary [wk2] WebKitTestRunner's window snapshots are blank with tiled drawing
Tim Horton
Reported 2013-09-26 22:34:03 PDT
WebKitTestRunner's window snapshots are pure white no matter what's on screen when they're taken, if tiled drawing is on (possibly any time remote layer hosting is occurring?) and WKTR's window has a buffered backing store. This doesn't show up in ref tests because it's broken in both the ref and the actual result; pixel tests make it the most clear (but we don't have any tiled-drawing pixel tests, nor do we run the other ones very often). I've added a mismatch test to ensure this doesn't happen again, as I'm going to switch WKTR to tiled drawing 24/7 very soon, and it would be really bad if we lost all ref image coverage :| Conveniently, we're really mostly interested in testing unbuffered windows anyway.
Attachments
preliminary (3.81 KB, patch)
2013-09-26 22:52 PDT, Tim Horton
no flags
patch (2.35 KB, patch)
2013-09-27 13:35 PDT, Tim Horton
dino: review+
Radar WebKit Bug Importer
Comment 1 2013-09-26 22:34:26 PDT
Tim Horton
Comment 2 2013-09-26 22:52:47 PDT
Created attachment 212789 [details] preliminary I'm seeing some tests that use the non-tiled path fail with this change, so it might require more investigation.
Tim Horton
Comment 3 2013-09-27 13:21:44 PDT
We can't override the window resolution with an unbuffered window, so this breaks the workaround we use to make tests work on Retina machines. I'll try to come up with something else.
Tim Horton
Comment 4 2013-09-27 13:35:23 PDT
Tim Horton
Comment 5 2013-09-27 13:46:11 PDT
WebKit Commit Bot
Comment 6 2013-09-27 14:56:04 PDT
Re-opened since this is blocked by bug 122035
Tim Horton
Comment 7 2013-10-01 11:49:39 PDT
WebKit Commit Bot
Comment 8 2013-10-01 13:33:37 PDT
Re-opened since this is blocked by bug 122176
Tim Horton
Comment 9 2013-10-01 18:41:06 PDT
Meh, I'm just folding this into https://bugs.webkit.org/show_bug.cgi?id=121859 *** This bug has been marked as a duplicate of bug 121859 ***
Note You need to log in before you can comment on or make changes to this bug.