Re: [PATCH weston 2/4] gles2: update texture only if needed

2012-11-08 Thread Samuel Rødal
On 11/07/2012 03:19 PM, Pekka Paalanen wrote: On Wed, 7 Nov 2012 13:27:50 + Sundararaj Prabhu-B36876 wrote: Wondering whether the extension EGL_KHR_image_pixmap can be used instead of glTex(Sub)Image2D. This would reduce much of the CPU copying. Do you see any problems? Hi, do you mean

Re: Drawing CSD on EGL apps

2012-11-05 Thread Samuel Rødal
On Mon, Nov 5, 2012 at 9:31 PM, Bill Spitzak wrote: > I replied privately to this but here is a more concise reply. > > Samuel Rødal wrote: > >> In OpenGL ES 2.0 and modern desktop OpenGL there is no concept of a >> projection matrix state... > > > I am awa

Re: Drawing CSD on EGL apps

2012-11-04 Thread Samuel Rødal
On Sun, Nov 4, 2012 at 10:24 PM, Bill Spitzak wrote: > I think this problem needs to be solved for putting scrollbars and docked > panels and all kinds of other graphics around the OpenGL viewport. > Special-casing window borders is not the solution. > > It is true that the solution I have seen on

Re: eglCreatePbufferSurface isn't supported in Mesa for Wayland

2012-04-11 Thread Samuel Rødal
On 04/11/2012 10:21 AM, ext yan.w...@linux.intel.com wrote: > Hi, > I found eglCreatePbufferSurface API isn't supported in Mesa for Wayland. > Will it be implemented in the future? Or should I use > eglCreatePixmapSurface instead of it? > Thanks. > > Yan Wang Maybe you can use surfaceless EGL

Add wl_client_add_destroy_listener api in wayland-server.h

2012-03-29 Thread Samuel Rødal
This is useful when wanting to associate some meta-data with a wl_client, or when simply wanting to be notified when a client is destroyed. --- src/wayland-server.c | 30 ++ src/wayland-server.h |6 ++ 2 files changed, 36 insertions(+), 0 deletions(-) diff

Re: [PATCH] Allow update function to not be set in wl_display_get_fd

2012-02-27 Thread Samuel Rødal
Ignore previous patch, here's the correct version. >From 4e1bedaaf05b576f5191f8fe3a34904ab9707414 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Mon, 27 Feb 2012 15:17:20 +0100 Subject: [PATCH] Allow update function to not be set in wl_display_get_fd The same check is done

[RFC] [PATCH] Renamed client side wl_display_destroy() to wl_display_disconnect()

2012-02-27 Thread Samuel Rødal
The only problem I see with this is that the "disconnect" naming can be confusing as the wl_display handle is actually freed as well. >From 78588a8c322b9304aea658ea96673cac9cc52a68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Mon, 27 Feb 2012 17:03:42 +0100 Subject: [PATCH

[PATCH] Allow update function to not be set in wl_display_get_fd

2012-02-27 Thread Samuel Rødal
>From 67fee047c0c058da717797de20c5778fa8b29dcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Mon, 27 Feb 2012 15:17:20 +0100 Subject: [PATCH] Allow update function to not be set in wl_display_get_fd The same check is done in connection_update, and now with wl_display_flush

Re: Color management in Wayland

2011-10-12 Thread Samuel Rødal
On 10/08/2011 03:40 PM, ext Zoxc wrote: Personally I believe frames to be imperfect if they have the wrong colors, so I have a few questions and statements about color management. I do agree that knowing what colors a buffer represents is be pretty essential. I'll try to answer based on my "co

[PATCH] Prevented buffer overflow in sprintf

2011-07-19 Thread Samuel Rødal
>From 53c0369a9346db5e47dd95f1fae57acaf1ce5080 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Tue, 19 Jul 2011 17:38:28 +0200 Subject: [PATCH] Prevent buffer overflow in sprintf --- wayland/connection.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --gi

Re: building wayland without X

2011-05-31 Thread Samuel Rødal
On 05/21/2011 06:51 AM, ext Karshan Sharma wrote: So, has anyone worked out a patch to be able to build mesa without x ? ... I was gonna start on that but didnt want to reinvent the wheel. This seems to work: export CFLAGS=-DMESA_EGL_NO_X11_HEADERS ./autogen.sh --prefix=$WLD --enable-gles2 --

Subject: [PATCH] Fall back to accept() on systems where accept4() is not implemented.

2011-05-31 Thread Samuel Rødal
>From 1ee0fe1e9c30890a2c2e8b997295f74754e63a2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Mon, 30 May 2011 17:23:40 +0200 Subject: [PATCH] Fall back to accept() on systems where accept4() is not implemented. --- wayland/wayland-server.c |8 +++- 1 files changed

Re: Wayland hot-replace server?

2011-03-14 Thread Samuel Rødal
On 03/09/2011 08:48 PM, ext Bill Spitzak wrote: Samuel Rødal wrote: On 03/06/2011 08:41 PM, ext Bill Spitzak wrote: I think the original poster's idea is exactly what is needed: I the compositor crashes or exits, the clients will detect this. It is then the client's job to

Re: Wayland hot-replace server?

2011-03-09 Thread Samuel Rødal
On 03/06/2011 08:41 PM, ext Bill Spitzak wrote: I think the original poster's idea is exactly what is needed: I the compositor crashes or exits, the clients will detect this. It is then the client's job to find a new compositor and recreate their state on the new one. Most toolkits store quite e