Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e9f6a75a7f29ae62d7b1012f2f9672c11208cb77
https://github.com/WebKit/WebKit/commit/e9f6a75a7f29ae62d7b1012f2f9672c11208cb77
Author: Nikolas Zimmermann <[email protected]>
Date: 2026-07-09 (Thu, 09 Jul 2026)
Changed paths:
M Source/WebCore/platform/graphics/skia/PlatformDisplaySkia.cpp
Log Message:
-----------
[WPE][Skia] The Skia based compositor is ~2x more expensive on
Vivante/etnaviv due to fSharpenMipmappedTextures
https://bugs.webkit.org/show_bug.cgi?id=318962
Reviewed by Carlos Garcia Campos.
Skia's GrContextOptions::fSharpenMipmappedTextures defaults to true, which
makes the
SkSL GLSL code generator append a negative LOD bias (kSharpenTexturesBias,
-0.475) to
every mipmap-capable texture sample in the generated shaders. We don't use any
mipmapping
and thus can safely disable that option -- the bias sharpes nothing, yet it
still turns
each texture2D() into a LOD-computing lookup instead of a plain fetch,
which is a slow-path on tiled GPUs such as those found on i.MX series
(etnaviv+Vivante).
Not testable in the CI.
* Source/WebCore/platform/graphics/skia/PlatformDisplaySkia.cpp:
(WebCore::SkiaGLContext::SkiaGLContext):
Canonical link: https://commits.webkit.org/316833@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications