Stroked rounded rects always using GrSoftwarePathRenderer?

17 views
Skip to first unread message

Sidhu Alluri

unread,
Jan 10, 2020, 9:50:33 PM1/10/20
to skia-discuss
Hi,

I've been trying out CanvasKit wasm and I'm noticing that when I draw a stroked rounded rect with AA, it always uses GrSoftwarePathRenderer. Is this expected? 

Jim Van Verth

unread,
Jan 13, 2020, 9:34:30 AM1/13/20
to skia-discuss
Is it a simple rounded rect, i.e., are the radii on each corner the same? If so, that's not expected.

On Fri, Jan 10, 2020 at 9:50 PM Sidhu Alluri <si...@projector.com> wrote:
Hi,

I've been trying out CanvasKit wasm and I'm noticing that when I draw a stroked rounded rect with AA, it always uses GrSoftwarePathRenderer. Is this expected? 

--
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 skia-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/955cdf66-a5f3-41c0-a718-51cb7285cff2%40googlegroups.com.


--

Jim Van Verth | Software Engineer | jvan...@google.com | 919-210-7664

Sidhu Alluri

unread,
Jan 13, 2020, 3:14:34 PM1/13/20
to skia-discuss
It is a simple rounded rect drawn by 

canvas.drawRoundRect(...)

and all the radii on each corner is the same. The SkPaint has nothing special either, just a stroke width and color set

On Monday, January 13, 2020 at 6:34:30 AM UTC-8, Jim Van Verth wrote:
Is it a simple rounded rect, i.e., are the radii on each corner the same? If so, that's not expected.

On Fri, Jan 10, 2020 at 9:50 PM Sidhu Alluri <si...@projector.com> wrote:
Hi,

I've been trying out CanvasKit wasm and I'm noticing that when I draw a stroked rounded rect with AA, it always uses GrSoftwarePathRenderer. Is this expected? 

--
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 skia-d...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages