Bug 249178 - Create SerializedImageBuffer to safely transfer ImageBuffers between threads
Summary: Create SerializedImageBuffer to safely transfer ImageBuffers between threads
Status: RESOLVED DUPLICATE of bug 244830
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Matt Woodrow
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-12-12 14:35 PST by Matt Woodrow
Modified: 2022-12-19 14:53 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Woodrow 2022-12-12 14:35:25 PST
ImageBuffers can be RemoteImageBufferProxy instances that are only safe to use on the thread they were created on.

We want to be able to transfer the reference to a new thread, so this adds SerializedImageBuffer to represent the state where we're currently transferring between threads.
Comment 1 Matt Woodrow 2022-12-12 14:49:14 PST
Pull request: https://github.com/WebKit/WebKit/pull/7511
Comment 2 Radar WebKit Bug Importer 2022-12-19 14:36:27 PST
<rdar://problem/103531451>
Comment 3 Matt Woodrow 2022-12-19 14:53:48 PST
This got subsumed into bug 244830

*** This bug has been marked as a duplicate of bug 244830 ***