Bug 240111 - [EME] CDM and friends should be using SharedBuffer rather FragmentedSharedBuffer
Summary: [EME] CDM and friends should be using SharedBuffer rather FragmentedSharedBuffer
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jean-Yves Avenard [:jya]
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-05-05 00:53 PDT by Jean-Yves Avenard [:jya]
Modified: 2022-05-05 21:44 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Yves Avenard [:jya] 2022-05-05 00:53:51 PDT
The various CDM related classes are using FragmentedSharedBuffer when all buffers received/sent are contiguous.

It also makes use of SharedBufferCopy to send things over IPC which isn't necessary when using SharedBuffer.
Comment 1 Radar WebKit Bug Importer 2022-05-05 00:54:12 PDT
<rdar://problem/92780561>
Comment 2 Jean-Yves Avenard [:jya] 2022-05-05 09:36:52 PDT
Pull request: https://github.com/WebKit/WebKit/pull/525
Comment 3 EWS 2022-05-05 21:44:51 PDT
Committed r293881 (250339@main): <https://commits.webkit.org/250339@main>

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