Commit graph

9 commits

Author SHA1 Message Date
Olivier Goffart
2ad648ac66 swrenderer: Do not draw the inside of rounder rectangle if it is transparent
No need to blend a slice of transparent color
2022-08-25 12:37:05 +02:00
Olivier Goffart
ab4ce29749 Add a Rgb565Pixel
So we don't have to depend on embedded_graphics just for that
2022-08-25 12:37:05 +02:00
Olivier Goffart
a27806aca8 Add a feature to use the sofware renderer with the winit backend
Currently, you still need to pass some env variable at build time so it
embeds the font.
2022-08-22 19:02:28 +02:00
Olivier Goffart
243df1ed54 Rename blend_buffer to blend_slice 2022-08-22 09:52:56 +02:00
Olivier Goffart
228e2d9a7e Some polishing of the TargetPixel trait 2022-08-22 09:52:56 +02:00
Simon Hausmann
df99b95a0b Don't export DEFAULT_FONT_SIZE into slint_internal.h 2022-07-26 11:21:40 +02:00
Olivier Goffart
4ecc2cd1c0 swrenderer: add a renderer that operate dirrectly on the frame buffer 2022-07-06 17:06:40 +02:00
Olivier Goffart
014c827194 swrenderer: Optimize image drawing by using premultiplied colors 2022-06-14 11:23:02 +02:00
Olivier Goffart
a72115518d Move the software renderer to core 2022-06-04 13:40:50 +02:00