Summary: | [WPE] Confusing messages in stderr when surfaceless context is not supported | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> | ||||||
Component: | WPE WebKit | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | aperez, bugs-noreply, magomez, zan | ||||||
Priority: | P2 | ||||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Carlos Garcia Campos
2019-03-14 05:16:52 PDT
Created attachment 364654 [details]
Patch
(In reply to Carlos Garcia Campos from comment #0) > Cannot create EGL surfaceless context: missing > EGL_KHR_surfaceless_{context,opengl} extension. > Cannot create EGL WPE context: EGL_SUCCESS > > It seems like there's anything wrong, while there isn't. > [...] I have to admit the first time I noticed these messages they were indeed confusing; it will be good to just go ahead and remove them, IMO. Comment on attachment 364654 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=364654&action=review > Source/WebCore/platform/graphics/egl/GLContextEGLLibWPE.cpp:77 > + if (context == EGL_NO_CONTEXT) { > + WTFLogAlways("Cannot create EGL WPE context: %s\n", lastErrorString()); > + return nullptr; > + } This needs to destroy the offscreen target before returning early. Comment on attachment 364654 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=364654&action=review >> Source/WebCore/platform/graphics/egl/GLContextEGLLibWPE.cpp:77 >> + } > > This needs to destroy the offscreen target before returning early. Right! I fixed the context leak to introduce a target leak :-P Created attachment 365341 [details]
Patch
Committed r243284: <https://trac.webkit.org/changeset/243284> |