Source for CPU drawpoints?

13 views
Skip to first unread message

Tiko Tiko

unread,
Jul 28, 2024, 1:20:30 PMJul 28
to skia-discuss
Apologies if I am missing it, but where is the source for the CPU rendering of the drawPoints command?

I am looking for the low level code where it actually blits the points to the back buffer.

Specially the square points, not round.

Is it SkDraw::drawPoints?



Thanks

Brian Osman

unread,
Jul 28, 2024, 2:09:15 PMJul 28
to skia-d...@googlegroups.com
Yes, and when it calls `proc` is where the work happens (that function pointer is set depending on the point mode and some other factors). For square, antialiased points, it will end up calling `aa_square_proc`

--
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/a4833dbc-cecf-4a49-ba3c-47852964c57bn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages