Re: [Spice-devel] [PATCH xf86-video-qxl] Adjust xspice_wakeup_handler() prototype for building xspice with server 1.19

2016-10-03 Thread Christophe Fergeau
On Thu, Sep 29, 2016 at 01:03:01PM +0200, Hans de Goede wrote: > Signed-off-by: Hans de Goede > --- > src/spiceqxl_main_loop.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/src/spiceqxl_main_loop.c b/src/spiceqxl_main_loop.c > index db89b6d..0ac1f3e 100644

Re: [PATCH xserver 0/3] glamor: Accelerate XY format images

2016-10-03 Thread Eric Anholt
Adam Jackson writes: > On Fri, 2016-09-30 at 22:43 -0700, Keith Packard wrote: > >>    1 2 Operation >>    -   - >>  10900.099900.0 ( 9.165)   PutImage XY 10x10 square 

[PATCH xserver] fb: XYPixmap format PutImage includes all planes in depth

2016-10-03 Thread Keith Packard
Unlike GetImage, for which the provided planemask restricts the data delivered, for PutImage in XYPixmap format, all of the planes in the drawable depth are sent and those outside the plane mask are simply ignored. Signed-off-by: Keith Packard --- fb/fbimage.c | 2 +- 1 file

Re: [PATCH xserver 2/3] glamor: Accelerate up XY pixmap putimage a little

2016-10-03 Thread Keith Packard
Adam Jackson writes: > On Fri, 2016-09-30 at 22:44 -0700, Keith Packard wrote: > >> +/* copy mode for the first plane to clear all of the other bits */ >> +gcv[0].val = GXcopy; >> +gcv[1].val = gc->fgPixel; >> +gcv[2].val = gc->bgPixel; >> +

Re: [PATCH xserver 0/3] glamor: Accelerate XY format images

2016-10-03 Thread Keith Packard
Adam Jackson writes: > On Fri, 2016-09-30 at 22:43 -0700, Keith Packard wrote: > >>    1 2 Operation >>    -   - >>  10900.099900.0 ( 9.165)   PutImage XY 10x10 square 

Re: [PATCH xserver 0/3] glamor: Accelerate XY format images

2016-10-03 Thread Adam Jackson
On Fri, 2016-09-30 at 22:43 -0700, Keith Packard wrote: >    1 2 Operation >    -   - >  10900.099900.0 ( 9.165)   PutImage XY 10x10 square  >   1740.0 2160.0 ( 1.241)   

Re: [PATCH xserver 3/3] glamor: Switch XY bitmap putimage function for small images

2016-10-03 Thread Keith Packard
Eric Anholt writes: > I'd like to see some performance data in the commit messages. With > that, this will all be r-b. Thanks! Sorry, the perf data was just in the 0/3 leading message. I'll move it down into the individual messages. > I'm hoping that once we do VAOs that

Re: [PATCH xserver 2/3] glamor: Accelerate up XY pixmap putimage a little

2016-10-03 Thread Keith Packard
Adam Jackson writes: > On Fri, 2016-09-30 at 22:44 -0700, Keith Packard wrote: > >> +/* copy mode for the first plane to clear all of the other bits */ >> +gcv[0].val = GXcopy; >> +gcv[1].val = gc->fgPixel; >> +gcv[2].val = gc->bgPixel; >> +

Re: [PATCH xserver 2/3] glamor: Accelerate up XY pixmap putimage a little

2016-10-03 Thread Adam Jackson
On Fri, 2016-09-30 at 22:44 -0700, Keith Packard wrote: > +/* copy mode for the first plane to clear all of the other bits */ > +gcv[0].val = GXcopy; > +gcv[1].val = gc->fgPixel; > +gcv[2].val = gc->bgPixel; > +ChangeGC(NullClient, temp_gc,

Re: [PATCH xserver 3/3] glamor: Switch XY bitmap putimage function for small images

2016-10-03 Thread Eric Anholt
Keith Packard writes: > Use the glamor_put_image_xy_gl for small images as that is quite a bit > faster. I'd like to see some performance data in the commit messages. With that, this will all be r-b. Thanks! I'm hoping that once we do VAOs that will greatly improve our

Re: PATCH: Add xorg-xserver 1.19 support to tigervnc

2016-10-03 Thread Eric Engestrom
On Mon, Oct 03, 2016 at 05:59:33PM +0200, Hans de Goede wrote: > Hello tigervnc devs, > > As part of updating Fedora to xserver 1.19 I've written > a tiger vnc patch to make tigervnc work with xserver 1.19. > > Since xserver 1.19 switches from select to poll the changes > are non trivial and

Re: PATCH: Add xorg-xserver 1.19 support to tigervnc

2016-10-03 Thread Keith Packard
Hans de Goede writes: > +void XserverDesktop::handleSocketFd(int fd, int xevents) > +{ > + std::list sockets; > + std::list::iterator i; > + SocketServer *fd_server = NULL; > + bool is_http = false; > + > + server->getSockets(); > + for (i =

PATCH: Add xorg-xserver 1.19 support to tigervnc

2016-10-03 Thread Hans de Goede
Hello tigervnc devs, As part of updating Fedora to xserver 1.19 I've written a tiger vnc patch to make tigervnc work with xserver 1.19. Since xserver 1.19 switches from select to poll the changes are non trivial and require some #ifdef-s. The new code is a lot cleaner then the old code though,