Re: swc: A small compositor framework

2014-01-24 Thread Marc Chalain
Hello Michael, I'm interesting by your library. I began a wayland compositor for very light devices with little processor like ARM9 and without GPU. I will read your code with interest and look if I can use your library. If I can help you, I will contact to you in few weeks. Regards, Marc. 2014/

Re: [PATCH] version.h: Add version check macro

2013-10-02 Thread Marc Chalain
Hello, I agree with you Bill Otherwise it's impossible to update plugins when the API will change. Marc. 2013/9/30 Bill Spitzak > On 09/29/2013 02:56 PM, Kristian Høgsberg wrote: > > No, we don't guarantee plugin API compatiblity from 1.2 to 1.3. We >> may remove functions, structure fields,

Re: [PATCH] version.h: Add version check macro

2013-09-24 Thread Marc Chalain
But the WESTON_VERSION_AT_LEAST macro is wrong. You can check only the minor and not the rest of the version. 2013/9/23 Kristian Høgsberg > On Mon, Sep 23, 2013 at 10:39:08AM -0700, Kristian Høgsberg wrote: > > On Mon, Sep 23, 2013 at 07:26:03AM +0200, Pier Luigi Fiorini wrote: > > > Make it ea

cross compile wayland

2013-09-23 Thread Marc Chalain
In cross compile, the "host" running the libraries, is different to the "build" machine running the compiler. In this case wayland-scanner is a part of the "build" tools and not a part of the "host" tools. Autotool and "configure" provide the "--host", "--target" and "--build" options. When the val

[PATCH 0/5] build: cross compile wayland

2013-09-23 Thread Marc Chalain
In cross compile, the "host" running the libraries, is different to the "build" machine running the compiler. In this case wayland-scanner is a part of the "build" tools and not a part of the "host" tools. Autotool and "configure" provide the "--host", "--target" and "--build" options. When the val

Re: [PATCH] version.h: Add version check macro

2013-09-23 Thread Marc Chalain
sure this comment is wrong prefer +Can be used like #if (WESTON_VERSION_AT_LEAST(1, 2, 0)) And in this case you can not build the feature for weston 1.3.0 while you want to a version up of 1.3.0 I think you have to change completly your macro. Look at your WESTON_VERSION macro this one can he

Re: [PATCH] client: Add a way to get a pointer to the display's default queue

2013-09-10 Thread Marc Chalain
Hello, I wonder if there isn't a problem when some client application uses this function from a child thread. If I remember, only the main thread must use the main queue. If you give an API to use it, developers will want to use it, and may not understand the usage. I read your patch about EGL_WL_c

Re: [PATCH 5/5] build: use EXEEXT_FOR_BUILD instead EXEEXT for wayland-scanner

2013-09-05 Thread Marc Chalain
Yes and no, The first one is useful if you stop the patch before the last one. But OK to suppress the first one. Regards, Marc. 2013/9/5 Stefan Schmidt > Hello. > > > On 09/05/2013 11:15 AM, marc.chal...@gmail.com wrote: > >> From: mchalain >> >> AX_CC_FOR_BUILD set the EXEEXT_FOR_BUILD variab

Re: [PATCH] build: Add Android.mk script to build wayland libraries as external library of Android

2013-07-15 Thread Marc Chalain
. Inside the window, Android Plasma uses JellyBean framework (bionic, surfaceflinger, ...). SurfaceFlinger is a client of wayland. Regards, Marc Chalain. 2013/7/15 mchalain [marc.chal...@gmail.com] > From: mchalain > > The Wayland directory has to be inside "external" directory of A

Re: [PATCH] build: disabling the mtdev library support

2013-06-25 Thread Marc Chalain
2013/6/25 > On 25/06/2013 17:28, mchalain [marc.chal...@gmail.com] wrote: > >> From: mchalain >> > >AC_CHECK_LIB([jpeg], [jpeg_CreateDecompress], have_jpeglib=yes) >> if test x$have_jpeglib = xyes; then >> JPEG_LIBS="-ljpeg" >> @@ -259,8 +269,8 @@ AS_IF([test "x$enable_resize_optimiza

Re: [PATCH 05/18] fbdev: initialize yoffset of varinfo

2013-06-21 Thread Marc Chalain
2013/6/21 David Herrmann > Hi Marc > > On Fri, Jun 21, 2013 at 2:17 PM, Marc Chalain > wrote: > > > > > > 2013/6/21 David Herrmann > >> > >> Hi > >> > >> On Fri, Jun 21, 2013 at 12:05 PM, Marc Chalain > >&g

Re: [PATCH 05/18] fbdev: initialize yoffset of varinfo

2013-06-21 Thread Marc Chalain
2013/6/21 David Herrmann > Hi > > On Fri, Jun 21, 2013 at 12:05 PM, Marc Chalain > wrote: > > > > > > 2013/6/21 David Herrmann > >> > >> Hi > >> > >> On Fri, Jun 21, 2013 at 11:43 AM, Marc Chalain > >> wrote: > &

Re: [PATCH 03/18] evdev: automatic configuration of mtdev library support

2013-06-21 Thread Marc Chalain
2013/6/21 > On 21/06/2013 11:52, Marc Chalain wrote: > >> 2013/6/21 >> >> > >> >> On 21/06/2013 10:39, mchalain [marc.chal...@gmail.com] wrote: >>> >>> From: mchalain >>>> >>>>it allows the --disable-mtdev

Re: [PATCH 05/18] fbdev: initialize yoffset of varinfo

2013-06-21 Thread Marc Chalain
2013/6/21 David Herrmann > Hi > > On Fri, Jun 21, 2013 at 11:43 AM, Marc Chalain > wrote: > > > > 2013/6/21 David Herrmann > >> > >> Hi > >> > >> On Fri, Jun 21, 2013 at 10:49 AM, mchalain [marc.chal...@gmail.com] >

Re: [PATCH 03/18] evdev: automatic configuration of mtdev library support

2013-06-21 Thread Marc Chalain
2013/6/21 > On 21/06/2013 10:39, mchalain [marc.chal...@gmail.com] wrote: > >> From: mchalain >> >> it allows the --disable-mtdev option at configuration. >> evdev.c creates empty macros for mtdev functions not availlables >> >> --- >> weston/configure.ac | 17 ++--- >> west

Re: [PATCH 05/18] fbdev: initialize yoffset of varinfo

2013-06-21 Thread Marc Chalain
2013/6/21 David Herrmann > Hi > > On Fri, Jun 21, 2013 at 10:49 AM, mchalain [marc.chal...@gmail.com] > wrote: > > From: mchalain > > > > it initializes varinfo.yoffset. varinfo.yoffset has to > > point on the beginning of the video memory. > > The card uses this value to push on the screen

Re: weston and hardware keyboard

2013-06-19 Thread Marc Chalain
n. Best regards, Marc. 2013/6/18 Kristian Høgsberg > On Tue, Jun 18, 2013 at 4:15 AM, Marc Chalain > wrote: > > Hello, > > linux/input.h gives numbers of key definitions. The keymap is only useful > > for PC keyboard when only the layout change from one country to an

Re: weston and hardware keyboard

2013-06-18 Thread Marc Chalain
gards, Marc. 2013/6/18 Michael Hasselmann > On Mon, 2013-06-17 at 18:08 +0200, Marc Chalain wrote: > > Hello, > > > > My first observation is we need a PC keyboard support at the end > > ( often a virtual keyboard). > > There's an input method procotol that

weston and hardware keyboard

2013-06-17 Thread Marc Chalain
Hello, I already wrote an email on this mailing list about the use of xkbcommon for embedded solution. I had the same problem as Robert, and I disabled the check of the keymap. The problem is that we have number of keyboards as input device, on the same platform, and it's not possible to define a

Re: [fbdev_backend]: support of DIRECTCOLOR Frame buffer

2013-06-12 Thread Marc Chalain
card which runs with A8R8G8B8 pixel format in lot of cases. 2013/6/11 Pekka Paalanen > On Tue, 11 Jun 2013 16:31:17 +0200 > Marc Chalain wrote: > > > Theoretically you have right. > > But the pixel formats are defined to contains the same amounts of values > > for e

Re: [compositor] idle-time configuration inside weston.ini

2013-06-11 Thread Marc Chalain
.fi .RE -.RS .PP +.TP 7 +.BI "idle-time=" value +sets time before to fall in idle as --idle-time argument (integer). .SH "SHELL SECTION" The -- 1.7.9.5 2013/6/11 Pekka Paalanen > On Tue, 11 Jun 2013 14:43:46 +0200 > Marc Chalain wrote: > > > You

Re: [fbdev_backend]: support of DIRECTCOLOR Frame buffer

2013-06-11 Thread Marc Chalain
upported format.\n"); return -1; -- 1.7.9.5 2013/6/11 Pekka Paalanen > On Tue, 11 Jun 2013 15:15:29 +0200 > Marc Chalain wrote: > > > Hello, > > OK this patch now checks FB_VISUAL_DIRECTCOLOR twice but set the cmap > > inside the fbdev_query_screen_inf

Re: [PATCH]: mtdev could be disabled at configuration

2013-06-11 Thread Marc Chalain
; #include "evdev.h" @@ -565,7 +573,6 @@ evdev_device_create(struct weston_seat *seat, const char *path, int device_fd) if (device->dispatch == NULL) goto err1; - if (device->is_mt) { device->mtdev = mtdev_new_open(device->fd); if (!device->mtdev

Re: [fbdev_backend]: support of DIRECTCOLOR Frame buffer

2013-06-11 Thread Marc Chalain
set_cmap(fd, &varinfo); + if (info->pixel_format == 0) { weston_log("Frame buffer uses an unsupported format.\n"); return -1; -- 1.7.9.5 2013/6/10 Pekka Paalanen > On Fri, 7 Jun 2013 17:13:59 +0200 > Marc Chalain wrote: > > > From e30486e028

Re: [compositor] idle-time configuration inside weston.ini

2013-06-11 Thread Marc Chalain
&modules, "desktop-shell.so"); +weston_config_section_get_int(section, "idle-time", + &idle_time, idle_time); backend_init = load_module(backend, "backend_init"); if (!backend_init) -- 1.7.9.5 2013/6/10 Pekka Paalanen > O

Re: [PATCH]: mtdev could be disabled at configuration

2013-06-11 Thread Marc Chalain
t;> > Benjamin Tissoires wrote: > >> > > >> >> On Mon, Jun 10, 2013 at 8:42 AM, Pekka Paalanen > wrote: > >> >> > On Fri, 7 Jun 2013 12:11:14 +0200 > >> >> > Marc Chalain wrote: > >> >> > > >> >&

Re: [fbdev_backend] initialization of the first frame buffer

2013-06-11 Thread Marc Chalain
creen_info(struct fbdev_output *output, int fd, varinfo.blue.length = 8; varinfo.blue.msb_right = 0; +varinfo.yoffset = 0; /* Set the device's screen information. */ if (ioctl(fd, FBIOPUT_VSCREENINFO, &varinfo) < 0) { return -1; -- 1.7.9.5 2013/6/10 Marc

Re: [ISSUE] shadow buffer not copied inside the frame buffer

2013-06-11 Thread Marc Chalain
desktop-shell.so, it seems to work. One day and an half loose. Marc. 2013/6/11 Marc Chalain > Hi, > Since Monday, my screen is black. I make test and when I write some colors > directly inside the frame buffer, they appear. > To be clearer I added inside fbdev_ou

[ISSUE] shadow buffer not copied inside the frame buffer

2013-06-11 Thread Marc Chalain
Hi, Since Monday, my screen is black. I make test and when I write some colors directly inside the frame buffer, they appear. To be clearer I added inside fbdev_output_repaint { unsigned short color=0xA55A; int i; for (i = 0; i < output->fb_info.buffer_length / 2; i+=2)

Re: [PATCH]: mtdev could be disabled at configuration

2013-06-10 Thread Marc Chalain
Linux kernel uses a lot of function pointers. And I'm looking this solution. 2013/6/10 Pekka Paalanen > On Mon, 10 Jun 2013 09:47:32 +0200 > Marc Chalain wrote: > > > Hi Pekka, > > I agree with --disable-multitouch. > > For the comparison between the use of if

Re: [fbdev_backend] initialization of the first frame buffer

2013-06-10 Thread Marc Chalain
uffering but in few days. Marc. PS: I have to support SurfaceFlinger (Android) as wayland client. It's the reason of my work. But I can stay a long time on my weston patches... 2013/6/10 Pekka Paalanen > On Fri, 7 Jun 2013 17:20:23 +0200 > Marc

Re: [PATCH]: mtdev could be disabled at configuration

2013-06-10 Thread Marc Chalain
every body... Marc. 2013/6/10 Pekka Paalanen > On Fri, 7 Jun 2013 12:11:14 +0200 > Marc Chalain wrote: > > > mtdev is not necessary on some device (desktop or set-top-box). For > > embedded solution the minimum of dependencies is required. "configure" > > accep

Re: [evdev] device not configured are unhandled instead back in error

2013-06-07 Thread Marc Chalain
eypad (some time it's just gpio management). Nothing looks like an pc keyboard. I will look for another solution next week. 2013/6/7 Daniel Stone > Hi, > > On 7 June 2013 11:16, Marc Chalain wrote: > > I tried and at now, it seems to add a lot of complexity. > > I sol

Re: [fbdev_backend] initialization of the first frame buffer

2013-06-07 Thread Marc Chalain
output *output, int fd, varinfo.blue.length = 8; varinfo.blue.msb_right = 0; +varinfo.yoffset = 0; /* Set the device's screen information. */ if (ioctl(fd, FBIOPUT_VSCREENINFO, &varinfo) < 0) { return -1; -- 1.7.9.5 2013/6/7 Marc Chalain > Of

Re: [evdev] device not configured are unhandled instead back in error

2013-06-07 Thread Marc Chalain
I tried and at now, it seems to add a lot of complexity. I solution is to read the weston.ini file inside input.c... but is it regular ? 2013/6/7 Daniel Stone > Hi, > > On 7 June 2013 06:33, Marc Chalain wrote: > > A input device could not be not configurated. That should

Re: [fbdev_backend]: support of DIRECTCOLOR Frame buffer

2013-06-07 Thread Marc Chalain
weston_log("Frame buffer uses an unsupported format.\n"); return -1; -- 1.7.9.5 2013/6/7 Pekka Paalanen > On Fri, 7 Jun 2013 16:03:18 +0200 > Marc Chalain wrote: > > > > You should execute the ioctl in fbdev_set_screen_info. > > fbdev_set_screen_in

Re: [fbdev_backend]: support of DIRECTCOLOR Frame buffer

2013-06-07 Thread Marc Chalain
e codepath which results in cmap.transp being not set in the > test for it. > > You don't initialize cmap.red so the test for it gives an undefined result. > > Don't define macros in the middle of code with a literal that's only used > once. > > On Fri, Jun 7,

[compositor] idle-time configuration inside weston.ini

2013-06-07 Thread Marc Chalain
this patch use the "idle-time" entry inside the "core" section of weston.ini to set the named value. weston-compositor-idle-time-configuration.patch Description: Binary data ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists

[evdev] device not configured are unhandled instead back in error

2013-06-07 Thread Marc Chalain
A input device could not be not configurated. That should not be an error and just an unhandled device. On embedded configuration there is different input devices which are not used. weston-evdev-unconfigure-device-unhandled.patch Description: Binary data _

[fbdev_backend] initialization of the first frame buffer

2013-06-07 Thread Marc Chalain
Often the frame buffer device allows the double buffering, In this case the displayed buffer could not be initialized. This is done by yoffset of the varinfo. weston-fbdev-first-buffer-init.patch Description: Binary data ___ wayland-devel mailing list w

[fbdev_backend]: support of DIRECTCOLOR Frame buffer

2013-06-07 Thread Marc Chalain
this patch allow to use direct color and set the colors map with default value. weston-fbdev-directcolor.patch Description: Binary data ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayl

[PATCH]: mtdev could be disabled at configuration

2013-06-07 Thread Marc Chalain
mtdev is not necessary on some device (desktop or set-top-box). For embedded solution the minimum of dependencies is required. "configure" accepts the --disable-mtdev option. weston-mtdev-disabled.patch Description: Binary data ___ wayland-devel mailing

new contribution

2013-06-07 Thread Marc Chalain
figuration with weston.ini file as argument. I will send my patches on the mailling list as soon as possible (in few hours). Thank you Marc Chalain. ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailma