realbasic-nug
[Top] [All Lists]

Re: Picture blending speeds

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Picture blending speeds
From: Dave Robertson <dave at cs dot otago dot ac dot nz>
Date: Tue, 18 May 2004 16:38:51 +1200
Delivered-to: realbasic-nug at lists dot realsoftware dot com
List-help: <mailto:realbasic-nug-request@lists.realsoftware.com?subject=help>
List-id: REALbasic NUG <realbasic-nug.lists.realsoftware.com>
List-post: <mailto:realbasic-nug@lists.realsoftware.com>
Here are some further results now using Einhugur's much faster PictureEffects 3.2 and including an attempt to do the same blend using graphics hardware via OpenGL using SuperSpriteSurface.

Once again the test was to draw a 1024 x 527 picture onto another picture of the same size, with 50% transparency. The times are typical times over several trials. The times are measured using the Microseconds function.

Note: I've tried to level the playing field by using a 1GHz Mac - we used a 466MHz machine in the original test

(hint: use a monospaced font to see the table)

                                    OSX 10.3.3      Win XP         Linux
1GHz iMac 1GHz PIII 2.4GHz P4

DrawPicture 348 mSec 150 mSec 10 mSec
DrawPicture useOldRenderer=True      88 mSec        n/a
Einhugur PictureEffects 3.2 Blend 28 mSec 280 mSec 10 mSec
Component X Graphics Composite       28 msec        270 mSec
Micono RGBSurface 1.6.0             191 mSec        900 msec


SuperSpriteSurface:
     (1Ghz iMac, Geforce 4MX)        79 mSec
     (1GHz eMac, ATI Radeon 7500)    48 mSec

The Linux results are suspect - the Microseconds function seems to have a resolution of only 10 milliseconds and the times reported over numerous trials had a wide variation.

If anyone would like copy of the test project please drop me an email.
And, sadly, I've not received any remuneration from Brad, Bjorn, or ATI. :)


Links:
http://www.einhugur.com
http://www.componentx.com
http://micono.hp.infoseek.co.jp/rb/
http://www.tinrocket.com/content/superspritesurface/

Dave Robertson

_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>