[Webkit-unassigned] [Bug 278908] New: [GTK][WPE][Skia] Invalid result or crash when painting an accelerated ImageBitmap into WebGL

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 30 02:06:09 PDT 2024


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

            Bug ID: 278908
           Summary: [GTK][WPE][Skia] Invalid result or crash when painting
                    an accelerated ImageBitmap into WebGL
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: magomez at igalia.com
                CC: bugs-noreply at webkitgtk.org

A common pattern when rendering to WebGL is creating an ImageBitmap, rendering into it, and then uploading the result into a WebGL texture. This is typically done for text rendering, for example.

When the created ImageBitmap is big enough, it's created as accelerated, which means that it's backed by a gl texture instead of a normal buffer. In this case, trying to render the content of that ImageBitmap won't work as expected. It may cause a crash or fail to actually render properly.

The problem can be avoided by not accelerating ImageBitmaps, which is why I know that the problem is related to the accelerated ones. It can be reproduced with https://strike.lightningjs.io/es6/#home where the rendering will be wrong.

-- 
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/20240830/de2e779c/attachment.htm>


More information about the webkit-unassigned mailing list