Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[WPE] Add some error reporting during EGL display/context creation
https://bugs.webkit.org/show_bug.cgi?id=178937 Reviewed by Carlos Alberto Lopez Perez. Unconditionally log errors using WTFLogAlways during EGL context creation. This provides a small degree of help for troubleshooting, and while eglGetError() only returns numeric error codes, it's better than nothing. No new tests needed. * platform/graphics/PlatformDisplay.cpp: (WebCore::PlatformDisplay::initializeEGLDisplay): * platform/graphics/egl/GLContextEGL.cpp: (WebCore::GLContextEGL::errorString): (WebCore::GLContextEGL::lastErrorString): (WebCore::GLContextEGL::createWindowContext): (WebCore::GLContextEGL::createPbufferContext): (WebCore::GLContextEGL::createSurfacelessContext): (WebCore::GLContextEGL::createContext): (WebCore::GLContextEGL::createSharingContext): (WebCore::GLContextEGL::GLContextEGL): * platform/graphics/egl/GLContextEGL.h: * platform/graphics/egl/GLContextEGLWPE.cpp: (WebCore::GLContextEGL::createWPEContext): * platform/graphics/wpe/PlatformDisplayWPE.cpp: (WebCore::PlatformDisplayWPE::initialize): Canonical link: https://commits.webkit.org/195294@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224347 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
126 additions
and 17 deletions.
- +30 −0 Source/WebCore/ChangeLog
- +5 −2 Source/WebCore/platform/graphics/PlatformDisplay.cpp
- +79 −12 Source/WebCore/platform/graphics/egl/GLContextEGL.cpp
- +3 −0 Source/WebCore/platform/graphics/egl/GLContextEGL.h
- +8 −2 Source/WebCore/platform/graphics/egl/GLContextEGLWPE.cpp
- +1 −1 Source/WebCore/platform/graphics/wpe/PlatformDisplayWPE.cpp
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters