All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] swap event handling fixes
@ 2011-04-28 20:27 Jesse Barnes
  2011-04-28 20:27 ` [PATCH] Pack swap complete bits into an XEvent Jesse Barnes
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Jesse Barnes @ 2011-04-28 20:27 UTC (permalink / raw)
  To: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	xorg-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

I obviously failed to count the swap event structure size after adding
and removing fields a few times, and didn't even account for padding.  The
end result is that clients today won't receive the sbc_lo field at all,
and so will likely stuff junk into that field on the client side (or
zero at best).

This patchset fixes up the structure definitions, bumps the proto
levels, and adds server and client handling code for it all.  It should
be forward and backward compatible, but as always review and testing
appreciated.

I think the event_type checking on the client side still needs work;
the field is split now so I need to check the right one on old servers.
I'll also add swap support for the new requests in case people ever want
to run this stuff between big and little endian machines.

Thanks,
Jesse

_______________________________________________
xorg-devel-go0+a7rfsptAfugRpC6u6w@public.gmane.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2011-05-02 20:15 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-28 20:27 [RFC] swap event handling fixes Jesse Barnes
2011-04-28 20:27 ` [PATCH] Pack swap complete bits into an XEvent Jesse Barnes
2011-04-28 21:33   ` Eric Anholt
     [not found]     ` <87y62uhxh5.fsf-NuZ+OHacjZctnJUoGz2Qal6hYfS7NtTn@public.gmane.org>
2011-04-28 21:34       ` Jesse Barnes
2011-04-28 22:01   ` Keith Packard
     [not found] ` <1304022442-8070-1-git-send-email-jbarnes-Y1mF5jBUw70BENJcbMCuUQ@public.gmane.org>
2011-04-28 20:27   ` [PATCH] Fix swap complete event size Jesse Barnes
2011-04-29 21:37   ` [RFC] swap event handling fixes Jesse Barnes
2011-04-29 23:10     ` Mario Kleiner
2011-05-02 20:09       ` Jesse Barnes
2011-04-28 20:27 ` [PATCH] GLX/DRI2: fix swap complete handling Jesse Barnes
2011-04-28 20:27 ` [PATCH] DRI2/GLX: fix swap event handling Jesse Barnes
     [not found]   ` <1304022442-8070-5-git-send-email-jbarnes-Y1mF5jBUw70BENJcbMCuUQ@public.gmane.org>
2011-04-28 21:37     ` Eric Anholt
2011-04-29  6:52   ` Michel Dänzer
2011-04-29  7:20   ` Julien Cristau
2011-04-29 15:24     ` Jesse Barnes

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.