RESOLVED FIXED 6905
DumpRenderTree needs a way to force painting (to allow invalidation tests)
https://bugs.webkit.org/show_bug.cgi?id=6905
Summary DumpRenderTree needs a way to force painting (to allow invalidation tests)
Eric Seidel (no email)
Reported 2006-01-28 23:16:14 PST
DumpRenderTree needs a way to force painting (to allow invalidation tests)
Attachments
Patch (3.27 KB, patch)
2006-04-20 08:36 PDT, mitz
darin: review+
mitz
Comment 1 2006-04-20 08:36:00 PDT
Darin Adler
Comment 2 2006-04-20 09:25:02 PDT
Comment on attachment 7850 [details] Patch Looks like a good start.
Darin Adler
Comment 3 2006-04-20 09:26:15 PDT
Comment on attachment 7850 [details] Patch To be more clear what I mean about that, I think eventually we want to come up with a testing approach that detects if we repaint too much as well as something that detects when we repaint too little.
mitz
Comment 4 2006-04-22 01:32:43 PDT
(In reply to comment #3) > (From update of attachment 7850 [details] [edit]) > To be more clear what I mean about that, I think eventually we want to come up > with a testing approach that detects if we repaint too much as well as > something that detects when we repaint too little. > Something like - (void)display { NSView *webView = [frame webView]; [webView display]; [webView lockFocus]; [[NSColor blackColor] set]; NSRectFill([webView frame]); [webView unlockFocus]; readFromWindow = YES; } Will let you see exactly what was repainted (except if it was black).
mitz
Comment 5 2006-04-22 01:52:35 PDT
(In reply to comment #4) > [[NSColor blackColor] set]; or perhaps better yet, [[[NSColor blackColor] colorWithAlphaComponent:0.5] set];
Note You need to log in before you can comment on or make changes to this bug.