[GANESH] AA DrawPath writes outside a non-AA clipRect on GPU

19 views
Skip to first unread message

vulapu yashwanth

unread,
Aug 10, 2026, 8:11:30 AM (19 hours ago) Aug 10
to skia-discuss
Hi Team,

Ganesh’s GPU backend renders fractional coverage one pixel outside an explicit non-antialiased clipRect. The same code renders cleanly with Skia’s raster backend. 

Fiddle code:- https://fiddle.skia.org/c/0bf08688385f15dfa1b4a350b72bfea8

The clip starts at x=100, but the GPU output contains fractional white coverage at x=99.

Expected: pixel x=99 remains black because it is outside the clip.

Could you please confirm whether this is expected and suggest the correct way to prevent drawing outside the clip?

Thanks.


Reply all
Reply to author
Forward
0 new messages