Bug 170126 - Skia renders SVG image different when anti-aliasing is on or off (with both Vulkan and raster framing)
Summary: Skia renders SVG image different when anti-aliasing is on or off (with both V...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All All
: high normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Skia
  Show dependency treegraph
 
Reported: 2025-12-25 22:12 UTC by Regina Henschel
Modified: 2025-12-27 10:15 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
SVG-image plus screenshots (46.16 KB, application/vnd.oasis.opendocument.presentation)
2025-12-25 22:12 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2025-12-25 22:12:01 UTC
Created attachment 204807 [details]
SVG-image plus screenshots

Open attached document. It has on the left part the svg image "Check" from the "Bullets" Gallery theme (the new theme from current master). On the right parts are screenshots with how the image is rendered depending on whether anti-aliasing is on or off. Notice that the results are significant different between anti-aliasing on or off.

Tested with own build of Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 2a149fcc6a1e378a6ee356ba032757a8b1b332ea
CPU threads: 32; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded
Comment 1 V Stuart Foote 2025-12-26 12:31:38 UTC
Confirmed. But note that with AA checked enabled, as the presentation canvas is zoomed in--so the SVG is some greater percentage of the slide canvas (> 160%)--the rendering of its area fills increases till it is being fully drawn at ~550%.

There is a similar response to zoom level with AA disabled, just not as noticeable. 

=-testing-=

20251226 TB103 (so skia build m144)
Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 680(Build:0)
CPU threads: 28; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

20251212 TB103 (so skia build m142)
Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 680(Build:0)
CPU threads: 28; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

w/nVidia dGPU
RenderMethod: vulkan
Vendor: 0x10de
Device: 0x2803
API: 1.4.312
Driver: 581.16.0
DeviceType: discrete
DeviceName: NVIDIA GeForce RTX 4060 Ti
Denylisted: no
Comment 2 V Stuart Foote 2025-12-26 12:51:46 UTC
No issues with skia AA support toggled on/off or zooming of SVG on same system with release build. 

Version: 25.8.4.2 (X86_64)
Build ID: 290daaa01b999472f0c7a3890eb6a550fd74c6df
CPU threads: 28; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
RenderMethod: vulkan
Vendor: 0x10de
Device: 0x2803
API: 1.4.312
Driver: 581.16.0
DeviceType: discrete
DeviceName: NVIDIA GeForce RTX 4060 Ti
Denylisted: no
Comment 3 V Stuart Foote 2025-12-26 13:00:15 UTC
Unfortunately, Beta 1 release build of the 26.2.0 (2025-12-08) is also impacted.
Comment 4 Saburo 2025-12-27 10:15:51 UTC
works fine (bibisect-win64-26.2 master)
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 2f5df988923560bcc0f822c9db39f6ccab0cc5a1
CPU threads: 12; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win
Locale: ja-JP (ja_JP); UI: en-US
Calc: CL threaded

bad
20251024 TB103
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 620(Build:0)
CPU threads: 12; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: CL threaded

bibisected with linux-64-26.2(SAL_USE_VCLPLUGIN=gen)
commit f5b8ec6b3fbc9a48bded4e621cc1bf3a8093f824
author	Noel Grandin

tdf#168730 impBufferDevice and caller should have the same mask rect

***
adding CC: Noel Grandin
please, take a look?