Bug 242811
| Summary: | [Cocoa] Hard code the IOSurface bytesPerRowAlignment to 64 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Said Abou-Hallawa <sabouhallawa> |
| Component: | Layout and Rendering | Assignee: | 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
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
rdar://79626142
Said Abou-Hallawa
Pull request: https://github.com/WebKit/WebKit/pull/2460