YAMANAKA MASAHIKO (wryml++at++dimwit.dst.nk-exa.co.jp)
Tue, 18 Jun 1996 18:08:15 +0900
I think to use SIRIUS with iR (I don't have it now), and have a question.
The question is...
Should pfLoadTex() (from Video source) be done in the draw process
at multi-process mode? or can it be done in the app process ?
I found /usr/share/Performer/src/pguide/libpr/C/movietex.c which is
C/libpr-program, however, I have to get C++/libpf-program so I ported it
to C++/libpf-program. In my program, updating texture is done in the app-process
because I made a class such like a following,
class TexMovie {
...
build(); // build&setup Texture, Screen Geometry, etc.
update(); // tex->setFrame() or tex->load()
...
};
If tex->load() should be done in the draw-process, texmovie->update() should be
done in the draw-process, and I think TexMovie objects should be created in the shared arena.
(Now, it isn't created in the arena)
tex->setFrame() seems to work fine in the app-process, however, I worry about tex->load().
Does someone have some ideas ?
Thanks,
-- M.Y.
======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer.html Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:01 PDT