Bug 242811

Summary: [Cocoa] Hard code the IOSurface bytesPerRowAlignment to 64
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: Layout and RenderingAssignee: Said Abou-Hallawa <sabouhallawa>
Status: RESOLVED WONTFIX    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=242815

Said Abou-Hallawa
Reported 2022-07-15 11:01:39 PDT
In WebKit, we use IOSurfaceAlignProperty(kIOSurfaceBytesPerRow, ...) to ask IOKit to do the alignment for us. And we use IOSurfaceGetPropertyAlignment() when we do the alignment manually. It seems other Cocoa frameworks sometimes use different alignment values. If the alignment values are different, these frameworks will fail to complete IOSurface operations.
Attachments
Said Abou-Hallawa
Comment 1 2022-07-15 11:02:01 PDT
Said Abou-Hallawa
Comment 2 2022-07-15 11:10:37 PDT
Note You need to log in before you can comment on or make changes to this bug.