[webkit-changes] [WebKit/WebKit] 305002: Use generateThreadSafe for RenderingResourceIdenti...
mattwoodrow
noreply at github.com
Sat Apr 1 19:54:05 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 30500262a0f1c8420030cc2f72e928301668b6ba
https://github.com/WebKit/WebKit/commit/30500262a0f1c8420030cc2f72e928301668b6ba
Author: Matt Woodrow <mattwoodrow at apple.com>
Date: 2023-04-01 (Sat, 01 Apr 2023)
Changed paths:
M Source/WebCore/platform/graphics/DecomposedGlyphs.h
M Source/WebCore/platform/graphics/Font.cpp
M Source/WebCore/platform/graphics/FontCustomPlatformData.h
M Source/WebCore/platform/graphics/ImageBuffer.h
M Source/WebCore/platform/graphics/NativeImage.h
M Source/WebCore/platform/graphics/win/FontCustomPlatformDataWin.cpp
M Source/WebKit/WebProcess/GPU/graphics/RemoteImageBufferProxy.h
M Tools/TestWebKitAPI/Tests/WebCore/cg/DisplayListTestsCG.cpp
Log Message:
-----------
Use generateThreadSafe for RenderingResourceIdentifier.
https://bugs.webkit.org/show_bug.cgi?id=254796
<rdar://105752952>
Reviewed by Simon Fraser.
We can allocate ImageBuffers from a worker thread, so we need to use the thread safe allocator
for all RenderingResourceIdentifiers.
* Source/WebCore/platform/graphics/DecomposedGlyphs.h:
* Source/WebCore/platform/graphics/Font.cpp:
(WebCore::Font::renderingResourceIdentifier const):
* Source/WebCore/platform/graphics/ImageBuffer.h:
* Source/WebCore/platform/graphics/NativeImage.h:
* Source/WebKit/WebProcess/GPU/graphics/RemoteImageBufferProxy.h:
* Tools/TestWebKitAPI/Tests/WebCore/cg/DisplayListTestsCG.cpp:
(TestWebKitAPI::TEST):
Canonical link: https://commits.webkit.org/262486@main
More information about the webkit-changes
mailing list