[vlc-devel] [PATCH 1/3] vout-window: add drm-gbm window type and gbm surface/display
Victorien Le Couviour--Tuffet
victorien.lecouviour.tuffet at gmail.com
Thu Jun 8 11:51:17 CEST 2017
---
include/vlc_vout_window.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/vlc_vout_window.h b/include/vlc_vout_window.h
index 69a719bd2a..98f6964721 100644
--- a/include/vlc_vout_window.h
+++ b/include/vlc_vout_window.h
@@ -53,6 +53,7 @@ enum {
VOUT_WINDOW_TYPE_NSOBJECT,
VOUT_WINDOW_TYPE_ANDROID_NATIVE,
VOUT_WINDOW_TYPE_WAYLAND,
+ VOUT_WINDOW_TYPE_DRM_GBM,
};
/**
@@ -133,12 +134,14 @@ struct vout_window_t {
void *nsobject; /* Mac OSX view object */
void *anativewindow; /* Android native window. */
struct wl_surface *wl; /* Wayland surface */
+ struct gbm_surface *gbm; /* GBM surface */
} handle;
/* display server (mandatory) */
union {
char *x11; /* X11 display (NULL = use default) */
struct wl_display *wl; /* Wayland struct wl_display pointer */
+ struct gbm_device *gbm; /* GBM device */
} display;
/* Control on the module (mandatory)
--
2.13.0
More information about the vlc-devel
mailing list