search for: xwl_screen

Displaying 3 results from an estimated 3 matches for "xwl_screen".

2012 Jul 04
0
[PATCH] Add xwayland support (v2)
...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 = nouveau_dri2_schedule_wait; dri2.GetMSC = nouveau_dri2_get_msc; +#if defined(XORG_WAYLAND) + dri2.AuthMagic2 = nouveau_auth_magic; +#endif + #...
2012 May 23
1
[PATCH (nouveau)] Add xwayland support
...Wayland) + 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_screen_get_drm_fd(pNv->xwl_screen) == fd) + break; + } + + /* Forward the request to our host */ + return xwl_drm_authenticate(pNv->xwl_screen, magic); +} +#endif + Bool nouveau_dri2_init(ScreenPtr pScreen) { @@ -689,6 +719,10 @@ nouveau_dri2_init(ScreenPtr pScreen) dri2.ScheduleWaitMSC = nou...
2016 Sep 16
0
[ANNOUNCE] xorg-server 1.18.99.2
...don't check events as early as InitInput xkb: add hook to allow/deny AccessX key repeat xwayland: add a server sync before repeating keys xwayland: refactor Wayland event handling xwayland: sync event queue to check compositor reply wayland: Remove unused field in xwl_screen xwayland: Restore wl_display_roundtrip() in InitInput randr: Do not update ConnectionInfo if NULL wayland: clear resource for pixmap on unrealize xwayland-input: Fake crossing to rootwin xwayland: Plug memleak in frame callbacks xwayland: Avoid double free of RRC...