Rev 5362 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5362 | Rev 5366 | ||
---|---|---|---|
Line 28... | Line 28... | ||
28 | #include |
28 | #include |
29 | #include |
29 | #include |
30 | #include |
30 | #include |
31 | #include "va_display.h" |
31 | #include "va_display.h" |
Line 32... | Line -... | ||
32 | - | ||
33 | extern const VADisplayHooks va_display_hooks_android; |
- | |
34 | extern const VADisplayHooks va_display_hooks_wayland; |
- | |
35 | extern const VADisplayHooks va_display_hooks_x11; |
32 | |
Line 36... | Line 33... | ||
36 | extern const VADisplayHooks va_display_hooks_drm; |
33 | extern const VADisplayHooks va_display_hooks_drm; |
37 | 34 | ||
38 | static const VADisplayHooks *g_display_hooks; |
- | |
39 | static const VADisplayHooks *g_display_hooks_available[] = { |
- | |
40 | #ifdef ANDROID |
- | |
41 | &va_display_hooks_android, |
- | |
42 | #else |
- | |
43 | #ifdef HAVE_VA_WAYLAND |
- | |
44 | &va_display_hooks_wayland, |
- | |
45 | #endif |
- | |
46 | #ifdef HAVE_VA_X11 |
- | |
47 | &va_display_hooks_x11, |
- | |
48 | #endif |
35 | static const VADisplayHooks *g_display_hooks; |
49 | #ifdef HAVE_VA_DRM |
- | |
50 | &va_display_hooks_drm, |
- | |
51 | #endif |
36 | static const VADisplayHooks *g_display_hooks_available[] = { |
52 | #endif |
37 | &va_display_hooks_drm, |
Line 53... | Line 38... | ||
53 | NULL |
38 | NULL |