paths and blendmode multiply

Skip to first unread message

Shawn Riordan

May 26, 2023, 9:02:04 AM5/26/23
to skia-discuss
- Skia m104
- Draw paths (not text) with blendmode when using kNativeGL
- kScreen works fine, but kMultiply doesn't render anything
- Draws correctly with the kRaster backend:

But several blendmodes don't draw at all, with kNativeGL.
Any ideas?

John Stiles

May 26, 2023, 9:08:01 AM5/26/23
Can you please put together a fiddle demonstrating the issue?

You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

Shawn Riordan

May 26, 2023, 9:49:36 AM5/26/23
to skia-discuss
It doesn't seem to happen in the newest version:

But it is happening in m104.
I was wondering if someone remembered a bug back in the day.
Like "OpenGL fragment shader for some blendmodes not working."

Robert Phillips

May 26, 2023, 10:00:29 AM5/26/23
If I had to guess I would say it was: (Flush color writing in GrGLGpu::flushBlendAndColorWrite for advanced blend modes).

It is a one line change so should be simple enough to patch in and verify.


Reply all
Reply to author
0 new messages