RE: Performance hit on the first frame ?

New Message Reply Date view Thread view Subject view Author view

Dick Rous (Dick++at++demeern.sgi.com)
Wed, 1 Sep 1999 00:37:26 +0200


The first time you call pfDraw, the pipe (the actual OpenGL context)
is created, so it takes a bit longer than the subsequent frames.

Cheers,

__________________________________________________________________
Dick Rous Senior Systems Engineer Graphics Technology
email: dick++at++sgi.com European Technical Support
phone: +31-30-6696868 fax: +31-35-6423162 VNET: 955-6868
__________________________________________________________________

-----Original Message-----
From: Isabelle Lafon [mailto:isabelle++at++discreet.com]
Sent: 31 August 1999 17:46
To: info-performer++at++sgi.com
Subject: Performance hit on the first frame ?

Hi,

pfDraw() call take around 17.06ms to draw a scene the first time.
At following frames it takes only 0.85 ms.

This is not specific to a particular scene, I obtain big timing
differences between the first and following frames for all scenes I
load. Scenes are not modified between frames.

This is not specific to a plateform, I have the same behavior on Onyx2
and Octane, even though the timing difference is less important on Onyx2
than
Octane. This is, also, not specific to the multiprocess configuration;
there
is timing differences in ACD, AC_D and A_C_D

I have checked execution times of all my preDraw, draw and
postDraw callbacks and they don't change from one frame to another.

Does anybody know if performer does some specific and costly work the
first time a scene is drawn (such as scene tree optimization or stuff
like
that)?

Any informations will be very appreciate.
Thanks in advance.

Isabelle.

-- 
Isabelle Lafon                 Discreet Logic
Tel: (514) 954-7157            10 Duke
Fax: (514) 393-0110            Montreal (Quebec)
isabelle++at++discreet.com          Canada, H3C 2L7
-----------------------------------------------------------------------
List Archives, FAQ, FTP:  http://www.sgi.com/software/performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Aug 31 1999 - 15:37:52 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.