Re: EGL Wayland platform specifications and conformance (Re: How to create client in child thread, egl behavior)

2016-06-27 Thread Eugen Friedrich
2016-06-27 10:39 GMT+02:00 Pekka Paalanen : > On Sat, 25 Jun 2016 21:20:59 +0200 > Eugen Friedrich wrote: > >> Von: "Eugen Friedrich" >> Datum: 24.06.2016 10:59 nachm. >> Betreff: Re: How to create client in child thread >> An: "Pekka Paalanen&

EGL Wayland platform specifications and conformance (Re: How to create client in child thread, egl behavior)

2016-06-27 Thread Pekka Paalanen
On Sat, 25 Jun 2016 21:20:59 +0200 Eugen Friedrich wrote: > Von: "Eugen Friedrich" > Datum: 24.06.2016 10:59 nachm. > Betreff: Re: How to create client in child thread > An: "Pekka Paalanen" > Cc: > > Hello Pekka, > you mentions some intere

Re:Re: How to create client in child thread

2016-06-26 Thread 袁嘉伟
Thank you very much for your help. I added a while loop at the end of the main() to fix the problem. 在 2016-06-24 16:45:39,"Pekka Paalanen" 写道: >On Fri, 24 Jun 2016 11:15:32 +0800 (CST) >袁嘉伟 wrote: > >> 在 2016-06-23 21:13:28,"Pekka Paalanen" 写道: > >> >Hi, >> > >> >sorry, but I can't make sen

Re: How to create client in child thread, egl behavior

2016-06-25 Thread Eugen Friedrich
Von: "Eugen Friedrich" Datum: 24.06.2016 10:59 nachm. Betreff: Re: How to create client in child thread An: "Pekka Paalanen" Cc: Hello Pekka, you mentions some interesting points for me in this email not really related to the original topic, therefore I'm just jumpin

Re: How to create client in child thread

2016-06-24 Thread Pekka Paalanen
On Fri, 24 Jun 2016 11:15:32 +0800 (CST) 袁嘉伟 wrote: > 在 2016-06-23 21:13:28,"Pekka Paalanen" 写道: > >Hi, > > > >sorry, but I can't make sense from the spaghetti above, nor do I have > >time to debug your application for you, especially when it has huge > >parts outside of my expertise (everythin

Re:Re: How to create client in child thread

2016-06-23 Thread 袁嘉伟
在 2016-06-23 21:13:28,"Pekka Paalanen" 写道: >On Thu, 23 Jun 2016 14:52:23 +0800 (CST) >袁嘉伟 wrote: > >> Hi Pekka: >> >> Sorry to take you some time. It's still this issue. >> I made a test that using 'pthread' to created another thread, and then >> created the display in the child thread. >> But

Re: How to create client in child thread

2016-06-23 Thread Pekka Paalanen
On Thu, 23 Jun 2016 14:52:23 +0800 (CST) 袁嘉伟 wrote: > Hi Pekka: > > Sorry to take you some time. It's still this issue. > I made a test that using 'pthread' to created another thread, and then > created the display in the child thread. > But program was blocked when connecting to a server(wl_di

Re:Re: How to create client in child thread

2016-06-22 Thread 袁嘉伟
Hi Pekka: Sorry to take you some time. It's still this issue. I made a test that using 'pthread' to created another thread, and then created the display in the child thread. But program was blocked when connecting to a server(wl_display_connect). It should be pending according to log. However, I

Re: How to create client in child thread

2016-06-16 Thread Pekka Paalanen
On Thu, 16 Jun 2016 09:54:54 +0800 (CST) 袁嘉伟 wrote: > Yes, I want to achieve that drawing the client from a thread but not > the main thread. Before I have tested that creating display and > drawing surface from main thread, and I try to call the > functions(xdg_surface_) of wayland to contro

Re:Re: How to create client in child thread

2016-06-15 Thread 袁嘉伟
Yes, I want to achieve that drawing the client from a thread but not the main thread. Before I have tested that creating display and drawing surface from main thread, and I try to call the functions(xdg_surface_) of wayland to control the client from child thread, but failed. The reason is

Re: How to create client in child thread

2016-06-15 Thread Benoit Gschwind
Hello, The reply from Pekka is about compositor using a client to make the rendering, but I not sure this is what you asking for. Are you talking about building a compositor ? It look like you are making a wayland client that try to delegate the drawing to a thread. Is it what you want to do ? B

Re: How to create client in child thread

2016-06-15 Thread Pekka Paalanen
On Wed, 15 Jun 2016 12:34:06 +0800 (CST) 袁嘉伟 wrote: > Hi, All:I try to create the client and draw it in child > thread failed. If calling functions from child thread, it will block. > So I want to know whether wayland(v1.9) supports to create and redraw > the client in child thread. Perha

How to create client in child thread

2016-06-14 Thread 袁嘉伟
Hi, All:I try to create the client and draw it in child thread failed. If calling functions from child thread, it will block. So I want to know whether wayland(v1.9) supports to create and redraw the client in child thread. Perhaps anyone could tell me how to create a client in child thr