Bug 261027

Summary: RemoteImageBufferProxy re-populates backend info after getting the backend handle
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: CanvasAssignee: Kimmo Kinnunen <kkinnunen>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, dino, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=267262
Bug Depends on: 261875    
Bug Blocks:    

Description Kimmo Kinnunen 2023-09-01 04:58:01 PDT
RemoteImageBufferProxy re-populates backend info after getting the backend handle

The code is structured as if it would make sense that
  Caller calls RemoteImageBufferProxy::create<AcceleratedImageBufferShareableMappedBackend>
  GPUP sends ShareableBitmap::Handle

It is better that the backend type being used during ImageBuffer creation is respected during didCreateBackend
Comment 1 Radar WebKit Bug Importer 2023-09-01 04:58:26 PDT
<rdar://problem/114816328>
Comment 2 Kimmo Kinnunen 2023-09-01 05:02:51 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17341
Comment 3 EWS 2023-09-21 02:50:23 PDT
Committed 268244@main (a76cf096e26a): <https://commits.webkit.org/268244@main>

Reviewed commits have been landed. Closing PR #17341 and removing active labels.
Comment 4 WebKit Commit Bot 2023-09-21 05:40:49 PDT
Re-opened since this is blocked by bug 261875
Comment 5 Kimmo Kinnunen 2023-09-21 05:56:14 PDT
Pull request: https://github.com/WebKit/WebKit/pull/18013
Comment 6 EWS 2023-09-21 07:25:19 PDT
Committed 268251@main (50a0c40dacf6): <https://commits.webkit.org/268251@main>

Reviewed commits have been landed. Closing PR #18013 and removing active labels.