Timm Bäder
af6adb5bc0
gl renderer: Add test case for last commit
2018-01-04 12:20:27 +01:00
Timm Bäder
767df913d1
testsuite: Move gl renderer nodes files into their own directory
...
Otherwise, they get picked up by the other node tests.
2017-12-28 16:48:35 +01:00
Timm Bäder
e1c120623b
tests: Fix the unblurred gl renderer output images
...
Some of these were wrong or empty.
2017-12-28 16:48:35 +01:00
Timm Bäder
8312ee0ebe
testsuite: Add selected gl renderer test node files
2017-12-28 16:48:35 +01:00
Timm Bäder
e05b0ae9a4
test-render-nodes: Add transformed clip nodes test
2017-12-21 19:12:30 +01:00
Timm Bäder
4aa3f51016
test-render-nodes: Add color matrix test
2017-12-21 18:25:52 +01:00
Timm Bäder
8c8583d04f
test-render-nodes: Print a warning if we didn't generate anything
2017-12-21 18:25:52 +01:00
Timm Bäder
04742f320e
build: Remove unused variable
2017-12-21 18:25:52 +01:00
Benjamin Otte
ed1b6a9bed
gdkwindow: Remove event_mask arguments from constructors
2017-11-13 23:41:38 +01:00
Benjamin Otte
8900024697
testsuite: Unrealize renderers before unreffing
...
This is now necessary, because the GL renderer crashes if we don't
enforce it.
2017-11-05 06:55:01 +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
Chun-wei Fan
5b9177f53b
testsuite/gsk/test-render-nodes.c: Include <stdlib.h>
...
This is so that the compiler won't complain about our use of exit()
https://bugzilla.gnome.org/show_bug.cgi?id=773299
2017-10-25 00:50:21 +08:00
Timm Bäder
9f1716edaa
testsuite: Disable vulkan tests when vulkan isn't available
...
They are always going to fail in that case anyway.
2017-10-23 08:02:57 +02:00
Matthias Clasen
243bd4f0c8
gsk: Tweak cairo node apis
...
Rename the surface getter to peek, following other render
node getters, and make the surface-based constructor private,
since it is not something we want to encourage.
Update all callers.
2017-10-20 13:54:01 +02:00
Matthias Clasen
82e33823a9
Add a test for opacity render nodes
...
This test currently fails with the Vulkan renderer, despite
having its own reference image.
2017-10-18 23:45:43 +02:00
Matthias Clasen
4a22704d82
Fix test environments
2017-10-18 17:30:20 +02:00
Matthias Clasen
b7098a0ebc
testsuite: be a bit more verbose
...
This may help tracking down some failures.
2017-10-18 17:30:20 +02:00
Matthias Clasen
389307eb2c
Install separate render node test for cairo and vulkan
...
The vulkan test currently fails.
2017-10-18 17:30:20 +02:00
Matthias Clasen
fb22f84059
testsuite: don't write into installed locations
...
Save the output of the render node tests in /tmp.
2017-10-18 17:30:20 +02:00
Matthias Clasen
b0b0095cf8
Test suite cosmetics
...
Reshuffle things a bit more, sort the test files into subdirectories,
and shorten their names.
2017-10-18 17:30:20 +02:00
Matthias Clasen
68503c3e13
Add some backend-specific reference images for render nodes
2017-10-18 17:30:20 +02:00
Matthias Clasen
e9d47e9516
Run the gsk tests for both cairo and vulkan
...
The vulkan tests fail currently.
2017-10-18 17:30:20 +02:00
Matthias Clasen
abe7d8a846
More testsuite cosmetics
...
Unify the test naming some more.
2017-10-18 17:30:20 +02:00
Matthias Clasen
49ab093f26
Add a transform node reftest
2017-10-08 23:19:35 -04:00
Matthias Clasen
4db1a7541a
Add another cross-fade reftest
2017-10-08 22:45:05 -04:00
Matthias Clasen
e3f5a8bd47
Regenerate blendmodes reftest
2017-10-08 21:13:43 -04:00
Matthias Clasen
cd4892c50a
Stop using gsk_cairo_node_new_for_surface
...
Best to avoid handling the surface ourselves.
2017-10-08 20:05:16 -04:00
Matthias Clasen
6e5ded8492
Add another blendmodes reftest
...
This tests all blendmodes. Again, the Vulkan renderer fails.
2017-10-08 19:58:09 -04:00
Matthias Clasen
87aaa5685b
Add a cross-fade node ref test
...
The Vulkan renderer doesn't pass this one either, currently.
2017-10-08 14:36:35 -04:00
Matthias Clasen
eacdeec29e
Add a blendmode node reftest
...
The Vulkan renderer doesn't pass this, currently.
2017-10-08 14:29:27 -04:00
Matthias Clasen
8dc48d0322
Expand the repeat node test
...
Still not exhaustive, but enough to find some issues.
2017-10-08 13:50:41 -04:00
Matthias Clasen
1fe4e12356
Add a repeat node test
2017-10-08 12:23:18 -04:00
Matthias Clasen
df549c4e9f
Add a basic cairo node test
2017-10-08 12:21:45 -04:00
Matthias Clasen
95f29de710
Allow backend-specific reference images
...
This is not ideal, but lets us deal with differences for now.
2017-10-08 12:21:36 -04:00
Matthias Clasen
8beb78149d
Start reftests for gsk
...
Add a framework similar to what we have for gtk reftests
that lets us drop in a function to generate render nodes,
and compare reference output.
2017-10-02 00:21:56 -04:00
Emmanuele Bassi
391d1a04ec
Drop Autotools build
...
We are officially switching to Meson as the default build system for
GTK+.
2017-08-14 22:23:09 +01:00
Alexander Larsson
723b588b5d
Make gdk.la and gsk.la a noninst helper library
...
This merged gtk, gdk and gsk into one library, making it possible to
have internal private APIs between gtk them, as well as producing more
efficient code.
https://bugzilla.gnome.org/show_bug.cgi?id=773100
2016-10-26 16:34:15 +02:00
Emmanuele Bassi
d519e4aafe
gsk: Initial commit / build environment
2016-10-18 11:29:34 +01:00