[webkit-changes] [WebKit/WebKit] fd23a6: [Skia] Handle image interpolation quality when fil...

Pawel Lampe noreply at github.com
Tue Mar 12 01:55:11 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fd23a60530416cf834c6d5695914eca7839c9ac1
      https://github.com/WebKit/WebKit/commit/fd23a60530416cf834c6d5695914eca7839c9ac1
  Author: Pawel Lampe <pawel.lampe at gmail.com>
  Date:   2024-03-12 (Tue, 12 Mar 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/Pattern.h
    M Source/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp
    M Source/WebCore/platform/graphics/skia/PatternSkia.cpp

  Log Message:
  -----------
  [Skia] Handle image interpolation quality when filling with an image pattern
https://bugs.webkit.org/show_bug.cgi?id=270685

Reviewed by Carlos Garcia Campos.

This change takes image interpolation quality into account when using image pattern
as CanvasRenderingContext2D.fillStyle or CanvasRenderingContext2D.strokeStyle.

* Source/WebCore/platform/graphics/Pattern.h:
* Source/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp:
(WebCore::GraphicsContextSkia::createFillPaint const):
(WebCore::GraphicsContextSkia::createStrokePaint const):
* Source/WebCore/platform/graphics/skia/PatternSkia.cpp:
(WebCore::Pattern::createPlatformPattern const):

Canonical link: https://commits.webkit.org/275966@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