Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use generateThreadSafe for RenderingResourceIdentifier. #12226

Merged

Commits on Apr 2, 2023

  1. 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
    mattwoodrow committed Apr 2, 2023
    Configuration menu
    Copy the full SHA
    3050026 View commit details
    Browse the repository at this point in the history