[Webkit-unassigned] [Bug 266300] New: [GPU Process] ShareableBitmap sometimes can't create a context with the image color space

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 12 12:49:24 PST 2023


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

            Bug ID: 266300
           Summary: [GPU Process] ShareableBitmap sometimes can't create a
                    context with the image color space
           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

Open https://en.wikipedia.org/wiki/Wilfrid_Laurier

Result: The image https://commons.wikimedia.org/wiki/File:The_Honourable_Sir_Wilfrid_Laurier_Photo_C_(HS85-10-16873)_-_medium_crop_(cropped).jpg is not displayed.

When transferring the decoded NativeImage to GPUP we have to draw it to ShareableBitmap. To preserve the color space of the image, CGBitmapContextCreateWithData() is called with to create a CGContext with the image color space. CG can't create unaccelerated CGContext for all color spaces. So we fail to transfer the image to GPUP. In fact in debug build, the ASSERT_NOT_REACHED() in RemoteDisplayListRecorder::drawNativeImage() will fire when opening the wikipedia page or image.

-- 
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/20231212/554b2b36/attachment.htm>


More information about the webkit-unassigned mailing list