diff options
author | Benjamin Franzke <[email protected]> | 2011-04-30 11:18:23 +0200 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2011-05-13 09:31:10 -0400 |
commit | 184bb09ff5cf2715dfee91e25ec20cbaa2e4445c (patch) | |
tree | 9c444c9a299ed5d5bd6db6a657eae3a26756419c /src/gallium/state_trackers/egl/drm/native_drm.h | |
parent | 83c68758be3589edeab4d20346388241dc2ebaac (diff) |
st/egl: Implement EGL_WL_bind_wayland_display for x11,drm,wayland
Diffstat (limited to 'src/gallium/state_trackers/egl/drm/native_drm.h')
-rw-r--r-- | src/gallium/state_trackers/egl/drm/native_drm.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/egl/drm/native_drm.h b/src/gallium/state_trackers/egl/drm/native_drm.h index 7da9b45f23e..41cdc4f9d04 100644 --- a/src/gallium/state_trackers/egl/drm/native_drm.h +++ b/src/gallium/state_trackers/egl/drm/native_drm.h @@ -37,6 +37,10 @@ #include "common/native.h" #include "common/native_helper.h" +#ifdef HAVE_WAYLAND_BACKEND +#include "common/native_wayland_drm_bufmgr_helper.h" +#endif + struct drm_config; struct drm_crtc; struct drm_connector; @@ -49,6 +53,7 @@ struct drm_display { struct native_event_handler *event_handler; int fd; + char *device_name; struct drm_config *config; /* for modesetting */ @@ -59,6 +64,10 @@ struct drm_display { struct drm_surface **shown_surfaces; /* save the original settings of the CRTCs */ struct drm_crtc *saved_crtcs; + +#ifdef HAVE_WAYLAND_BACKEND + struct wl_drm *wl_server_drm; /* for EGL_WL_bind_wayland_display */ +#endif }; struct drm_config { |