gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] [PATCH] Call XInitThreads() in GtkGui::init() for the pl


From: Bastiaan Jacques
Subject: Re: [Gnash-dev] [PATCH] Call XInitThreads() in GtkGui::init() for the plug-in
Date: Sun, 18 Oct 2009 07:42:06 -0700 (PDT)
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

I gave this patch a spin and it turned out to segfault on my machine.
According to GTK docs, thread initialization should be done before
gtk_init(), so that may point to the cause.

Bastiaan

On Fri, 2 Oct 2009, Bastiaan Jacques wrote:


On Fri, 2 Oct 2009, Gwenole Beauchesne wrote:

This patch initializes X threading support. I noticed Xv was using XLockDisplay() and XUnlockDisplay() but it never initialized them.

I suspect those calls to X{,Un}LockDisplay() are not actually needed
since there's a simply XSync in the Xv code anyway.

Besides, I also got problems with the OGL renderer and the plug-ins.

So this means there is threaded access to the graphics hardware inside
the OpenGL renderer? Presumably this is in the "bitmap_info" system.
Ideally I think the renderer should not be multithreaded at all, but we
are probably stuck with it for now. Let's get this patch checked in.

Bastiaan



_______________________________________________
Gnash-dev mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/gnash-dev





reply via email to

[Prev in Thread] Current Thread [Next in Thread]