Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f258c5469f3a5c3ddfda1d37a5cf74b07d4211de
      
https://github.com/WebKit/WebKit/commit/f258c5469f3a5c3ddfda1d37a5cf74b07d4211de
  Author: Pawel Lampe <[email protected]>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M Source/WebCore/platform/graphics/skia/ComplexTextControllerSkia.cpp

  Log Message:
  -----------
  [Skia] Improve ComplexTextController::collectComplexTextRunsForCharacters()
https://bugs.webkit.org/show_bug.cgi?id=294665

Reviewed by Nikolas Zimmermann and Carlos Garcia Campos.

This change adds a few minor improvements to skia-specific text
processing pipeline:
- it makes hb_feature_t for kerning static to avoid construction
  from scratch
- it makes buffer thread_local to avoid calling hb_buffer_create()
  upon every function call thus allowing re-using buffer within each
  thread
- it removes the unnecessary string copy and conversion while passing
  locale to hb_language_from_string()
- it makes iteration over HBRuns more elegant while also avoiding
  extra memory allocation for LTR text

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to