[Webkit-unassigned] [Bug 242811] New: [Cocoa] Hard code the IOSurface bytesPerRowAlignment to 64

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 15 11:01:39 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=242811

            Bug ID: 242811
           Summary: [Cocoa] Hard code the IOSurface bytesPerRowAlignment
                    to 64
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220715/fd56e013/attachment.htm>


More information about the webkit-unassigned mailing list