Skip to content

tests: Extract image-iter.h

Pekka Paalanen requested to merge pq/weston:mr/imageiter into main

Share the struct image_header helper with all test code, with another helper added to get a pointer to the beginning of a row. Everything under tests/ that benefits from migrating to the helpers are also migrated. The rest that still call pixman_iamge_get_*() mostly just need width, height and nothing more, so migrating those would not gain anything.

cc @vitalyp

Merge request reports

Loading