From: "Ian T. Jacobsen" <ian-1/d78eZ59Lo@public.gmane.org>
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: [PATCH] Remove nonexistant glamor flags from glamor_init
Date: Fri, 10 Apr 2015 13:03:37 +0000 (UTC)
Date: Sat, 11 Apr 2015 13:56:13 +0000 [thread overview]
Message-ID: <552927FD.3070504@itjac.me> (raw)
Glamor removed some flags.
This is my first time contributing via mailing list,
but I hope I'm doing it correctly
diff --git a/src/nouveau_glamor.c b/src/nouveau_glamor.c
index b8bca17..ca84df6 100644
--- a/src/nouveau_glamor.c
+++ b/src/nouveau_glamor.c
@@ -217,10 +217,14 @@ nouveau_glamor_init(ScreenPtr screen)
ScrnInfoPtr scrn = xf86ScreenToScrn(screen);
NVPtr pNv = NVPTR(scrn);
+#ifndef GLAMOR_USE_SCREEN
+ if (!glamor_init(screen, GLAMOR_USE_EGL_SCREEN)) {
+#else
if (!glamor_init(screen, GLAMOR_INVERTED_Y_AXIS |
GLAMOR_USE_EGL_SCREEN |
GLAMOR_USE_SCREEN |
GLAMOR_USE_PICTURE_SCREEN)) {
+#endif
xf86DrvMsg(scrn->scrnIndex, X_ERROR,
"[GLAMOR] failed to initialise\n");
return FALSE;
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
reply other threads:[~2015-04-10 13:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=552927FD.3070504@itjac.me \
--to=ian-1/d78ez59lo@public.gmane.org \
--cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.