Bug 123422

Summary: Remote Layer Tree: Support tiled drawing and use it for the main frame
Product: WebKit Reporter: Tim Horton <thorton>
Component: WebKit2Assignee: Tim Horton <thorton>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, commit-queue, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 123418    
Bug Blocks:    
Attachments:
Description Flags
patch
none
patch simon.fraser: review+

Description Tim Horton 2013-10-28 14:32:55 PDT
And then we'll finally have page contents painting!
Comment 1 Tim Horton 2013-10-29 13:17:34 PDT
Created attachment 215413 [details]
patch
Comment 2 Tim Horton 2013-10-29 13:18:20 PDT
Comment on attachment 215413 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=215413&action=review

> Source/WebKit2/WebProcess/WebPage/mac/RemoteLayerBackingStore.mm:153
> +    // This is unfortunate. I really want a nice way at the PlatformCALayer level to override things but fall back on the -Remote or -Mac or -Win specific behavior (so we can get rid of our CALayer subclasses and make painting more straightforward).

I will get rid of this comment, didn't mean to include it (and basically moved it into the ChangeLog anyway).
Comment 3 WebKit Commit Bot 2013-10-29 13:20:01 PDT
Attachment 215413 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/WebCore.exp.in', u'Source/WebCore/WebCore.xcodeproj/project.pbxproj', u'Source/WebKit2/ChangeLog', u'Source/WebKit2/Shared/mac/RemoteLayerTreeTransaction.h', u'Source/WebKit2/Shared/mac/RemoteLayerTreeTransaction.mm', u'Source/WebKit2/UIProcess/mac/RemoteLayerTreeHost.mm', u'Source/WebKit2/WebKit2.xcodeproj/project.pbxproj', u'Source/WebKit2/WebProcess/WebPage/mac/PlatformCALayerRemote.cpp', u'Source/WebKit2/WebProcess/WebPage/mac/PlatformCALayerRemote.h', u'Source/WebKit2/WebProcess/WebPage/mac/PlatformCALayerRemoteTiledBacking.cpp', u'Source/WebKit2/WebProcess/WebPage/mac/PlatformCALayerRemoteTiledBacking.h', u'Source/WebKit2/WebProcess/WebPage/mac/RemoteLayerBackingStore.mm', u'Source/WebKit2/WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.h', u'Source/WebKit2/WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm', u'Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h']" exit_code: 1
Source/WebKit2/WebProcess/WebPage/mac/PlatformCALayerRemoteTiledBacking.h:41:  The parameter name "context" adds no information, so it should be removed.  [readability/parameter_name] [5]
Total errors found: 1 in 16 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 4 Tim Horton 2013-10-29 13:44:23 PDT
Created attachment 215416 [details]
patch
Comment 5 Simon Fraser (smfr) 2013-10-29 13:52:52 PDT
Comment on attachment 215416 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=215416&action=review

> Source/WebKit2/WebProcess/WebPage/mac/PlatformCALayerRemoteTiledBacking.cpp:52
> +
> +

Extra line.
Comment 6 Tim Horton 2013-10-29 14:03:41 PDT
http://trac.webkit.org/changeset/158223
Comment 7 Tim Horton 2013-10-29 14:24:48 PDT
and follow up in http://trac.webkit.org/changeset/158224