[webkit-changes] [WebKit/WebKit] b4d253: [GTK][WPE][Skia] Fix threading issue with DisplayL...

Nikolas Zimmermann noreply at github.com
Mon Nov 18 12:34:17 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b4d253a7cf351a3e84efed18f2dc53d557195971
      https://github.com/WebKit/WebKit/commit/b4d253a7cf351a3e84efed18f2dc53d557195971
  Author: Nikolas Zimmermann <nzimmermann at igalia.com>
  Date:   2024-11-18 (Mon, 18 Nov 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/Pattern.h

  Log Message:
  -----------
  [GTK][WPE][Skia] Fix threading issue with DisplayList rendering / GraphicsContextState merging
https://bugs.webkit.org/show_bug.cgi?id=282084

Reviewed by Said Abou-Hallawa.

Pattern is not ThreadSafeRefCounted - therefore using patterns in a
multithreaded environment as we do for Skia multithreaded CPU rendering
is unsafe, leading to assertions in ASSERT_ENABLED builds - fix that by
making Pattern inherit from ThreadSafeRefCounted instead of RefCounted.

Covered by existing tests.

* Source/WebCore/platform/graphics/Pattern.h:

Canonical link: https://commits.webkit.org/286744@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list