Re: [PATCH] Wayland X server uses xwayand.conf instead of xorg.conf

2012-09-05 Thread Pekka Paalanen
On Wed, 05 Sep 2012 12:44:27 -0700 Bill Spitzak wrote: > Are you saying that if I make $PREFIX/etc/X11/xorg.conf.d/foo and put my > config in there, xwayland will read it? And it will then ignore the > xorg.conf? You need to read 'man xorg.conf'. > I still do not see this solving the real pro

RE: [PATCH] compositor: fix overflow issue when calculate msecs of vblank

2012-09-05 Thread Wang, Quanxian
> -Original Message- > From: Kristian Høgsberg [mailto:hoegsb...@gmail.com] > Sent: Thursday, September 06, 2012 10:31 AM > To: Wang, Quanxian > Cc: wayland-devel@lists.freedesktop.org; Guo, Chaohong; Bradford, Robert > Subject: Re: [PATCH] compositor: fix overflow issue when calculate ms

Re: [PATCH] compositor: fix overflow issue when calculate msecs of vblank

2012-09-05 Thread Kristian Høgsberg
On Wed, Sep 5, 2012 at 9:28 PM, Wang, Quanxian wrote: > > >> -Original Message- >> From: Kristian Høgsberg [mailto:hoegsb...@gmail.com] >> Sent: Thursday, September 06, 2012 3:28 AM >> To: Wang, Quanxian >> Cc: wayland-devel@lists.freedesktop.org; Guo, Chaohong; Bradford, Robert >> Subject

RE: [PATCH] compositor: fix overflow issue when calculate msecs of vblank

2012-09-05 Thread Wang, Quanxian
> -Original Message- > From: Kristian Høgsberg [mailto:hoegsb...@gmail.com] > Sent: Thursday, September 06, 2012 3:28 AM > To: Wang, Quanxian > Cc: wayland-devel@lists.freedesktop.org; Guo, Chaohong; Bradford, Robert > Subject: Re: [PATCH] compositor: fix overflow issue when calculate mse

Re: bare bones opengl weston client sample

2012-09-05 Thread Kristian Høgsberg
On Wed, Sep 5, 2012 at 8:11 PM, jegde jedge wrote: > Thanks, > I tried that route. it is a gles2 not gles or opengl example; and that > will not work with the fixed function pipeline functions like > glPushMatrix et.al. Sure, it's a gles2 example, but it shows you how to get a minimal egl/gles2 c

Re: bare bones opengl weston client sample

2012-09-05 Thread jegde jedge
Thanks, I tried that route. it is a gles2 not gles or opengl example; and that will not work with the fixed function pipeline functions like glPushMatrix et.al. I went with the gears example since it binds the OPENGL API but it uses the window/toytoolkit/libshared stuff with cairo and I don't have

Re: [PATCH weston] compositor: automatically set opaque region for color formats

2012-09-05 Thread Bill Spitzak
Daniel Stone wrote: On 5 September 2012 20:49, Bill Spitzak wrote: Doesn't the compositor have access to what type the surfaces are? It can then know the surface is opaque and ignore the opaque region there. Then if the client changes back to a non-opaque surface the opaque region is unchange

Re: bare bones opengl weston client sample

2012-09-05 Thread Kristian Høgsberg
Right under your nose: http://cgit.freedesktop.org/wayland/weston/tree/clients/simple-egl.c Kristian On Wed, Sep 5, 2012 at 4:29 PM, jegde jedge wrote: > Is there a bare bones open gl example that implemnts the bare minimum > needed to get a wayland surface and begin drawing using openGL? > >

bare bones opengl weston client sample

2012-09-05 Thread jegde jedge
Is there a bare bones open gl example that implemnts the bare minimum needed to get a wayland surface and begin drawing using openGL? I'm having a hell of a time porting my GLES1 application to run as a wayland/weston client. This application has run on psp, iPone, glut, and android. Since It i

Re: [PATCH weston] compositor: automatically set opaque region for color formats

2012-09-05 Thread Daniel Stone
On 5 September 2012 20:49, Bill Spitzak wrote: > Doesn't the compositor have access to what type the surfaces are? It can > then know the surface is opaque and ignore the opaque region there. Then if > the client changes back to a non-opaque surface the opaque region is > unchanged and starts bein

Re: [PATCH weston] compositor: automatically set opaque region for color formats

2012-09-05 Thread Bill Spitzak
Doesn't the compositor have access to what type the surfaces are? It can then know the surface is opaque and ignore the opaque region there. Then if the client changes back to a non-opaque surface the opaque region is unchanged and starts being used again. I would expect this to be slightly mo

Re: [PATCH] Wayland X server uses xwayand.conf instead of xorg.conf

2012-09-05 Thread Bill Spitzak
Are you saying that if I make $PREFIX/etc/X11/xorg.conf.d/foo and put my config in there, xwayland will read it? And it will then ignore the xorg.conf? I still do not see this solving the real problem however. The normal Xorg will follow the exact same rules, so if xwayland is compiled withou

Re: [PATCH] compositor: fix overflow issue when calculate msecs of vblank

2012-09-05 Thread Kristian Høgsberg
On Wed, Sep 05, 2012 at 03:35:32AM +, Wang, Quanxian wrote: > From "Quanxian Wang" mailto:quanxian.w...@intel.com>> > > commit f7b156cef1ed8081df6f25cc0e66c8d7fbf414fc > Author: Wang Quanxian > Date: Wed Sep 5 11:30:38 2012 +0800 > > Change int to long to avoid the overflow when calcul

[call for testing] clients: add cliptest program

2012-09-05 Thread Pekka Paalanen
Cliptest is for controlled testing of the calculate_edges() function in compositor.c. The function is copied verbatim into cliptest.c. Signed-off-by: Pekka Paalanen --- clients/Makefile.am |5 + clients/cliptest.c | 819 +++ 2 files changed,

Re: XWayland on i915GM

2012-09-05 Thread Knut Petersen
try to attach gdb on X then: Did that already. #0 0xb5b35521 in xcb_cursor_images_load_cursor (wm=0x83b7030, images=0x0) at window-manager.c:182 #1 0xb5b355d6 in xcb_cursor_library_load_cursor (wm=0x83b7030, file=0xb5b3ea94 "top_side") at window-manager.c:207 #2 0xb5b371ab in weston_wm_c

Re: XWayland on i915GM

2012-09-05 Thread Tiago Vignatti
On 09/04/2012 11:04 PM, Knut Petersen wrote: I don't think the hardware is the problem. You're compiling Xwayland without debugging symbols so it's a bit tricky to tell what's going on, but my guess is that you're facing the same issues other guys had here on the ml; try to check if you're usi