These are chat archives for serge-rgb/milton

15th
Nov 2017
Sergio Gonzalez
@serge-rgb
Nov 15 2017 02:06
@Apostolique I wrote about it here: http://s3rg.io/posts/milton_renderer/
it's basically a linked list of buckets. each bucket has a bounded rectangle in canvas space and gets clipped against the screen
the size of each bucket is defined in StrokeList.h
Jean-David Moisan
@Apostolique
Nov 15 2017 05:42
So you loop through all the buckets? Buckets that aren't on the screen get clipped into nothingness?
I didn't think sometimes like that would be so fast
Jean-David Moisan
@Apostolique
Nov 15 2017 06:02
*something
Sergio Gonzalez
@serge-rgb
Nov 15 2017 18:06
why wouldn't it be fast? each bucket is pretty big so cache effects are negligible, and doing it this way gives us one level of hierarchy that allows us to keep most strokes out of GPU memory for very big drawings