WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
242811
[Cocoa] Hard code the IOSurface bytesPerRowAlignment to 64
https://bugs.webkit.org/show_bug.cgi?id=242811
Summary
[Cocoa] Hard code the IOSurface bytesPerRowAlignment to 64
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
Add attachment
proposed patch, testcase, etc.
Said Abou-Hallawa
Comment 1
2022-07-15 11:02:01 PDT
rdar://79626142
Said Abou-Hallawa
Comment 2
2022-07-15 11:10:37 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/2460
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug