#include "native_wayland_drm_bufmgr_helper.h"
void
-egl_g3d_wl_drm_helper_reference_buffer(void *user_data, uint32_t name,
+egl_g3d_wl_drm_helper_reference_buffer(void *user_data, uint32_t name, int fd,
struct wl_drm_buffer *buffer)
{
struct native_display *ndpy = user_data;
#include "wayland-drm.h"
void
-egl_g3d_wl_drm_helper_reference_buffer(void *user_data, uint32_t name,
+egl_g3d_wl_drm_helper_reference_buffer(void *user_data, uint32_t name, int fd,
struct wl_drm_buffer *buffer);
void
drmdpy->wl_server_drm = wayland_drm_init(wl_dpy,
drmdpy->device_name,
- &wl_drm_callbacks, ndpy);
+ &wl_drm_callbacks, ndpy, 0);
if (!drmdpy->wl_server_drm)
return FALSE;
drmdpy->wl_server_drm =
wayland_drm_init(wl_dpy, drmdpy->device_name,
- &wl_drm_callbacks, ndpy);
+ &wl_drm_callbacks, ndpy, 0);
if (!drmdpy->wl_server_drm)
return FALSE;
dri2dpy->wl_server_drm = wayland_drm_init(wl_dpy,
x11_screen_get_device_name(dri2dpy->xscr),
- &wl_drm_callbacks, ndpy);
+ &wl_drm_callbacks, ndpy, 0);
if (!dri2dpy->wl_server_drm)
return FALSE;