Bug 247729

Summary: Messages passing shared CARingBuffer handle pass also the frame count
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: MediaAssignee: Kimmo Kinnunen <kkinnunen>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Kimmo Kinnunen
Reported 2022-11-10 05:50:42 PST
Messages passing shared CARingBuffer handle pass also the frame count This makes the messages more convoluted than needed. The number of frames is inherent property of the buffer, and should be part of the buffer handle. Contrast to SharedMemory::Handle, which passes the mach port as well as the expected memory area size.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-11-10 05:51:24 PST
Kimmo Kinnunen
Comment 2 2022-11-10 05:59:45 PST
Kimmo Kinnunen
Comment 3 2022-11-10 08:01:54 PST
EWS
Comment 4 2022-11-15 06:42:44 PST
Committed 256693@main (a1fc3fc6f009): <https://commits.webkit.org/256693@main> Reviewed commits have been landed. Closing PR #6349 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.