All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: xorg-devel@lists.freedesktop.org, mesa-dev@lists.freedesktop.org,
	dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] dri2proto: make DRI2 swap event match GLX spec
Date: Tue, 3 May 2011 14:09:24 -0700	[thread overview]
Message-ID: <20110503140924.5270e749@jbarnes-desktop> (raw)
In-Reply-To: <1304450489-31415-3-git-send-email-jbarnes@virtuousgeek.org>

Updated with explicit padding.

-- 
Jesse Barnes, Intel Open Source Technology Center

>From 0ca3778de195a82087d0f07415a1cf8fc94f5b0a Mon Sep 17 00:00:00 2001
From: Jesse Barnes <jbarnes@virtuousgeek.org>
Date: Tue, 3 May 2011 12:14:58 -0700
Subject: [PATCH] dri2proto: make DRI2 swap event match GLX spec

We only spec a 32 bit sbc count, so drop the high bits.  Also make the
padding explicit.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
---
 configure.ac |    2 +-
 dri2proto.h  |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 5b78d6b..9505f56 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
 AC_PREREQ([2.60])
-AC_INIT([DRI2Proto], [2.3], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg])
+AC_INIT([DRI2Proto], [2.4], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg])
 AM_INIT_AUTOMAKE([foreign dist-bzip2])
 AM_MAINTAINER_MODE
 
diff --git a/dri2proto.h b/dri2proto.h
index 9708a4a..ff76355 100644
--- a/dri2proto.h
+++ b/dri2proto.h
@@ -290,13 +290,13 @@ typedef struct {
     CARD8 pad;
     CARD16 sequenceNumber B16;
     CARD16 event_type B16;
+    CARD16 pad2;
     CARD32 drawable B32;
     CARD32 ust_hi B32;
     CARD32 ust_lo B32;
     CARD32 msc_hi B32;
     CARD32 msc_lo B32;
-    CARD32 sbc_hi B32;
-    CARD32 sbc_lo B32;
+    CARD32 sbc B32;
 } xDRI2BufferSwapComplete;
 #define sz_xDRI2BufferSwapComplete 32
 
-- 
1.7.4.1

  reply	other threads:[~2011-05-03 21:09 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-03 19:21 Make swap event handling match the spec Jesse Barnes
2011-05-03 19:21 ` [PATCH] dri2proto: make DRI2 swap event match GLX spec Jesse Barnes
2011-05-03 21:09   ` Jesse Barnes [this message]
2011-05-03 19:21 ` [PATCH 4/4] GLX/DRI2: make GLX swap event handling match spec Jesse Barnes
2011-05-03 19:21 ` [PATCH 6/6] DRI2/GLX: make " Jesse Barnes
     [not found] ` <1304450489-31415-1-git-send-email-jbarnes-Y1mF5jBUw70BENJcbMCuUQ@public.gmane.org>
2011-05-03 19:21   ` [PATCH] glxproto: make GLX swap event struct " Jesse Barnes
2011-05-03 20:54     ` Keith Packard
2011-05-03 21:02       ` Jesse Barnes
2011-05-03 21:08         ` Jesse Barnes
2011-05-03 21:15           ` Keith Packard
2011-05-03 21:20             ` Jesse Barnes
2011-05-04 22:11           ` Ian Romanick
2011-05-04 22:17     ` [Mesa-dev] " Ian Romanick
2011-05-04 23:16       ` Jesse Barnes
2011-05-04 23:21         ` Jesse Barnes
2011-05-04 23:32         ` [Mesa-dev] " Dave Airlie
2011-05-05  0:49           ` Jesse Barnes
2011-05-05  0:54             ` Jesse Barnes
2011-05-03 19:21   ` [PATCH 3/4] GLX/DRI2: pass drawable correctly for indirect swap events Jesse Barnes
2011-05-03 19:21   ` [PATCH 5/6] GLX: don't crash when indirect clients try to set an event mask Jesse Barnes
2011-05-03 19:24   ` Make swap event handling match the spec Jesse Barnes
2011-05-04 22:26 ` [Mesa-dev] " Ian Romanick

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=20110503140924.5270e749@jbarnes-desktop \
    --to=jbarnes@virtuousgeek.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=mesa-dev@lists.freedesktop.org \
    --cc=xorg-devel@lists.freedesktop.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.