Bug 260968 - [GTK][WPE] Do not use epoxy PlatformDisplay::create|destroyEGLImage
Summary: [GTK][WPE] Do not use epoxy PlatformDisplay::create|destroyEGLImage
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Carlos Garcia Campos
URL:
Keywords: Gtk, InRadar
Depends on:
Blocks:
 
Reported: 2023-08-31 08:56 PDT by Carlos Garcia Campos
Modified: 2023-08-31 09:28 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2023-08-31 08:56:37 PDT
libepoxy needs a current context to work, but creating EGL images doesn't need any context, it's display API. When using this API without a current context epoxy aborts with a message like:

No provider of eglDestroyImage found.  Requires one of:
    EGL 15
    EGL_KHR_image
    EGL_KHR_image_base
Comment 1 Carlos Garcia Campos 2023-08-31 08:58:17 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17291
Comment 2 EWS 2023-08-31 09:27:21 PDT
Committed 267503@main (855a2ca13f6a): <https://commits.webkit.org/267503@main>

Reviewed commits have been landed. Closing PR #17291 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-08-31 09:28:16 PDT
<rdar://problem/114769133>