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.
5 lines
No EOL
71 B
C
5 lines
No EOL
71 B
C
#include <gbm.h>
|
|
|
|
void test() {
|
|
gbm_bo_get_fd_for_plane(NULL, 0);
|
|
} |