2 #ifndef _WINSYS_HANDLE_H_
3 #define _WINSYS_HANDLE_H_
9 #define WINSYS_HANDLE_TYPE_SHARED 0
10 #define WINSYS_HANDLE_TYPE_KMS 1
11 #define WINSYS_HANDLE_TYPE_FD 2
12 #define WINSYS_HANDLE_TYPE_SHMID 3
15 * For use with pipe_screen::{texture_from_handle|texture_get_handle}.
20 * Input for texture_from_handle, valid values are
21 * WINSYS_HANDLE_TYPE_SHARED or WINSYS_HANDLE_TYPE_FD.
22 * Input to texture_get_handle,
23 * to select handle for kms, flink, or prime.
27 * Input for texture_get_handle, allows to export the offset
28 * of a specific layer of an array texture.
32 * Input for texture_get_handle, allows to export of a specific plane of a
37 * Input to texture_from_handle.
38 * Output for texture_get_handle.
42 * Input to texture_from_handle.
43 * Output for texture_get_handle.
47 * Input to texture_from_handle.
48 * Output for texture_get_handle.
53 * Input to resource_from_handle.
54 * Output from resource_get_handle.
59 * Input to resource_from_handle.
60 * Output from resource_get_handle.
69 #endif /* _WINSYS_HANDLE_H_ */