search for: glx_vblank

Displaying 5 results from an estimated 5 matches for "glx_vblank".

2012 Jul 27
1
[PATCH] nvc0: Add and enable vblank support
...if (ret) { diff --git a/src/nv_driver.c b/src/nv_driver.c index beef789..dd6f005 100644 --- a/src/nv_driver.c +++ b/src/nv_driver.c @@ -815,6 +815,7 @@ NVPreInit(ScrnInfoPtr pScrn, int flags) if (!pNv->NoAccel && pNv->dev->chipset >= 0x11) { from = X_DEFAULT; + pNv->glx_vblank = TRUE; if (xf86GetOptValBool(pNv->Options, OPTION_GLX_VBLANK, &pNv->glx_vblank)) from = X_CONFIG; diff --git a/src/nv_proto.h b/src/nv_proto.h index b546ebd..bcf927d 100644 --- a/src/nv_proto.h +++ b/src/nv_proto.h @@ -149,6 +149,7 @@ Bool NVAccelInit2D_NV50(ScrnInfoPtr...
2013 Jul 22
0
[RFC PATCH] Support running nested in a Mir compositor
...6_config->num_crtc) + if (xorgMir || !xf86_config->num_crtc) return FALSE; for (i = 0; i < xf86_config->num_crtc; i++) { @@ -290,7 +290,7 @@ can_sync_to_vblank(DrawablePtr draw) ScrnInfoPtr scrn = xf86ScreenToScrn(draw->pScreen); NVPtr pNv = NVPTR(scrn); - return pNv->glx_vblank && + return pNv->glx_vblank && !xorgMir && nv_window_belongs_to_crtc(scrn, draw->x, draw->y, draw->width, draw->height); } @@ -766,6 +766,19 @@ nouveau_dri2_flip_event_handler(unsigned int frame, unsigned int tv_sec, free(flip); } +#if DRI2INF...
2015 Jul 29
3
[PATCH 1/2] present: Fixup return type of nouveau_present_init()
Make it a Bool consistently, as declared in header. Reported-by: Ilia Mirkin <imirkin at alum.mit.edu> Signed-off-by: Mario Kleiner <mario.kleiner.de at gmail.com> --- src/nouveau_present.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nouveau_present.c b/src/nouveau_present.c index 4de1e6e..699a58d 100644 --- a/src/nouveau_present.c +++
2012 Jul 04
0
[PATCH] Add xwayland support (v2)
...ReturnOptValBool(pNv->Options, OPTION_ASYNC_COPY, FALSE); - if (!pNv->NoAccel && pNv->dev->chipset >= 0x11) { + if (!pNv->NoAccel && pNv->dev->chipset >= 0x11 && !xwl_screen) { from = X_DEFAULT; if (xf86GetOptValBool(pNv->Options, OPTION_GLX_VBLANK, &pNv->glx_vblank)) @@ -882,7 +986,11 @@ NVPreInit(ScrnInfoPtr pScrn, int flags) xf86DrvMsg(pScrn->scrnIndex, from, "Swap limit set to %d [Max allowed %d]%s\n", pNv->swap_limit, pNv->max_swap_limit, reason); - ret = drmmode_pre_init(pScrn, pNv->dev-...
2012 Feb 15
11
[Patches][nouveau/ddx]: Improvements to bufferswap implementation and timestamping
Hi, here a set of patches against the nouveau-ddx. This is an extended and revised set, based on Francisco Jerez feedback from autumn last year. [1/9] Makes pageflipping work again on X-Server 1.12rc. It apparently stopped working somewhere around Xorg 1.11+. [2/9] Implements handling of pageflip completion events from the kernel. Francisco Jerez argument against including it was that the