PNDeb / pinenote-debian-image

A user-ready linux image/rootfs for the Pine64 Pinenote based on Debian trixie and GNOME
GNU General Public License v3.0
68 stars 8 forks source link

Meta: Drawing/Writing #81

Open m-weigand opened 1 month ago

m-weigand commented 1 month ago

This is a meta issue regarding improving drawing and writing.

to be filled...

Writing applications

Development

The main issue of drawing applications is that we need the smallest possible damage regions in order to reach acceptable drawing speed. Just refreshing the screen completly does not work with eink screens. Note that gtk4 needs to be investigated in this regard.

hrdl-github commented 18 hours ago

Note that gtk4 needs to be investigated in this regard.

The GTK4 branch of Xournal++ https://github.com/xournalpp/xournalpp/pull/5615 seems to rely on a single surface for the entire drawing area, which is damaged only in its entirety. RNote on the other hand seems to use a new surface for every "render node", effectively reducing the size of the damage area.