I found a very interesting bug when drawing lines with an SkPaint with hairline stroke size of 0 and changing the paint alpha and trying to draw again. This issue does not happen if I try drawing a circle with the same paint or setting the stroke size to something greater than 0.
My setup:
1. Android app with Skia implementation using GPU.
2. The drawing request happens right before the surface changes. This process recreates the SkSurface and causes to redraw the contents into the new surface.
3. After that zooming into the content causes eventually the content to draw with the set alpha but zooming out causes the alpha to return back to the prior wrong state.
I'm not sure what's happening? I'm on m92.