[webkit-changes] [WebKit/WebKit] 93d7cf: Cherry-pick 264648 at main (153153309cef). https://bu...
Carlos Garcia Campos
noreply at github.com
Mon May 29 01:31:07 PDT 2023
Branch: refs/heads/webkitglib/2.40
Home: https://github.com/WebKit/WebKit
Commit: 93d7cfcb112d5dfbeea0a53de13880342883c40b
https://github.com/WebKit/WebKit/commit/93d7cfcb112d5dfbeea0a53de13880342883c40b
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: 2023-05-29 (Mon, 29 May 2023)
Changed paths:
M Source/WebCore/platform/graphics/gbm/GBMBufferSwapchain.cpp
M Source/WebCore/platform/graphics/gbm/GraphicsContextGLGBM.cpp
Log Message:
-----------
Cherry-pick 264648 at main (153153309cef). https://bugs.webkit.org/show_bug.cgi?id=255398
[GTK] Crash in GraphicsContextGLGBM::allocateDrawBufferObject
https://bugs.webkit.org/show_bug.cgi?id=255398
Reviewed by Michael Catanzaro.
GBMBufferSwapchain::getBuffer() can return nullptr for several reasons,
so we need to handle that case in
GraphicsContextGLGBM::allocateDrawBufferObject(). This also adds error
messages for the cases where getBuffer() returns nullptr, and returns
earlier without creating any buffer when the given format is
unsupported.
* Source/WebCore/platform/graphics/gbm/GBMBufferSwapchain.cpp:
(WebCore::isBufferFormatSupported):
(WebCore::GBMBufferSwapchain::getBuffer):
* Source/WebCore/platform/graphics/gbm/GraphicsContextGLGBM.cpp:
(WebCore::GraphicsContextGLGBM::allocateDrawBufferObject):
Canonical link: https://commits.webkit.org/264648@main
Commit: e64c4e78fd4256cf82fe1a43f840364621cfea51
https://github.com/WebKit/WebKit/commit/e64c4e78fd4256cf82fe1a43f840364621cfea51
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: 2023-05-29 (Mon, 29 May 2023)
Changed paths:
M Source/WebCore/html/OffscreenCanvas.cpp
Log Message:
-----------
Unrviewed. Fix the build
* Source/WebCore/html/OffscreenCanvas.cpp:
(WebCore::shouldEnableWebGL): Fix unused parameter error.
Compare: https://github.com/WebKit/WebKit/compare/b94d54bf819e...e64c4e78fd42
More information about the webkit-changes
mailing list