Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] Re: RE: Re: RE: Re: Speed problem and event handling


Chronological Thread 
  • From: "James Bigler" < >
  • To:
  • Subject: [Manta] Re: RE: Re: RE: Re: Speed problem and event handling
  • Date: Thu, 2 Oct 2008 16:11:57 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=kTDchShwB9xSr2JVdM1mjGBKiWt3oLahdSiIrJbXpZSP6jNyXZpMu7igeNHC57bG49 w2trwfSf5H0xSM/6CRjuQyY9ddbVz9OVIwPA2WI4zcSyU3l4ulS3igH2U2v5TAMFr9vA EOTydIVEnXgxbp+GlvQOwKRhbcy8up4w66NRk=

Please note that callback functions that go back to python must lock
the python GIL effectively creating a bottleneck if there are many
such python callbacks.

Also, the current implementation signals the GUI when there is an
image ready to display.  This causes a refresh call that in turns
grabs the pixel data, displays it, then releases the engine to
continue.  Without a profiler, I couldn't tell you exactly where the
bottlenecks are, but I hope this helps.

James



Archive powered by MHonArc 2.6.16.

Top of page