From owner-freebsd-ports@FreeBSD.ORG Sat Mar 12 16:21:44 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FEA6106566B; Sat, 12 Mar 2011 16:21:44 +0000 (UTC) (envelope-from geo.liaskos@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 098538FC18; Sat, 12 Mar 2011 16:21:43 +0000 (UTC) Received: by gxk28 with SMTP id 28so571568gxk.13 for ; Sat, 12 Mar 2011 08:21:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=kIiyUPAj8u3ox8rGdDxv0D7ub0I4LRHA/LHvEa88r9Y=; b=sNDC5YJik4guel1ccpvzZIlg/J7BmzWfulWzmaq1J7i50IEUqqmQ+gIc9DAazUu+aq y/PcB+JPcgSYGfL7BOt3W7HFUEE53CwKETAiZRtEVyLhi139iYDCglVRRBASJ/CZ/fV4 4RkwX4J4q/O8JANLOA7eQR48KzHytAvLsAwks= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=gaeGrmAL6q6QhQY6ExLCvWgHa6zH36YllBpIOW7IxhnZfQ/G43UPYUmOV3VN0386uy hMc86lu2C1rEUCj+sxACQ9R/f/SpQXhvKV2tg4XZMqIzs7CY3qTsbFOrUp8J+2c+bIht KsIEfU5HnT82Rfa532y+/Bt1JMytEDlexcFzs= MIME-Version: 1.0 Received: by 10.100.24.7 with SMTP id 7mr2103163anx.43.1299946902222; Sat, 12 Mar 2011 08:21:42 -0800 (PST) Received: by 10.100.11.10 with HTTP; Sat, 12 Mar 2011 08:21:42 -0800 (PST) In-Reply-To: <1299844349.1472.93.camel@xenon> References: <1299844349.1472.93.camel@xenon> Date: Sat, 12 Mar 2011 18:21:42 +0200 Message-ID: From: George Liaskos To: x11@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Ports , miwi@freebsd.org Subject: Re: [ECFT] drm/dri/mesa/xorg-server update [Part 1] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2011 16:21:44 -0000 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