Sebastian Keller
7e2bebb4d5
GtkCssImageSurface: Plug cache surface leak
...
Fixes https://gitlab.gnome.org/GNOME/gtk/issues/2373
2020-01-13 23:24:47 +01:00
Juan Pablo Ugarte
e36b629c36
GtkCssImageSurface: set device scale for cache surface
...
Closes #63
2018-03-05 14:47:00 -03:00
Juan Pablo Ugarte
2a8e1745cf
GtkCssImageSurface: add cache for the last drawn size.
...
Keep a copy of the scaled image to speed up rendering multiple times
the image at the same size.
2018-01-09 11:29:10 -03:00
Benjamin Otte
bf130da741
cssimage: Handle 0x0 images
...
0x0 images can happen when we fail to load an image - or when we
successfully load a 0x0 image.
2015-12-16 01:50:00 +01:00
Alexander Larsson
6cc5d29792
Use gdk_cairo_surface_create_from_pixbuf when possible
2013-07-03 14:39:25 +02:00
Matthias Clasen
67a18b7cf9
Fix an sed accident
...
This broke our css parser tests. Yay for tests !
2013-02-04 08:33:58 -05:00
Benjamin Otte
18ca907c4c
css: Split out GtkCssImageSurface
...
This is essentially a GtkCssImage for a cairo_surface_t and is a pretty
much straight up copy of GtkCssImageUrl. But we want to implement lazy
loading and animations, so GtkCssImageUrl is going to gain new
features...
https://bugzilla.gnome.org/show_bug.cgi?id=692934
2013-02-02 01:43:30 +01:00