smithay/test_gbm_bo_get_fd_for_plane.c
Christian Meissl fe1f9f2057 gbm: detect gbm_bo_get_fd_for_plane
When available or forced with feature
backend_gbm_has_fd_for_plane use fd_for_plane
which allows the use of multi planar formats
which expose multiple planes with different fds.
2022-10-03 09:54:07 +02:00

5 lines
No EOL
71 B
C

#include <gbm.h>
void test() {
gbm_bo_get_fd_for_plane(NULL, 0);
}