search for: nouveau_present_fini

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

2014 Jun 21
0
[PATCH 2/2] present: build only when glamor is enabled
...-4,7 +4,11 @@ #include "xorg-server.h" #include "scrnintstr.h" -#ifdef DRI3 +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#if defined(DRI3) && defined(HAVE_GLAMOR) #include "present.h" Bool nouveau_present_init(ScreenPtr pScreen); void nouveau_present_fini(ScreenPtr pScreen); -- 2.0.0
2015 Jul 29
3
[PATCH 1/2] present: Fixup return type of nouveau_present_init()
...io 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 +++ b/src/nouveau_present.c @@ -293,7 +293,7 @@ nouveau_present_fini(ScreenPtr screen) } } -int +Bool nouveau_present_init(ScreenPtr screen) { ScrnInfoPtr scrn = xf86ScreenToScrn(screen); @@ -304,7 +304,7 @@ nouveau_present_init(ScreenPtr screen) present = pNv->present = calloc(1, sizeof(*present)); if (!present) - return -ENOMEM; + return FALSE;...