Re: [PATCH] Fixed simple-egl tear-down order to prevent a crash on exit time.

2013-05-01 Thread Kristian Høgsberg
On Fri, Apr 19, 2013 at 05:49:12PM +, Yeh, Sinclair wrote: > wl_egl_window_destory() distroys the window handle that > dri2_destroy_surface() later uses when eglTerminate() is called. > > Reordering the tear down order prevents such case from occuring. That's a good fix, thanks. Committed.

Re: [PATCH] Fixed simple-egl tear-down order to prevent a crash on exit time.

2013-04-30 Thread Pekka Paalanen
On Mon, 29 Apr 2013 17:10:25 -0700 Sinclair Yeh wrote: > On Mon, Apr 22, 2013 at 12:48:43PM +0300, Pekka Paalanen wrote: > > On Fri, 19 Apr 2013 17:49:12 + > > "Yeh, Sinclair" wrote: > > > > > wl_egl_window_destory() distroys the window handle that > > > dri2_destroy_surface() later uses wh

Re: [PATCH] Fixed simple-egl tear-down order to prevent a crash on exit time.

2013-04-29 Thread Sinclair Yeh
On Mon, Apr 22, 2013 at 12:48:43PM +0300, Pekka Paalanen wrote: > On Fri, 19 Apr 2013 17:49:12 + > "Yeh, Sinclair" wrote: > > > wl_egl_window_destory() distroys the window handle that > > dri2_destroy_surface() later uses when eglTerminate() is called. > > > > Reordering the tear down order

Re: [PATCH] Fixed simple-egl tear-down order to prevent a crash on exit time.

2013-04-22 Thread Pekka Paalanen
On Fri, 19 Apr 2013 17:49:12 + "Yeh, Sinclair" wrote: > wl_egl_window_destory() distroys the window handle that > dri2_destroy_surface() later uses when eglTerminate() is called. > > Reordering the tear down order prevents such case from occuring. > --- > clients/simple-egl.c | 11 ++-

[PATCH] Fixed simple-egl tear-down order to prevent a crash on exit time.

2013-04-19 Thread Yeh, Sinclair
wl_egl_window_destory() distroys the window handle that dri2_destroy_surface() later uses when eglTerminate() is called. Reordering the tear down order prevents such case from occuring. --- clients/simple-egl.c | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/cli