Robin Dunn wrote:
> Nitro wrote:
>> Bitmaps are about 100 times slower  
> 
> There is an optimization coming for bitmaps, although it might not be 
> able to be backported to 2.8... 

Thanks Robin. Do you have any idea what the timescale is for a 2.9 (or 
would it be 2.10?) release? My tendency is to look to the future, but a 
100X slowdown is probably not acceptable, so it comes down to what our 
target version is. If a new version is on the horizon for, say, the end 
of the Sumer, then maybe targeting it is OK -- otherwise, I'd say we 
need to it to work at least reasonably on 2.8.

While I'm at it -- do you think we need to target Python 2.4? or is 2.5 
OK? I'm leaning to 2.5, though I don't know that I've ever used any 
2.5-specific features anyway.

> BTW, there are also wx.GraphicsPen and wx.GraphicsBrush that you can 
> use to save on conversion time from wx.Pen and wx.Brush, it's not as 
> much of a savings but might be worth it.

good to know -- I'm leaning toward committing to GC -- though maybe not 
for bitmaps, so I guess the code will have to be kind of mix and match.

> On wxMac it will not have much difference from wx.DC because on that 
> platform wx.DC is the same as wx.GCDC so it is already using 
> wx.GraphicsContext underneath.  On wxGTK it probably depends somewhat on 
> which version of Cairo is installed.

We'll do a bit more testing and see.

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[EMAIL PROTECTED]
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to