Blender  V3.3
wayland_dynload_cursor.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 #ifdef WAYLAND_DYNLOAD_FN
20 #elif defined(WAYLAND_DYNLOAD_IFACE)
21 /* No interfaces. */
22 #else
23 
24 /* Header guard. */
25 # if !defined(__WAYLAND_DYNLOAD_CURSOR_H__) && !defined(WAYLAND_DYNLOAD_VALIDATE)
26 # define __WAYLAND_DYNLOAD_CURSOR_H__
27 
28 # include <wayland-cursor.h>
30 
31 /* Support validating declarations against the header. */
32 # ifndef WAYLAND_DYNLOAD_VALIDATE
33 # define WL_DYN_FN(a) (*a)
34 # else
35 # define WL_DYN_FN(a) (a)
36 # endif
37 
38 # ifndef WAYLAND_DYNLOAD_VALIDATE
40 # endif
41 
42  struct wl_cursor_theme *WL_DYN_FN(wl_cursor_theme_load)(const char *name,
43  int size,
44  struct wl_shm *shm);
45  void WL_DYN_FN(wl_cursor_theme_destroy)(struct wl_cursor_theme *theme);
46  struct wl_cursor *WL_DYN_FN(wl_cursor_theme_get_cursor)(struct wl_cursor_theme *theme,
47  const char *name);
48  struct wl_buffer *WL_DYN_FN(wl_cursor_image_get_buffer)(struct wl_cursor_image *image);
49  int WL_DYN_FN(wl_cursor_frame)(struct wl_cursor *cursor, uint32_t time);
50  int WL_DYN_FN(wl_cursor_frame_and_duration)(struct wl_cursor *cursor,
51  uint32_t time,
52  uint32_t *duration);
53 
54 # ifndef WAYLAND_DYNLOAD_VALIDATE
55 };
56 # endif
57 # undef WL_DYN_FN
58 
59 # ifndef WAYLAND_DYNLOAD_VALIDATE
60 # define wl_cursor_theme_load(...) (*wayland_dynload_cursor.wl_cursor_theme_load)(__VA_ARGS__)
61 # define wl_cursor_theme_destroy(...) \
62  (*wayland_dynload_cursor.wl_cursor_theme_destroy)(__VA_ARGS__)
63 # define wl_cursor_theme_get_cursor(...) \
64  (*wayland_dynload_cursor.wl_cursor_theme_get_cursor)(__VA_ARGS__)
65 # define wl_cursor_image_get_buffer(...) \
66  (*wayland_dynload_cursor.wl_cursor_image_get_buffer)(__VA_ARGS__)
67 # define wl_cursor_frame(...) (*wayland_dynload_cursor.wl_cursor_frame)(__VA_ARGS__)
68 # define wl_cursor_frame_and_duration(...) \
69  (*wayland_dynload_cursor.wl_cursor_frame_and_duration)(__VA_ARGS__)
70 # endif /* !WAYLAND_DYNLOAD_VALIDATE */
71 # endif /* !__WAYLAND_DYNLOAD_CLIENT_H__ */
72 #endif /* !defined(WAYLAND_DYNLOAD_FN) && !defined(WAYLAND_DYNLOAD_IFACE) */
73 
74 #ifdef __cplusplus
75 }
76 #endif
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
Definition: btDbvt.cpp:52
double time
depth_tx normal_tx diffuse_light_tx specular_light_tx volume_light_tx environment_tx ambient_occlusion_tx aov_value_tx in_weight_img image(1, GPU_R32F, Qualifier::WRITE, ImageType::FLOAT_2D_ARRAY, "out_weight_img") .image(3
unsigned int uint32_t
Definition: stdint.h:80
int WL_DYN_FN() wl_cursor_frame(struct wl_cursor *cursor, uint32_t time)
struct wl_cursor_theme *WL_DYN_FN() wl_cursor_theme_load(const char *name, int size, struct wl_shm *shm)
struct wl_cursor *WL_DYN_FN() wl_cursor_theme_get_cursor(struct wl_cursor_theme *theme, const char *name)
struct wl_buffer *WL_DYN_FN() wl_cursor_image_get_buffer(struct wl_cursor_image *image)
void WL_DYN_FN() wl_cursor_theme_destroy(struct wl_cursor_theme *theme)
int WL_DYN_FN() wl_cursor_frame_and_duration(struct wl_cursor *cursor, uint32_t time, uint32_t *duration)
#define WAYLAND_DYNLOAD_FN(symbol)
struct WaylandDynload_Cursor wayland_dynload_cursor
#define WL_DYN_FN(a)
#define wl_cursor_frame_and_duration(...)
#define wl_cursor_frame(...)
#define wl_cursor_theme_get_cursor(...)
#define wl_cursor_theme_load(...)
#define wl_cursor_image_get_buffer(...)
#define wl_cursor_theme_destroy(...)