0
Files
src/skia
Christopher Cameron 86596c43e6 skia::DrawGainmapImage: Fix cubic sampling
When cubic sampling is used, the gainmap shader fails because it uses
SkImage::makeRawShader, which does not support cubic sampling. Fall back
to linear sampling in that case.

Bug: 374783345
Change-Id: I55caf3688d8338798c1358c19e08b147794abf91
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5952964
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: ccameron chromium <ccameron@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373772}
2024-10-25 08:01:00 +00:00
..
2024-10-10 19:36:30 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

The Skia library can be found in //third_party/skia, and full documentation is available at https://skia.org/

This directory includes low-level chromium utilities for interacting with Skia:

  • Build rules for the Skia library
  • Configuration of the library (config/SkUserConfig.h)
  • Serialization of Skia types (public/mojom)
  • Implementations of Skia interfaces for platform behavior, such as fonts and memory allocation, as well as other miscellaneous utilities (ext).

Note that Skia is used directly in many parts of the chromium codebase. This directory is only concerned with code layered on Skia that will be reused frequently, across multiple chromium components.