Bug 169539

Summary: WebGPU remote layer hosting
Product: WebKit Reporter: Jon Lee <jonlee>
Component: WebGLAssignee: Dean Jackson <dino>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, dino, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 167952    
Attachments:
Description Flags
Patch
none
Patch jonlee: review+

Description Jon Lee 2017-03-13 00:26:40 PDT
WebGPU remote layer hosting
Comment 1 Radar WebKit Bug Importer 2017-03-13 00:27:03 PDT
<rdar://problem/31005380>
Comment 2 Radar WebKit Bug Importer 2017-03-13 00:27:22 PDT
<rdar://problem/31005384>
Comment 3 Dean Jackson 2017-03-13 00:44:14 PDT
Created attachment 304235 [details]
Patch
Comment 4 Dean Jackson 2017-03-13 00:45:06 PDT
Created attachment 304236 [details]
Patch
Comment 5 Jon Lee 2017-03-13 00:49:34 PDT
Comment on attachment 304236 [details]
Patch

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

> Source/WebKit2/Shared/mac/RemoteLayerTreeTransaction.mm:897
> +            case PlatformCALayer::LayerTypeWebGLLayer:

WebGPULayer
Comment 6 Jon Lee 2017-03-13 00:50:55 PDT
Comment on attachment 304236 [details]
Patch

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

r+ with WebGL -> WebGPU fix in RemoteLayerTreeTransaction.mm.

> Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm:302
> +#endif

ick.
Comment 7 Jon Lee 2017-03-13 00:55:37 PDT
Committed r213786.
Comment 8 Dean Jackson 2017-03-13 00:57:54 PDT
Committed r213786: <http://trac.webkit.org/changeset/213786>
Comment 9 Simon Fraser (smfr) 2017-03-13 08:15:05 PDT
Comment on attachment 304236 [details]
Patch

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

> Source/WebCore/platform/graphics/ca/PlatformCALayer.h:77
> +        LayerTypeWebGPULayer,

Does it actually need to be its own layer type, or can we just rename LayerTypeWebGLLayer to be a bit more generic?
Comment 10 Dean Jackson 2017-03-14 14:28:42 PDT
(In reply to comment #9)
> Comment on attachment 304236 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=304236&action=review
> 
> > Source/WebCore/platform/graphics/ca/PlatformCALayer.h:77
> > +        LayerTypeWebGPULayer,
> 
> Does it actually need to be its own layer type, or can we just rename
> LayerTypeWebGLLayer to be a bit more generic?

Done in 169628