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