Commit Graph

13 Commits

Author SHA1 Message Date
Martin Fouilleul 03b5802529 [canvas] replace simple shape helpers with normal paths operations instead of having dedicated primitives for rounded rects/ellipses and so on 2023-04-11 11:16:23 +02:00
Martin Fouilleul d1fab449bc [mtl canvas] Fixed loop implicit matrix 2023-04-07 10:15:37 +02:00
Martin Fouilleul c4e866d9d4 [mtl canvas] Fix shader contents scaling 2023-04-05 10:31:50 +02:00
Martin Fouilleul 4c4f27066b [mtl renderer] re-introduced end caps 2023-04-05 10:25:48 +02:00
Martin Fouilleul e999af6bd3 [mtl canvas] make diagonal checks inclusive in mtl_side_of_segment() 2023-04-05 10:19:25 +02:00
Martin Fouilleul 53946a5710 [mtl canvas] fix end joint not generated for paths with only 2 elements 2023-04-05 09:52:12 +02:00
Martin Fouilleul 2484cdf7b3 [mtl canvas, wip] re-introducing joints 2023-04-04 20:35:48 +02:00
Martin Fouilleul 8d7fdf3b1a [mtl canvas, wip] Fixing inclusive/exclusive bound checks during curve side tests / shortcut / rasterization 2023-04-04 19:02:53 +02:00
Martin Fouilleul 9322db8201 [mtl canvas, wip] cubic bézier implicitization 2023-04-01 19:46:35 +02:00
Martin Fouilleul 767841f9c6 [mtl canvas, wip] Fixed wrong backdrop when segment ended right on tile's bottom boundary 2023-03-30 16:41:41 +02:00
Martin Fouilleul 93998852bb [mtl canvas, wip] Re-introducing quadratics implicitization 2023-03-30 15:58:46 +02:00
Martin Fouilleul c4415aaeea [mtl canvas, wip] binning segments to tile queues 2023-03-28 17:58:23 +02:00
Martin Fouilleul f6a992e5f4 [mtl canvas] very first draft of new canvas backend based on edge-counting instead of triangle overlap 2023-03-28 13:09:48 +02:00