Date: Sat, 12 Mar 2011 18:21:42 +0200 From: George Liaskos <geo.liaskos@gmail.com> To: x11@freebsd.org Cc: FreeBSD Ports <ports@freebsd.org> Subject: Re: [ECFT] drm/dri/mesa/xorg-server update [Part 1] Message-ID: <AANLkTimVGik6NE=CZ-0qfyeAvGTpVu4SxP%2BOauQEgr=i@mail.gmail.com> In-Reply-To: <1299844349.1472.93.camel@xenon> References: <AANLkTiknQ7UAu3UrxeZ8Ss6sr4yn2jAoHbusnJZzSuqo@mail.gmail.com> <1299844349.1472.93.camel@xenon>
next in thread | previous in thread | raw e-mail | index | archive | help
I compiled the intel driver with the following patch: --- src/i830_video.c.orig 2011-03-12 18:00:01.000000000 +0200 +++ src/i830_video.c 2011-03-12 17:59:08.000000000 +0200 @@ -2164,7 +2164,7 @@ static void i830_fill_colorkey (ScreenPtr pScreen, uint32_t key, RegionPtr clipboxes) { - DrawablePtr root = &WindowTable[pScreen->myNum]->drawable; + DrawablePtr root = pScreen->root->drawable.id; XID pval[2]; BoxPtr pbox = REGION_RECTS(clipboxes); int i, nbox = REGION_NUM_RECTS(clipboxes); @@ -2176,7 +2176,7 @@ gc = GetScratchGC(root->depth, pScreen); pval[0] = key; pval[1] = IncludeInferiors; - (void) ChangeGC(gc, GCForeground|GCSubwindowMode, pval); + dixChangeGC(NullClient, gc, GCForeground|GCSubwindowMode, NULL); ValidateGC(root, gc); rects = xalloc (nbox * sizeof(xRectangle)); It works but it doesn't support dri1, http://cgit.freedesktop.org/mesa/mesa/commit/?id=48c0ff14240044935049a1114edfc69bc6682b95 Log: http://pastebin.com/W1iiDvWX
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimVGik6NE=CZ-0qfyeAvGTpVu4SxP%2BOauQEgr=i>