Skip to content

graphview: draw the background grid via CSS instead of manually with cairo

Tom Wagner requested to merge ryuukyu/helvum-dev:grid-css into main

This makes gtk draw the background grid for us via CSS, instead of manually drawing each line via cairo.

This improves performance, as the grid may now be drawn via GPU, and gets rid of the custom drawing code we had.

This is especially important for !30 (merged), as the amount of drawing when zoomed in can be much greater than in normal cases.

Merge request reports