Re: Initial DRI3000 protocol specs available

2013-02-20 Thread Stéphane Marchesin
On Tue, Feb 19, 2013 at 7:46 PM, Keith Packard kei...@keithp.com wrote: And here's the Swap extension The Swap Extension Version 1.0 2013-2-14 Keith Packard

Patch for compose key sequences J with acute

2013-02-20 Thread Pander
Hi all, Please review this patch for two additional compose key sequences for J with acute and dotless j with acute. Justification for this is the following usage in the Dutch language: https://nl.wikipedia.org/wiki/Accenttekens_in_de_Nederlandse_spelling#Klemtoonteken Dutch knows the digraph

Re: Initial DRI3000 protocol specs available

2013-02-20 Thread Chris Wilson
On Tue, Feb 19, 2013 at 07:45:09PM -0800, Keith Packard wrote: ┌─── DRI3BufferFromPixmap pixmap: PIXMAP ▶ depth: CARD8 width, height, stride: CARD16 depth, bpp: CARD8 buffer: FD └─── Errors: Pixmap, Match Pass back a direct rendering

Re: Initial DRI3000 protocol specs available

2013-02-20 Thread Chris Wilson
On Tue, Feb 19, 2013 at 07:46:22PM -0800, Keith Packard wrote: ┌─── SwapRegion destination: DRAWABLE region: REGION src-off-x,src-off-y: INT16 source: PIXMAP swap-interval: CARD32 target_msc_hi: CARD32 target_msc_lo: CARD32 divisor_hi:

Re: Patch for compose key sequences J with acute

2013-02-20 Thread James Cloos
One quick review note: Per 10646 and unicode, that miniscule sequence should be U+006A U+0301 j́ and not U+0237 U+0303 ȷ́. The i and j are defined to have soft dots; all combining sequence starting with either MUST ignore the dot on the base character. Not all font/rendering engines tuples get

Re: Initial DRI3000 protocol specs available

2013-02-20 Thread Peter Harris
On 2013-02-19 22:46, Keith Packard wrote: A.3 Protocol Events The Swap extension specifies the SwapComplete event. ┌─── SwapComplete 1 CARD8 type 1 CARD8 extension 2 CARD16 sequenceNumber

Re: [PATCH modular] release.sh: use Cc: rather than CC:

2013-02-20 Thread Gaetan Nadon
On 13-02-19 11:35 PM, Aaron Plattner wrote: git-send-email ignores CC headers, so using that to send announcements generated by release.sh fails to actually carbon copy the Cc'd list. Use Cc instead. Signed-off-by: Aaron Plattner aplatt...@nvidia.com --- release.sh | 2 +- 1 file

Re: Initial DRI3000 protocol specs available

2013-02-20 Thread Keith Packard
Chris Wilson ch...@chris-wilson.co.uk writes: What is the serialization for multiple clients using BufferFromPixmap? Once they've got a handle to the object, it's really up to them to serialize among themselves. We don't have any control of the underlying direct rendering infrastructure. (In

Re: Initial DRI3000 protocol specs available

2013-02-20 Thread Keith Packard
Stéphane Marchesin stephane.marche...@gmail.com writes: How would you handle atomic swaps? Multiple of these back to back? Do you want to synchronously swap multiple windows? Or swap sections From multiple back buffers? -- keith.pack...@intel.com pgpga6esDld5C.pgp Description: PGP signature

Re: Initial DRI3000 protocol specs available

2013-02-20 Thread Stéphane Marchesin
On Wed, Feb 20, 2013 at 12:01 PM, Keith Packard kei...@keithp.com wrote: Stéphane Marchesin stephane.marche...@gmail.com writes: How would you handle atomic swaps? Multiple of these back to back? Do you want to synchronously swap multiple windows? Or swap sections From multiple back buffers?

Re: Initial DRI3000 protocol specs available

2013-02-20 Thread Keith Packard
Chris Wilson ch...@chris-wilson.co.uk writes: What I don't see here is how the client instructs the server to handle a missed swap. Right, this first pass was just trying to replicate the DRI2 semantics; figuring out how to improve those seems like a good idea. From what game developers have

Re: Initial DRI3000 protocol specs available

2013-02-20 Thread Keith Packard
Peter Harris phar...@opentext.com writes: May I suggest that all new events be Generic Events? One event isn't too bad, but the legacy event space is already crowded. Yes, of course. I didn't worry too much about the encoding part, I'm afraid :-) -- keith.pack...@intel.com

Re: Initial DRI3000 protocol specs available

2013-02-20 Thread Keith Packard
Stéphane Marchesin stephane.marche...@gmail.com writes: I'm interested in two specific use cases: - Swap to an overlay and flip a crtc in an atomic fashion, As you may remember, I proposed a bunch of RandR changes to support per-CRTC pixmaps and atomic mode setting operations a while back.

Re: Initial DRI3000 protocol specs available

2013-02-20 Thread Stéphane Marchesin
On Wed, Feb 20, 2013 at 12:42 PM, Keith Packard kei...@keithp.com wrote: Stéphane Marchesin stephane.marche...@gmail.com writes: I'm interested in two specific use cases: - Swap to an overlay and flip a crtc in an atomic fashion, As you may remember, I proposed a bunch of RandR changes to

Re: Initial DRI3000 protocol specs available

2013-02-20 Thread Chris Wilson
On Wed, Feb 20, 2013 at 11:55:56AM -0800, Keith Packard wrote: Chris Wilson ch...@chris-wilson.co.uk writes: Do we need an Invalidate for when the GEM object is exchanged for the Pixmap following a Swap (or other external modifications)? I'm afraid I don't understand this question. Are

Re: Initial DRI3000 protocol specs available

2013-02-20 Thread Mario Kleiner
On 02/20/2013 09:27 PM, Keith Packard wrote: Chris Wilson ch...@chris-wilson.co.uk writes: What I don't see here is how the client instructs the server to handle a missed swap. Right, this first pass was just trying to replicate the DRI2 semantics; figuring out how to improve those seems like

Re: [PATCH] os: use libunwind to generate backtraces

2013-02-20 Thread Peter Hutterer
On Tue, Feb 19, 2013 at 09:29:03PM +0100, Marcin Slusarz wrote: [...] --- From: Marcin Slusarz marcin.slus...@gmail.com Subject: [PATCH] os: use libunwind to generate backtraces Libunwind generates backtraces much more reliably than glibc's backtrace. Before: 0: /opt/xserver/bin/X

Re: [PATCH] Set nIndicators in XkbGetIndicatorMap

2013-02-20 Thread Peter Hutterer
On Tue, Feb 19, 2013 at 04:08:52PM -0500, Peter Harris wrote: Xlib doesn't use this value (it computes it from the reply length instead) which is why nobody has noticed yet. But the spec http://www.x.org/releases/X11R7.7/doc/kbproto/xkbproto.html says that it should be set. Signed-off-by:

Re: xorg XkbLayout is not working

2013-02-20 Thread Peter Hutterer
On Wed, Feb 20, 2013 at 11:35:55PM +, basteon wrote: Hello, That looks like a bug, because it's not working anyway if I put... # setxkbmap -layout us,ru -option grp:lctrl_lshift_toogle,grp_led:scroll -variant winkeys this line will actually apply the winkeys variant to the us layout. are

[PATCH modesetting] match PCI class 3, any subclass

2013-02-20 Thread Aaron Plattner
If a device is not primary, the PCI device match fails because the xf86-video-modesetting driver looks specifically for a PCI class match of 0x3 with a mask of 0xff. This fails to match, for example, a non-primary Intel VGA device, because it is reported as having a class of 0x38000. Fix

Re: Initial DRI3000 protocol specs available

2013-02-20 Thread Aaron Plattner
On 02/19/13 19:45, Keith Packard wrote: * PGP Signed by an unknown key Here's the spec for DRI3: The DRI3 Extension Version 1.0 2013-2-19 Keith Packard

Re: Initial DRI3000 protocol specs available

2013-02-20 Thread Keith Packard
Chris Wilson ch...@chris-wilson.co.uk writes: You manage ask yourself the question I was trying to lead: how the heck does the compositor learn that the underlying graphics object has changed? It can certainly tell that the underlying contents have changed with Damage events, but as to how it

Re: Initial DRI3000 protocol specs available

2013-02-20 Thread Keith Packard
Aaron Plattner aplatt...@nvidia.com writes: Why is there a stride here if all it is is an indirect way of calculating a total size? If the total size is what the server cares about, then it seems like the client should just send that. I don't need the size, I need the stride. I could just

Re: Initial DRI3000 protocol specs available

2013-02-20 Thread Keith Packard
Stéphane Marchesin stephane.marche...@gmail.com writes: On Wed, Feb 20, 2013 at 12:42 PM, Keith Packard kei...@keithp.com wrote: Stéphane Marchesin stephane.marche...@gmail.com writes: I'm interested in two specific use cases: - Swap to an overlay and flip a crtc in an atomic fashion, As

Re: Initial DRI3000 protocol specs available

2013-02-20 Thread Keith Packard
Mario Kleiner mario.kleiner...@gmail.com writes: On 02/20/2013 09:27 PM, Keith Packard wrote: Chris Wilson ch...@chris-wilson.co.uk writes: What I don't see here is how the client instructs the server to handle a missed swap. Right, this first pass was just trying to replicate the DRI2

Re: Initial DRI3000 protocol specs available

2013-02-20 Thread Stéphane Marchesin
On Wed, Feb 20, 2013 at 10:50 PM, Keith Packard kei...@keithp.com wrote: Stéphane Marchesin stephane.marche...@gmail.com writes: On Wed, Feb 20, 2013 at 12:42 PM, Keith Packard kei...@keithp.com wrote: Stéphane Marchesin stephane.marche...@gmail.com writes: I'm interested in two specific use