diff options
author | Bryce Harrington <bryce@osg.samsung.com> | 2015-05-14 14:36:18 -0700 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2015-05-21 15:06:36 -0700 |
commit | 39a5be2a1fbb2a2664e85f38855a2be39335c8a5 (patch) | |
tree | 8b254112c21e6788acd702f26c9c36b267ebb44d /tests/weston-test-client-helper.h | |
parent | 198f941ec82202c2f1953dc760d6c3eca9ab4a29 (diff) | |
download | weston-39a5be2a1fbb2a2664e85f38855a2be39335c8a5.tar.gz |
tests: Add check_surfaces_geometry()
Minor refactoring to simplify initial sanity checks of surfaces.
Conceivably useful for other basic checking.
Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewed-By: Derek Foreman <derekf@osg.samsung.com>
Diffstat (limited to 'tests/weston-test-client-helper.h')
-rw-r--r-- | tests/weston-test-client-helper.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/weston-test-client-helper.h b/tests/weston-test-client-helper.h index 0ff28770..5762258f 100644 --- a/tests/weston-test-client-helper.h +++ b/tests/weston-test-client-helper.h @@ -200,6 +200,9 @@ char* screenshot_reference_filename(const char *basename, uint32_t seq); bool +check_surfaces_geometry(const struct surface *a, const struct surface *b); + +bool check_surfaces_equal(const struct surface *a, const struct surface *b); bool |