Benjamin Otte
6055028c96
snapshot: Rename append APIs
...
Instead of having gtk_snapshot_append_foo_node(), just have
gtk_snapshot_append_foo(). Nobody needs to know that this internally
uses nodes.
2017-01-13 04:46:09 +01:00
Benjamin Otte
2571036c07
gsk: Turn GskTexture into a GObject
2017-01-01 19:53:36 +01:00
Benjamin Otte
ed6643cf69
cssimage: Use textures in GtkCssImageSurface
...
We now use textures instead of surfaces and implement the snapshot()
vfunc instead of draw().
2016-12-20 18:01:10 +01: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