RESOLVED FIXED 48024
Composited elements drawn twice when WebView is layer-backed
https://bugs.webkit.org/show_bug.cgi?id=48024
Summary Composited elements drawn twice when WebView is layer-backed
Simon Fraser (smfr)
Reported 2010-10-20 16:29:41 PDT
If the WebView is layer backed (via -setWantsLayer:YES), then there are issues with the rendering of composited content. It draws twice.
Attachments
Patch (4.86 KB, patch)
2010-10-20 16:33 PDT, Simon Fraser (smfr)
no flags
Patch (4.83 KB, patch)
2010-10-20 17:31 PDT, Simon Fraser (smfr)
mitz: review+
Simon Fraser (smfr)
Comment 1 2010-10-20 16:30:04 PDT
Simon Fraser (smfr)
Comment 2 2010-10-20 16:33:19 PDT
mitz
Comment 3 2010-10-20 17:08:22 PDT
Comment on attachment 71358 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=71358&action=review > WebKit/mac/WebView/WebFrame.mm:532 > +- (BOOL)_showFlattenedCompositingLayers:(CGContextRef)context This name is no good. This method doesn’t show anything. > WebKit/mac/WebView/WebFrame.mm:540 > + if (WKCGContextIsBitmapContext(context)) { Can reverse the test and return early here.
Simon Fraser (smfr)
Comment 4 2010-10-20 17:31:11 PDT
Simon Fraser (smfr)
Comment 5 2010-10-20 18:18:02 PDT
Note You need to log in before you can comment on or make changes to this bug.