gbm: Add gbm_device_get_format_modifier_plane_count to test
[mesa.git] / src / gbm / gbm-symbols-check
1 #!/bin/sh
2
3 FUNCS=$(nm -D --defined-only ${1-.libs/libgbm.so} | grep -o "T .*" | cut -c 3- | while read func; do
4 ( grep -q "^$func$" || echo $func ) <<EOF
5 gbm_device_get_fd
6 gbm_device_get_backend_name
7 gbm_device_is_format_supported
8 gbm_device_destroy
9 gbm_device_get_format_modifier_plane_count
10 gbm_create_device
11 gbm_bo_create
12 gbm_bo_create_with_modifiers
13 gbm_bo_import
14 gbm_bo_map
15 gbm_bo_unmap
16 gbm_bo_get_width
17 gbm_bo_get_height
18 gbm_bo_get_stride
19 gbm_bo_get_stride_for_plane
20 gbm_bo_get_format
21 gbm_bo_get_bpp
22 gbm_bo_get_offset
23 gbm_bo_get_device
24 gbm_bo_get_handle
25 gbm_bo_get_fd
26 gbm_bo_get_plane_count
27 gbm_bo_get_handle_for_plane
28 gbm_bo_get_modifier
29 gbm_bo_write
30 gbm_bo_set_user_data
31 gbm_bo_get_user_data
32 gbm_bo_destroy
33 gbm_surface_create
34 gbm_surface_create_with_modifiers
35 gbm_surface_needs_lock_front_buffer
36 gbm_surface_lock_front_buffer
37 gbm_surface_release_buffer
38 gbm_surface_has_free_buffers
39 gbm_surface_destroy
40 _fini
41 _init
42 EOF
43 done)
44
45 test ! -n "$FUNCS" || echo $FUNCS
46 test ! -n "$FUNCS"