Re: Issues adding driver support for present extension

2014-04-15 Thread Keith Packard
Frank Binns writes: > Hi, > I've been working on adding support for the present extension in the PVR > video driver and I've hit a couple of issues related to flipping: Awesome. As you may know, this has only been implemented in the Intel driver and hasn't been accepted upstream yet. The server

Re: [PATCH 0/4] Xorg.wrap: Misc cleanups and porting

2014-04-15 Thread Guillem Jover
On Mon, 2014-04-14 at 19:56:21 +0200, Mark Kettenis wrote: > > From: Guillem Jover > > I guess porting this to OpenBSD/NetBSD might require using one of the > > wscons ioctls, and for Solaris KDGETMODE might work? > > We (OpenBSD) don't need an Xorg wrapper, as we have a properly > privilige sep

Re: [PATCH:libXfont] Fix functions to match X11/fonts/font.h prototypes.

2014-04-15 Thread Thomas Klausner
Hm, that's the patch I need when compiling against fontsproto-2.1.2. Ignore it. So we have libXfont-1.4.7 only compiling against fontsproto-2.1.2 and not fontsproto-2.1.3, but no release for 2.1.3 yet. Thomas On Tue, Apr 15, 2014 at 06:41:35PM +0200, Thomas Klausner wrote: > Signed-off-by: Thoma

[PATCH:libXfont] Fix functions to match X11/fonts/font.h prototypes.

2014-04-15 Thread Thomas Klausner
Signed-off-by: Thomas Klausner --- src/util/patcache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/patcache.c b/src/util/patcache.c index 2101015..5efe258 100644 --- a/src/util/patcache.c +++ b/src/util/patcache.c @@ -128,7 +128,7 @@ Hash (const char *string,

Re: [PATCH 4/4] Xorg.wrap: Make the console check portable

2014-04-15 Thread Guillem Jover
On Mon, 2014-04-14 at 18:30:55 +0200, walter harms wrote: > > +static int on_console(int fd) > > +{ > > +#if defined(__linux__) > > +struct stat st; > > +int r; > > + > > +r = fstat(fd, &st); > > +if (r == 0 && S_ISCHR(st.st_mode) && major(st.st_rdev) == 4) > > + return 1; > >

Issues adding driver support for present extension

2014-04-15 Thread Frank Binns
Hi, I've been working on adding support for the present extension in the PVR video driver and I've hit a couple of issues related to flipping: 1) When the display driver supports async flipping this mode of operation is always used. This means that, when the swap interval is none 0, the present

[PATCH] dri2: Fix detection of wrong prime_id in GetScreenPrime.

2014-04-15 Thread Michal Srb
Checking the iterating variable ("slave") against null can not detect if the xorg_list_for_each_entry finished without break being invoked - slave variable will be always non-null. This caused segfault whenever someone tried to use DRI_PRIME with incorrect id while having at least one render offloa

[PATCH xf86-video-dummy] "ConstantDPI" option

2014-04-15 Thread Antoine Martin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, This patch allows us to ensure that when the dummy driver resolution is changed via RandR, the "physical" screen dimensions is resized accordingly so that the DPI remains constant. It fixes applications that ignore "Xft.dpi" and calculate their o

Re: [ANNOUNCE] fontsproto 2.1.3

2014-04-15 Thread Thomas Klausner
On Mon, Apr 14, 2014 at 07:43:06PM +0200, Julien Cristau wrote: > This release features a number of spec formatting improvements, and some > header adjustments for current xserver. This release breaks libXfont-1.4.7, the current libXfont release, for me. I see: --- patcache.lo --- patcache.c:130:

libxt gui

2014-04-15 Thread Jens Harms
Hi all, i would like to introduce a gui toolkit based on libxt. it has a label widget (AA text), a icon widget (image with transparency) and filled circle (cairo drawing, AA) widget. it supports separation between gui and program code (wcl). it enables you to write your own widgets (wbuild) with au

Re: [PATCH] load_cursor_argb is supposed to return a Bool, not void

2014-04-15 Thread Michael Thayer
On 14/04/14 21:35, Keith Packard wrote: Julien Cristau writes: Only since http://cgit.freedesktop.org/xorg/xserver/commit/?id=901fbfbbbd71c0d82080957f8ba09eebbc786f2b Which could probably have used a different name to avoid silent breakage. Yeah, that probably would have been a better chang