(Fwd) Re: DIVO

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++multipass.engr.sgi.com)
Thu, 28 Aug 1997 20:04:35 -0700


--- Forwarded mail from willmc++at++vmaster (Will McGovern)

Date: Thu, 28 Aug 1997 19:55:15 -0700
From: willmc++at++vmaster (Will McGovern)
To: dorbie (Angus Dorbie)
Subject: Re: DIVO
Cc: vince++at++vmaster

Hi Ran,

I just reproduced the problem you are having... I was also getting
approx 3ms for each dmBufferFree. The cause of this is cache flushing
which occurs if you have DM_CACHEABLE set the DM_TRUE. If you turn
off the cachability of the buffer pool the time drops to ~0.05ms :-)

The code of relevance is :

dmBufferSetPoolDefaults( paramList, num, size, DM_FALSE, DM_TRUE );
                                               ^^^^^^^^
This will solve your problem...

- Will

> Hi,
>
> Has anyone used DIVO on ONYX2 yet ? I've tried reading a video into
> texture using DIVO. The video is read using the DMBuffer mechanism into
> memory, and then glTexSubImage-ed into texture memory. The weird thing
> is that the dmBufferFree() function, which is supposed to just free my
> dmbuffer, is taking 2.5 milisec. This is way too much for swaping
> pointers. Solutions, anyone ?
>
> Thanks
> Ran

--
Will McGovern                       Email willmc++at++sgi.com
Applied Engineering                 Phone +1.415.9337069
Advanced Entertainment Systems      FAX   +1.415.9327069
Silicon Graphics Inc.

"Love your enemies just in case your friends turn out to be a pack of bastards."

---End of forwarded mail from willmc++at++vmaster (Will McGovern) ======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/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 Mon Aug 10 1998 - 17:55:48 PDT

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