tests: add a create_test_surface function
authorEmilio Pozuelo Monfort <pochu27@gmail.com>
Fri, 3 Feb 2017 15:10:37 +0000 (16:10 +0100)
committerDaniel Stone <daniels@collabora.com>
Mon, 4 Dec 2017 21:58:00 +0000 (21:58 +0000)
commit5c3f3575d56702c71b44b612eb3a8cdf8f674f1a
tree9b3b04d43bf9090401ba7aa65db683bdf68e1f5d
parent85d55540cb64bf97a08b40f79dc66843f8295d3b
tests: add a create_test_surface function

This doesn't attach a buffer to the surface. This is needed for the
next commit, where we have a test case with a surface that doesn't
have a buffer attached.

Signed-off-by: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Daniel Stone <daniels@collabora.com>
tests/weston-test-client-helper.c
tests/weston-test-client-helper.h