weston/tests
Pekka Paalanen 312fe5f445 surface-screenshot: a new manual test module
Add a new Weston plugin under tests/ for manual testing of the
surface-shooting API.

The debug key binding 'h' triggers a surface shot from the surface that
currently has the pointer focus. The shot is written in PAM format into
a file. PAM format was chosen because it is dead-simple to write from
scratch and can carry an RGBA format.

Changes in v2:
- check fprintf calls, fix a malloc without free
- remove stride and format arguments from the API

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
v1 Tested-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
Reviewed-by: Daniel Stone <daniels@collabora.com>
2015-02-25 14:48:02 +02:00
..
.gitignore Makefile.am: Fix protocol source files usage 2014-02-01 21:21:39 -08:00
bad-buffer-test.c tests: Cleanup superfluous headers 2014-11-28 15:54:31 +02:00
buffer-count-test.c tests: Skip buffer count test if wl_drm isn't present 2015-01-23 18:16:48 -08:00
button-test.c tests: Rename wayland-test to weston-test 2015-02-24 11:26:29 -08:00
config-parser-test.c Make sure config.h is included before any system headers 2014-04-07 10:22:28 -07:00
event-test.c tests: Rename wayland-test to weston-test 2015-02-24 11:26:29 -08:00
keyboard-test.c tests: Rename wayland-test to weston-test 2015-02-24 11:26:29 -08:00
matrix-test.c matrix-test: fix units in report 2014-09-05 11:32:36 +03:00
presentation-test.c tests, clients: add Presentation feedback flags 2015-01-20 17:13:27 -08:00
roles-test.c tests: add role conflict sub-surface vs. wl_shell_surface 2014-10-08 13:16:40 +03:00
setbacklight.c tests: Cleanup superfluous headers 2014-11-28 15:54:31 +02:00
subsurface-test.c tests: Cleanup superfluous headers 2014-11-28 15:54:31 +02:00
surface-global-test.c Make sure config.h is included before any system headers 2014-04-07 10:22:28 -07:00
surface-screenshot.c surface-screenshot: a new manual test module 2015-02-25 14:48:02 +02:00
surface-test.c tests: Cleanup superfluous headers 2014-11-28 15:54:31 +02:00
text-test.c tests: Rename wayland-test to weston-test 2015-02-24 11:26:29 -08:00
vertex-clip-test.c tests: Cleanup superfluous headers 2014-11-28 15:54:31 +02:00
weston-test-client-helper.c tests: Rename wayland-test to weston-test 2015-02-24 11:26:29 -08:00
weston-test-client-helper.h tests: Rename wayland-test to weston-test 2015-02-24 11:26:29 -08:00
weston-test-runner.c tests: Cleanup superfluous headers 2014-11-28 15:54:31 +02:00
weston-test-runner.h tests: Move ARRAY_LENGTH to a shared header for reuse 2014-11-28 15:56:45 +02:00
weston-test.c tests: Rename wayland-test to weston-test 2015-02-24 11:26:29 -08:00
weston-tests-env tests: Allow tests to use customized command line parameters 2014-11-24 12:21:05 +02:00
xwayland-test.c xwayland-test: Replace the xwayland-test 2015-01-30 12:21:39 -08:00