[Webkit-unassigned] [Bug 255677] New: [GPU Process] (REGRESSION 262607 at main): Copy pixels of CGImage when bytesPerRow are not aligned

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 19 13:49:48 PDT 2023


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

            Bug ID: 255677
           Summary: [GPU Process] (REGRESSION 262607 at main): Copy pixels of
                    CGImage when bytesPerRow are not aligned
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Images
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com
                CC: sabouhallawa at apple.com

If the calculation of sizeInBytes in ShareableBitmap::createFromImagePixels() does not match ShareableBitmapConfiguration::sizeInBytes(), we should not copy the pixels of this CGImage. Otherwise ShareableBitmapConfiguration will falsely describe the data in the SharedMemory. In this case we should fallback to ShareableBitmap::createFromImageDraw().

-- 
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/20230419/71bcfce1/attachment.htm>


More information about the webkit-unassigned mailing list