Christian Hergert
378c9614ed
lib: use source for cairo fill operator
2023-03-02 17:55:30 -08:00
Christian Hergert
4c7711823a
lib: make cairo formats conditional
2023-02-17 16:27:36 -08:00
Christian Hergert
f335b4cb45
lib: use 128 pixel textures
...
These come out to 64kb with 4 bytes-per-pixel which seams reasonable
enough for texture uploads.
2023-02-14 14:26:23 -08:00
Christian Hergert
2efcaed79a
lib: use cairo_paint()
...
We don't care about paths here, so just use cairo_paint().
2023-02-14 12:23:06 -08:00
Christian Hergert
441b7355ef
lib: tweak cairo drawing a bit and fix invalidation
2023-02-14 11:59:04 -08:00
Christian Hergert
d8d2b60a93
lib: fix height usage in aspect ratio
2023-02-14 10:37:12 -08:00
Christian Hergert
3bc40bdb7b
lib: remove scaling code
...
This is a GtkPicture oddity and we shouldn't paper over it here. Instead
we can handle it in the display widget.
2023-02-13 20:55:49 -08:00
Christian Hergert
01dab99590
lib: add MksCairoFramebuffer
...
This adds MksCairoFramebuffer which does tessellation to get damage regions
for the framebuffer. Still some bugs involved, but good enough to get some
bits on the screen which is what I'm looking for right now.
2023-02-13 17:38:30 -08:00