Bug 236766 - Properly uninitialize EGL display before termination
Summary: Properly uninitialize EGL display before termination
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Pablo Saavedra
Keywords: InRadar
Depends on:
Blocks: 217655
  Show dependency treegraph
Reported: 2022-02-17 02:41 PST by Pablo Saavedra
Modified: 2022-02-22 02:31 PST (History)
2 users (show)

See Also:

patch (1.66 KB, patch)
2022-02-17 02:44 PST, Pablo Saavedra
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo Saavedra 2022-02-17 02:41:15 PST
From the docs [1], if contexts or surfaces associated with display is current to any thread, they are not released until they are no longer current as a result of eglMakeCurrent.

So call eglMakeCurrent() to such effect.

[1] https://www.khronos.org/registry/EGL/sdk/docs/man/html/eglMakeCurrent.xhtml
Comment 1 Pablo Saavedra 2022-02-17 02:44:16 PST
Created attachment 452341 [details]
Comment 2 Pablo Saavedra 2022-02-17 02:44:59 PST
Related to https://bugs.webkit.org/show_bug.cgi?id=217655#c22
Comment 3 EWS 2022-02-22 02:30:55 PST
Committed r290299 (247622@main): <https://commits.webkit.org/247622@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 452341 [details].
Comment 4 Radar WebKit Bug Importer 2022-02-22 02:31:20 PST