Re: internal screen concept

2011-03-23 Thread Dave Airlie
On Wed, Mar 23, 2011 at 6:30 AM, Keith Packard kei...@keithp.com wrote: On Tue, 22 Mar 2011 10:27:13 +1000, Dave Airlie airl...@gmail.com wrote: My first solution involves throwing the XFree86 DDX out and starting again, but this didn't seem like it would be acceptable. Yeah, wrecking every

Re: [RFC PATCH] Add XI_PROP_ROTATION property to the server's properties.

2011-03-23 Thread Keith Packard
On Wed, 23 Mar 2011 15:48:39 +1000, Peter Hutterer peter.hutte...@who-t.net wrote: you already need a client to toggle the CRTC rotation, why not let that client toggle input device rotation as needed? having those two hooked up in the server it just seems like headache. Note that per-crtc

Re: [RFC PATCH] Add XI_PROP_ROTATION property to the server's properties.

2011-03-23 Thread Keith Packard
On Wed, 23 Mar 2011 15:55:14 +1000, Peter Hutterer peter.hutte...@who-t.net wrote: On Wed, Mar 23, 2011 at 02:37:40PM +0900, Keith Packard wrote: On Wed, 23 Mar 2011 15:13:55 +1000, Peter Hutterer peter.hutte...@who-t.net wrote: Having rotation support has been a feature requested for a

Re: [PATCH inputproto] specs: move erroneous Errors: line to where it belongs

2011-03-23 Thread Julien Cristau
On Wed, Mar 23, 2011 at 13:53:37 +1000, Peter Hutterer wrote: Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- specs/XIproto.txt |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) Reviewed-by: Julien Cristau jcris...@debian.org Cheers, Julien

Re: internal screen concept

2011-03-23 Thread Dave Airlie
On Wed, Mar 23, 2011 at 6:39 PM, Keith Packard kei...@keithp.com wrote: On Wed, 23 Mar 2011 16:03:59 +1000, Dave Airlie airl...@gmail.com wrote: All it does is split the protocol screen struct out from the screen struct and reworks the code to get the screen struct via the protocol screen in

ProcDamageCreate emits a damage event - why?

2011-03-23 Thread Erkki Seppala
Hello, I'm investigating an issue where applications receive damage events when they create a new damage object. The code in question is this: static int ProcDamageCreate (ClientPtr client) { .. if (pDrawable-type == DRAWABLE_WINDOW) { pRegion = ((WindowPtr)

Re: [PATCH modular] release.sh: Generate error for missing arguments

2011-03-23 Thread Dirk Wallenstein
On Sun, Mar 13, 2011 at 08:52:42AM -0700, Dan Nicholson wrote: On Sun, Mar 13, 2011 at 3:35 AM, Dirk Wallenstein hals...@t-online.de wrote: All three arguments are required.  Otherwise git-rev-list will abort the script silently. Signed-off-by: Dirk Wallenstein hals...@t-online.de

[PATCH] fb: Use an indirect reference to the Screen Pixmap

2011-03-23 Thread Chris Wilson
In an uncomposited Display, every window renders directly onto a clipped region of the Screen Pixmap. Currently every Window therefore has a pointer to the Screen Pixmap as its WindowPrivate. However, this direct reference prevents the propagation of the driver changing the Screen Pixmap - every

Re: [PATCH modular] release.sh: Generate error for missing arguments

2011-03-23 Thread Julien Cristau
On Wed, Mar 23, 2011 at 12:35:56 +0100, Dirk Wallenstein wrote: On Sun, Mar 13, 2011 at 08:52:42AM -0700, Dan Nicholson wrote: On Sun, Mar 13, 2011 at 3:35 AM, Dirk Wallenstein hals...@t-online.de wrote: All three arguments are required.  Otherwise git-rev-list will abort the script

Re: [PATCH xserver] GLX: Support TLS with better portability

2011-03-23 Thread Dan Nicholson
On Tue, Mar 22, 2011 at 9:13 PM, tom fogal tfo...@sci.utah.edu wrote: Jeremy Huddleston jerem...@apple.com writes: AX_TLS detects when toolchains support __thread or __declspec(thread), but existing code assumed __thread. Good find.  configure.ac            |    1 + [snip] +    

Re: [PATCH] test: when unit tests are enabled, build them during make

2011-03-23 Thread Dan Nicholson
On Tue, Mar 22, 2011 at 8:13 PM, Peter Hutterer peter.hutte...@who-t.net wrote: Catch compiler errors that were otherwise only spotted on make check. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net ---  test/Makefile.am     |    4 ++--  test/xi2/Makefile.am |    4 ++--  2 files

What's up with Xv cliprects?

2011-03-23 Thread Thomas Hellstrom
Hi! I just tried Xserver 1.10 on Ubuntu 11.04 and noticed that regardless of whether I put another window on top of a non-redirected Xv window, XvPutImage will only be sent a single cliprect covering the whole window. Needless to say this is bad news for any other window that happens to be

Re: sessreg: Changes to 'master'

2011-03-23 Thread Jon TURNEY
On 14/03/2011 18:23, Gaetan Nadon wrote: On Mon, 2011-03-14 at 08:18 -0700, Dan Nicholson wrote: I think to be correct you need -I$(top_srcdir) and -I$(top_builddir) so you get both sessreg.h and config.h (included through sessreg.h). The alternative is to leave filenames.sed.c in the top

Re: What's up with Xv cliprects?

2011-03-23 Thread Ville Syrjälä
On Wed, Mar 23, 2011 at 03:36:16PM +0100, ext Thomas Hellstrom wrote: Hi! I just tried Xserver 1.10 on Ubuntu 11.04 and noticed that regardless of whether I put another window on top of a non-redirected Xv window, XvPutImage will only be sent a single cliprect covering the whole window.

Re: What's up with Xv cliprects?

2011-03-23 Thread Thomas Hellstrom
On 03/23/2011 04:38 PM, Ville Syrjälä wrote: On Wed, Mar 23, 2011 at 03:36:16PM +0100, ext Thomas Hellstrom wrote: Hi! I just tried Xserver 1.10 on Ubuntu 11.04 and noticed that regardless of whether I put another window on top of a non-redirected Xv window, XvPutImage will only be sent a

Re: ProcDamageCreate emits a damage event - why?

2011-03-23 Thread Adam Jackson
On 3/23/11 7:24 AM, Erkki Seppala wrote: So what kind of guessing are we talking about here? What is the downside of removing this initial damage event? The downside with the current code is that it can lead to some excess work when no damage has occurred. (I wonder if the behavior can changed,

Re: sessreg: Changes to 'master'

2011-03-23 Thread Gaetan Nadon
On Wed, 2011-03-23 at 15:07 +, Jon TURNEY wrote: On 14/03/2011 18:23, Gaetan Nadon wrote: On Mon, 2011-03-14 at 08:18 -0700, Dan Nicholson wrote: I think to be correct you need -I$(top_srcdir) and -I$(top_builddir) so you get both sessreg.h and config.h (included through sessreg.h).

Re: [PATCH xserver] GLX: Support TLS with better portability

2011-03-23 Thread Jeremy Huddleston
On Mar 22, 2011, at 9:13 PM, tom fogal wrote: Jeremy Huddleston jerem...@apple.com writes: AX_TLS detects when toolchains support __thread or __declspec(thread), but existing code assumed __thread. Good find. configure.ac|1 + [snip] +AC_DEFINE(__XSERVER_TLS,

Re: [PATCH xserver] GLX: Support TLS with better portability

2011-03-23 Thread tom fogal
Dan Nicholson dbn.li...@gmail.com writes: On Tue, Mar 22, 2011 at 9:13 PM, tom fogal tfo...@sci.utah.edu wrote: The AX_TLS macro should AC_DEFINE_UNQUOTED TLS. I recommend using that instead of inventing our own define. Yeah, that seems reasonable. Tom, is that what's done in mesa? It

Re: [PATCH] Only build tests when unit tests are enabled.

2011-03-23 Thread Gaetan Nadon
On Wed, 2011-03-23 at 09:14 +1000, Peter Hutterer wrote: On Tue, Mar 22, 2011 at 11:26:24AM -0400, Gaetan Nadon wrote: On Tue, 2011-03-22 at 11:56 +1000, Peter Hutterer wrote: Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- I'll squash this in with the other patch, no

Re: [PATCH xserver] GLX: Support TLS with better portability

2011-03-23 Thread tom fogal
Jeremy Huddleston jerem...@apple.com writes: On Mar 22, 2011, at 9:13 PM, tom fogal wrote: I haven't looked to see if we have __thread anywhere else that should go away in favor of the macro, but I assume you have. I grepped through xserver because it was what broke in tinderbox. I

Re: [PATCH libpciaccess] linux_sysfs: use rom_size = 0x1000 for VGA devices

2011-03-23 Thread Adam Jackson
On 3/22/11 11:24 AM, Forest Bond wrote: Hi, On Tue, Mar 22, 2011 at 11:15:27AM -0400, Adam Jackson wrote: On Tue, 2011-03-22 at 10:31 -0400, Forest Bond wrote: This patch brings the linux_sysfs backend in parity with other backends, which assume that VGA devices have fixed rom_size of 0x1000.

Re: ProcDamageCreate emits a damage event - why?

2011-03-23 Thread Ville Syrjälä
On Wed, Mar 23, 2011 at 11:53:05AM -0400, ext Adam Jackson wrote: On 3/23/11 7:24 AM, Erkki Seppala wrote: So what kind of guessing are we talking about here? What is the downside of removing this initial damage event? The downside with the current code is that it can lead to some excess

[PATCH] GLX: Support TLS with better portability

2011-03-23 Thread Jeremy Huddleston
From c55baebf4ebf1887262cc16899eb297b9f284f6e Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston jerem...@apple.com Date: Tue, 22 Mar 2011 19:01:48 -0700 Subject: [PATCH] GLX: Support TLS with better portability AX_TLS detects when toolchains support __thread or __declspec(thread), but existing

Re: ProcDamageCreate emits a damage event - why?

2011-03-23 Thread Adam Jackson
On 3/23/11 12:11 PM, Ville Syrjälä wrote: There is at least one issue with the current implementation; It sends the event to all clients who are interested in the same window. So if you fire up your vnc screen scraper, your composite manager thinks it has to redraw the window. I think that at

Re: [PATCH libpciaccess] linux_sysfs: use rom_size = 0x1000 for VGA devices

2011-03-23 Thread Forest Bond
Hi Adam, On Wed, Mar 23, 2011 at 12:04:58PM -0400, Adam Jackson wrote: On 3/22/11 11:24 AM, Forest Bond wrote: Hi, On Tue, Mar 22, 2011 at 11:15:27AM -0400, Adam Jackson wrote: On Tue, 2011-03-22 at 10:31 -0400, Forest Bond wrote: This patch brings the linux_sysfs backend in parity with

[PULL XQuartz] clang fixes + [PATCH] GLX: Support TLS with better portability

2011-03-23 Thread Jeremy Huddleston
Actually just pull from my branch rather than git-amint that one patch. I pulled in some additional cleanup for clang warnings. --Jeremy The following changes since commit 03f45df93469f6aef391e97007b9614e0770cc4c: Merge remote-tracking branch 'airlied/xinerama-cleanup' (2011-03-23 13:38:37

Re: [PATCH xorg-docs 2/2] Replace XMLTO with XSLTPROC, XMLLINT and W3M tools

2011-03-23 Thread Gaetan Nadon
On Tue, 2011-03-22 at 14:25 -0700, Dan Nicholson wrote: If you pass -x to xmlto instead of -m, you can use a full stylesheet instead of a fragment. Moving to xsltproc means you have to duplicate the internal smarts of xmlto. I have verified -x works as described. This removes one issue with

Re: [PATCH xorg-docs 2/2] Replace XMLTO with XSLTPROC, XMLLINT and W3M tools

2011-03-23 Thread Gaetan Nadon
On Tue, 2011-03-22 at 17:14 -0700, Dan Nicholson wrote: More importantly, xmlto always uses --nonet for xsltproc and xmllint. Do you really want builds to hang trying to fetch sheets over the network? You guys are the ones doing the doc work, so I won't try to slow you down anymore. Please

Re: [PATCH xorg-docs 1/2] Documentation: add Docbook external references support

2011-03-23 Thread Gaetan Nadon
On Tue, 2011-03-22 at 17:45 -0600, Matt Dew wrote: Maybe an addendum that says this is for formats that support links. Something like... This feature works with PDF, HTML, PS (and epub?) generated documents and will generate links to the other versions of the same type. IE, html docs

Re: [RFC PATCH] Add XI_PROP_ROTATION property to the server's properties.

2011-03-23 Thread Peter Korsgaard
Peter == Peter Hutterer peter.hutte...@who-t.net writes: Hi, Peter Having rotation support has been a feature requested for a while Peter now. Now we've had two independent implementations happen within Peter quite a short timeframe, one in synaptics, one in evdev (and Peter wacom has had

[PATCH] specs: enable asciidoc parsing for XIproto.txt

2011-03-23 Thread Peter Hutterer
The vast majority of this patch are indentation changes, removing preceding spaces from text. Header lines and some linebreaks to enable list parsing were added. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- specs/Makefile.am |6 +- specs/XIproto.txt | 3724

Re: [PATCH] specs: enable asciidoc parsing for XIproto.txt

2011-03-23 Thread Gaetan Nadon
On Thu, 2011-03-24 at 09:46 +1000, Peter Hutterer wrote: The vast majority of this patch are indentation changes, removing preceding spaces from text. Header lines and some linebreaks to enable list parsing were added. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net ---

Re: internal screen concept

2011-03-23 Thread Keith Packard
On Wed, 23 Mar 2011 20:30:21 +1000, Dave Airlie airl...@gmail.com wrote: Yeah I was trying to get there in easier proveable steps.without doing a big change. I was hoping that splitting the data out into the protocol screen would be a pretty simple step; DDX bits using those fields would get

Re: ProcDamageCreate emits a damage event - why?

2011-03-23 Thread Keith Packard
On Wed, 23 Mar 2011 18:11:48 +0200, Ville Syrjälä ville.syrj...@nokia.com wrote: There is at least one issue with the current implementation; It sends the event to all clients who are interested in the same window. So if you fire up your vnc screen scraper, your composite manager thinks it

Re: [ATCH 0/5] GLX context tag reimplementation

2011-03-23 Thread Eric Anholt
On Mon, 21 Mar 2011 16:02:12 -0400, Adam Jackson a...@redhat.com wrote: GLX, apparently as some sort of elaborate prank, has both context IDs and context tags. These are _almost_ identical; the functional difference is that you're allowed to continue to mention the tag of a deleted context as

[PATCH sgml-doctools] DocBook/XML: add support for docbook external references

2011-03-23 Thread Gaetan Nadon
Documents external references - A new feature with version 1.7 is references to documents in other packages. For example a protocol specifications may refer to another one or to a library implementing it. This feature works with PDF, HTML, PS (and epub?) generated

[PATCH sgml-doctools] Version bump: 1.7

2011-03-23 Thread Gaetan Nadon
Signed-off-by: Gaetan Nadon mems...@videotron.ca --- configure.ac |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 9f28636..01643d4 100644 --- a/configure.ac +++ b/configure.ac @@ -20,7 +20,7 @@ # Initialize Autoconf AC_PREREQ([2.60])

[PATCH xorg-docs 1/1] Documentation: add Docbook external references support

2011-03-23 Thread Gaetan Nadon
When writing technical documentation, it is often necessary to cross reference to other information. When that other information is not in the current document, additional support is needed, namely olink. A new feature with version 1.7 of xorg-sgml-doctools adds references to other documents

[PATCH] fix overquoting of $(XKBCONFIGROOT)

2011-03-23 Thread Matt Turner
Fixes: http://bugs.gentoo.org/show_bug.cgi?id=360227 Problem is easily seen during compile: -DDFLT_XKB_CONFIG_ROOT='/usr/share/X11/xkb' --- src/xkbcomp/Makefile.am |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/xkbcomp/Makefile.am b/src/xkbcomp/Makefile.am

Re: [PATCH] fix overquoting of $(XKBCONFIGROOT)

2011-03-23 Thread Matt Turner
On Thu, Mar 24, 2011 at 3:29 AM, Matt Turner matts...@gmail.com wrote: This is for libxkbcommon, meant to modify the subject line. ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info:

[PATCH] consolidate SetRootClip

2011-03-23 Thread Dave Airlie
From: Dave Airlie airl...@redhat.com each DDX has its own copy, I've taken the darwin one, though I'm not sure why it needs the pOldClip piece that nobody else has and the commit msg is like an Updates from magic land type message. This removes the main uses of pWin-winSize from the DDXen.

[PATCH] dri: kill if 0 out code.

2011-03-23 Thread Dave Airlie
From: Dave Airlie airl...@redhat.com This refers to pWin-winSize in some #if 0 code remove it. Signed-off-by: Dave Airlie airl...@redhat.com --- hw/xfree86/dri/dri.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/hw/xfree86/dri/dri.c b/hw/xfree86/dri/dri.c index