From: Jesse Barnes Subject: Re: [PATCH] glxproto: make GLX swap event struct match spec Date: Wed, 4 May 2011 16:21:35 -0700 Message-ID: <20110504162135.7cc57f7d@jbarnes-desktop> References: <1304450489-31415-1-git-send-email-jbarnes@virtuousgeek.org> <1304450489-31415-2-git-send-email-jbarnes@virtuousgeek.org> <4DC1D07B.50604@freedesktop.org> <20110504161637.2cbe6c0d@jbarnes-desktop> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20110504161637.2cbe6c0d@jbarnes-desktop> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: mesa-dev-bounces+gcvmd-mesa3d-493=gmane.org@lists.freedesktop.org Errors-To: mesa-dev-bounces+gcvmd-mesa3d-493=gmane.org@lists.freedesktop.org Cc: xorg-devel@lists.freedesktop.org, mesa-dev@lists.freedesktop.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Wed, 4 May 2011 16:16:37 -0700 Jesse Barnes wrote: > On Wed, 04 May 2011 15:17:31 -0700 > Ian Romanick wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > On 05/03/2011 12:21 PM, Jesse Barnes wrote: > > > We only spec a 32 bit swap count, so drop the high sbc field. > > > > > > Signed-off-by: Jesse Barnes > > > > Is there any way we could do this and NOT break building older versions > > of Mesa? I'd like to be able to build 7.9, 7.10, and master on my > > system without having two different versions of glproto. > > > > We did that the last time glproto bumped (kept the req at 1.4.10 and > added ifdefs), but that added bugs that we didn't find for awhile, so I > wanted to try to avoid it this time. Another option for you would be > to build 7.9, 7.10, and master against different install roots with > PKG_CONFIG_PATH set appropriately... Or just backport the fix to 7.x :) The server is only sending 32 bytes regardless, so having the fix in older client library versions will give either the right sbc number (if the server is new) or 0 if the server is old (unless you've wrapped the sbc_lo field and sbc_hi is set). So an improvement either way. -- Jesse Barnes, Intel Open Source Technology Center