weston/tests
Leandro Ribeiro c51d4ad9c8 drm-formats: save result of intersection in the first array
In the current API, we have some set operations: join, intersect and
subtract. Both join and subtract receives two DRM format arrays and save
the result in the first one.

For the intersection we have a slightly different approach, what makes
the API weird. We don't save the result in the arguments, instead we
return a new array with the result.

Modify weston_drm_format_array_intersect() in order to make it similar
to the other two set operations.

Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
Reviewed-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
2021-09-06 12:52:37 +00:00
..
reference tests/alpha-blending: add sRGB linear light case 2021-06-21 14:36:33 +00:00
alpha-blending-test.c tests/alpha-blending: add sRGB linear light case 2021-06-21 14:36:33 +00:00
bad-buffer-test.c tests: fix leaks in bad-buffer 2021-06-15 07:43:00 +00:00
buffer-transforms-test.c tests: fix refname leaks 2021-06-15 07:43:00 +00:00
color-manager-test.c Revert "compositor: add weston.ini option use-renderer-shadow" 2021-06-14 16:04:43 +03:00
config-parser-test.c tests/config-parser: Remove useless duplicate test 2019-11-28 19:24:13 +00:00
devices-test.c tests: fix all leaks in devices-test 2021-06-28 14:21:43 +03:00
drm-formats-test.c drm-formats: save result of intersection in the first array 2021-09-06 12:52:37 +00:00
drm-smoke-test.c tests: add drm_screenshot_no_damage 2021-02-25 12:47:07 +02:00
event-test.c tests: fix leak in events 2021-06-16 14:41:08 +00:00
input-timestamps-helper.c tests: replace fprintf() with testlog() 2019-11-22 12:54:10 +02:00
input-timestamps-helper.h tests: Introduce input timestamps helper 2018-02-20 10:20:29 +02:00
internal-screenshot-test.c tests: fix leaks in internal-screenshot-test 2021-06-16 14:41:08 +00:00
ivi-layout-internal-test.c tests: migrate ivi-layout-internal 2020-01-30 10:10:35 +00:00
ivi-layout-test-client.c tests: fix leaks in ivi-layout-test-client 2021-06-16 14:41:08 +00:00
ivi-layout-test-plugin.c tests: Bump alignment for test structures to 64 bytes 2021-08-03 18:42:25 +01:00
ivi-shell-app-test.c tests: fix leak in ivi-shell-app-test 2021-06-16 14:41:08 +00:00
ivi-test.h ivi-shell: implement surface_on_many_layer test 2016-06-29 11:32:23 +03:00
keyboard-test.c tests: destroy client in keyboard-test 2021-06-16 14:41:08 +00:00
linux-explicit-synchronization-test.c tests: fix all leaks in linux-explicit-synchronization-test 2021-06-28 14:21:27 +03:00
matrix-test.c Rename matrix.h to libweston/matrix.h 2019-04-18 12:31:46 +03:00
meson.build tests/roles: switch to xdg-shell 2021-07-23 17:26:02 +01:00
output-damage-test.c tests: fix refname leaks 2021-06-15 07:43:00 +00:00
output-transforms-test.c tests: fix refname leaks 2021-06-15 07:43:00 +00:00
plugin-registry-test.c tests: thread-based client harness 2020-01-30 10:10:34 +00:00
pointer-shot-test.c tests: fix leak in surface_commit_color() in pointer-shot 2021-06-16 14:41:08 +00:00
pointer-test.c tests: destroy client in pointer-test 2021-06-16 14:41:08 +00:00
presentation-test.c tests: fix leaks in presentation-test 2021-06-16 14:41:08 +00:00
roles-test.c tests/roles: switch to xdg-shell 2021-07-23 17:26:02 +01:00
setbacklight.c tests: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07:00
string-test.c tests: add missing include 2017-01-23 14:12:06 +02:00
subsurface-shot-test.c tests: fix some leaks in subsurface-shot-test 2021-06-28 14:20:27 +03:00
subsurface-test.c tests: reduce subsurface-test verbosity 2021-06-23 15:20:25 +03:00
surface-global-test.c tests: fix all leaks in surface-global-test 2021-06-28 14:21:27 +03:00
surface-screenshot-test.c Unify the include style of shared/ headers 2019-10-04 16:04:48 +03:00
surface-test.c tests: fix all leaks in surface-test 2021-06-28 14:21:27 +03:00
text-test.c tests: fix all leaks in text-test 2021-06-28 14:21:27 +03:00
timespec-test.c Unify the include style of shared/ headers 2019-10-04 16:04:48 +03:00
touch-test.c tests: fix all leaks in touch-test 2021-06-28 14:21:27 +03:00
vertex-clip-test.c shared/helpers: use ARRAY_COPY where possible 2021-04-28 12:17:24 -03:00
viewporter-shot-test.c tests: introduce struct fixture_metadata 2021-02-17 12:52:33 +00:00
viewporter-test.c tests: clean up after viewporter-test 2021-05-31 12:35:01 +03:00
weston-test-client-helper.c tests: Store the pointer event serial 2021-06-10 17:20:30 +03:00
weston-test-client-helper.h tests: Store the pointer event serial 2021-06-10 17:20:30 +03:00
weston-test-desktop-shell.c tests: call weston_layer_fini() 2021-05-28 13:38:28 +03:00
weston-test-fixture-compositor.c libweston: add required_capabilities test suite quirk 2021-03-12 16:14:28 +02:00
weston-test-fixture-compositor.h tests: add mechanism to change Weston's behavior when running certain tests 2020-10-27 11:21:55 +00:00
weston-test-runner.c tests: add build option to force skips as failures 2021-03-12 16:14:28 +02:00
weston-test-runner.h tests: Bump alignment for test structures to 64 bytes 2021-08-03 18:42:25 +01:00
weston-test.c Fix indentation all through the project 2021-07-31 15:28:20 +00:00
weston-testsuite-data.h tests: use fixture names in reports 2021-02-17 12:52:33 +00:00
xwayland-test.c tests: migrate xwayland 2020-01-30 10:10:35 +00:00
yuv-buffer-test.c tests: free pixman image in yuv-buffer-test 2021-06-28 14:21:27 +03:00