[Webkit-unassigned] [Bug 273316] New: [GTK][WPE][Skia] Disable accelerated ImageBitmap support
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Apr 26 05:10:21 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=273316
Bug ID: 273316
Summary: [GTK][WPE][Skia] Disable accelerated ImageBitmap
support
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
ImageBitmap is backed by an ImageBuffer whose implementation can be accelerated or not. In order to create the accelerated ImageBuffer for this, we need to make the skiaGLContext current. But ImageBitmaps can be created in worker threads, which requires making the skiaGLContext current in that thread, when it's intended to be used in the main thread only. This can cause glitches or even crashes.
In order to fix this, we need to add support for having per thread skiaGLContexts, so each thread has its own context and doesn't mess with the others. But this is not as urgent at this point of the migration. For the moment we're disabling the accelerated support for ImageBitmaps, which removes the problem. We will be back to this a bit later, when we add the implementation for the offscreen canvas, where per thread gl contexts are required.
--
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/20240426/f844c9e7/attachment.htm>
More information about the webkit-unassigned
mailing list