Benjamin Otte
bb8baa2b76
tests: Unrealize renderer
...
Renderers must be unrealized these days.
2018-02-02 15:34:34 +01:00
Benjamin Otte
ed1b6a9bed
gdkwindow: Remove event_mask arguments from constructors
2017-11-13 23:41:38 +01:00
Benjamin Otte
ca3c23662c
GskTexture => GdkTexture
...
We want this thing to replace GdkPixbuf, so it has to live in GDK.
2017-11-04 00:07:13 +01:00
Matthias Clasen
d779d0cb32
Avoid a compiler warning
2017-04-01 12:19:23 -04:00
Matthias Clasen
2c7e567f05
Update callers
...
Adapt all our tests and examples to the new initialization api.
2017-01-19 13:50:17 -05:00
Benjamin Otte
2571036c07
gsk: Turn GskTexture into a GObject
2017-01-01 19:53:36 +01:00
Benjamin Otte
d7e867aa95
tests: Make rendernode --dump-variant actually work
2016-12-26 17:22:01 +01:00
Benjamin Otte
c7083a5d37
tests: Make sure number of runs is 1.
2016-12-26 17:22:01 +01:00
Benjamin Otte
78582dd5e9
tests: Fix logic to detect argument length
2016-12-25 06:23:12 +01:00
Benjamin Otte
eacf725778
tests: Add a --runs argument to rendernode
...
This way we can rerun fast tests lots of times - not so much for
averaging times, but more for sysprof'ing.
2016-12-25 06:23:12 +01:00
Benjamin Otte
b97e4e8631
tests: Improve rendernode test further
...
- Print benchmark output in fallback path
- Always run rendering, even when no filename given
- Don't require a filename when running with --benchmark
2016-12-23 11:31:35 +01:00
Benjamin Otte
4bb0c70c11
gsk: Add docs and error handling to serialization API
2016-12-23 08:11:01 +01:00
Benjamin Otte
4e866ec06b
tests: Add some command-line flags to rendernode
2016-12-23 08:11:01 +01:00
Benjamin Otte
b0d5224de5
tests: Use gsk_renderer_render_texture()
...
Only keep the version that calls gsk_render_node_draw() if people
specify the --fallback option.
The actual renderer selection works just as for regular GTK. The easiest
way to influence it is setting the GSK_RENDERER environment variable.
2016-12-23 08:11:01 +01:00
Benjamin Otte
b4ac7ffed4
tests: Add a simple test to convert rendernode to png
...
Takes a rendernode file, outputs a PNG. Nothing more.
2016-12-23 08:11:00 +01:00