search for: xorgwayland

Displaying 2 results from an estimated 2 matches for "xorgwayland".

Did you mean: xorg_wayland
2012 Jul 04
0
[PATCH] Add xwayland support (v2)
...ri2_flip_event_handler(unsigned int frame, unsigned int tv_sec, free(flip); } +#ifdef XORG_WAYLAND +static int nouveau_auth_magic(ScreenPtr pScreen, uint32_t magic) +{ + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); + NVPtr pNv = NVPTR(pScrn); + + /* Not wayland, go stragight to drm */ + if (!xorgWayland) + return drmAuthMagic(pNv->dev->fd, magic); + + /* Forward the request to our host */ + return xwl_drm_authenticate(pNv->xwl_screen, magic); +} +#endif + Bool nouveau_dri2_init(ScreenPtr pScreen) { @@ -682,6 +697,10 @@ nouveau_dri2_init(ScreenPtr pScreen) dri2.ScheduleWaitMSC = nouv...
2012 May 23
1
[PATCH (nouveau)] Add xwayland support
..._dri2_buffer { @@ -660,6 +664,32 @@ nouveau_dri2_flip_event_handler(unsigned int frame, unsigned int tv_sec, free(flip); } +#ifdef XORG_WAYLAND +static int nouveau_auth_magic(int fd, uint32_t magic) +{ + ScrnInfoPtr pScrn; + NVPtr pNv; + int i; + + /* Not wayland, go stragight to drm */ + if (!xorgWayland) + return drmAuthMagic(fd, magic); + + /* Technically this should actually iterate over xf86Screens. + Since direct access to xf86Screens is going away, though, + we don't bother right now */ + for (i = 0; i < 1; i++) { + pScrn = xf86Screens[i]; + pNv = NVPTR(pScrn); + if (xwl_scr...